]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Reprogram port offloads after reset
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 19 Apr 2017 13:25:51 +0000 (09:25 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 30 Apr 2017 11:16:31 +0000 (04:16 -0700)
commitb56753c4c85cde3c496db7951212ee279bbdcf69
tree1e2dbbb53a543af956f511d587f8d7f0ad6d6c94
parentae68f6a63cd0720471db9dc2a0b632b6aba77a9e
i40e: Reprogram port offloads after reset

This patch corrects a major oversight in that we were not reprogramming the
ports after a reset.  As a result we completely lost all of the Rx tunnel
offloads on receive including Rx checksum, RSS on inner headers, and ATR.

The fix for this is pretty standard as all we needed to do is reset the
filter bits to pending for all active filters and schedule the sync event.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c