> -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-boun...@osuosl.org] On > Behalf Of Michal Miroslaw > Sent: Tuesday, December 4, 2018 9:31 AM > To: netdev@vger.kernel.org; intel-wired-...@lists.osuosl.org > Subject: [Intel-wired-lan] [PATCH v3 1/2] i40e: fix VLAN.TCI == 0 RX HW > offload > > This fixes two bugs in hardware VLAN offload: > 1. VLAN.TCI == 0 was being dropped > 2. there was a race between disabling of VLAN RX feature in hardware > and processing RX queue, where packets processed in this window > could have their VLAN information dropped > > Fix moves the VLAN handling into i40e_process_skb_fields() to save on > duplicated code. i40e_receive_skb() becomes trivial and so is removed. > > Signed-off-by: Michał Mirosław <michal.miros...@atendesoftware.pl> > Signed-off-by: Michał Mirosław <mirq-li...@rere.qmqm.pl> > --- > v3: > * fix whitespace for checkpatch > v2: > * no changes > --- > drivers/net/ethernet/intel/i40e/i40e_txrx.c | 31 +++++-------------- > .../ethernet/intel/i40e/i40e_txrx_common.h | 2 -- > drivers/net/ethernet/intel/i40e/i40e_xsk.c | 6 +--- > 3 files changed, 9 insertions(+), 30 deletions(-)
Tested-by: Andrew Bowers <andrewx.bow...@intel.com>