]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJack Vogel <jack.vogel@oracle.com>
Tue, 10 Oct 2017 21:15:23 +0000 (14:15 -0700)
commit7ee0d4af57fb8db2a3fc3f1900f149b3898f7bd2
tree23bb0693fe8ba3d405d328b70fb18fe9f1c3a6b9
parentd477af4066970f602435b5b8ada73987e1a8b5d3
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>
Orabug: 26785018
(cherry picked from commit 1f190d9369487c1edfaea4d892231a62ea8206cc)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Kyle Fortin <kyle.fortin@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c