OSDN Git Service

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)
commit1f190d9369487c1edfaea4d892231a62ea8206cc
tree1e2dbbb53a543af956f511d587f8d7f0ad6d6c94
parent27826fd5d357d38b5cf834f9adcc70e6c2254d69
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