Searched hist:"2 a508c64ad278d022543ec3360449c7f243eb56b" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx_common.h | diff 2a508c64ad278d022543ec3360449c7f243eb56b Tue Dec 04 18:31:14 CET 2018 Michał Mirosław <mirq-linux@rere.qmqm.pl> 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.miroslaw@atendesoftware.pl> Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|
H A D | i40e_txrx.c | diff 2a508c64ad278d022543ec3360449c7f243eb56b Tue Dec 04 18:31:14 CET 2018 Michał Mirosław <mirq-linux@rere.qmqm.pl> 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.miroslaw@atendesoftware.pl> Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|