]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: VLAN field for flow director
authorPrzemyslaw Patynowski <przemyslawx.patynowski@intel.com>
Fri, 18 Dec 2020 10:36:29 +0000 (10:36 +0000)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 10 Feb 2021 22:28:40 +0000 (14:28 -0800)
commit3b60b2aad3e9bd9745cd0a4f1c7433e802fb3fad
tree15b5f067bd4ffe6fa360f82998cb268319cbc760
parent06962af1fda101ce3c3f2d82c5e98d0d8ed042a5
i40e: VLAN field for flow director

Allow user to specify VLAN field and add it to flow director. Show VLAN
field in "ethtool -n ethx" command.
Handle VLAN type and tag field provided by ethtool command. Refactored
filter addition, by replacing static arrays with runtime dummy packet
creation, which allows specifying VLAN field.
Previously, VLAN field was omitted.

Signed-off-by: Przemyslaw Patynowski <przemyslawx.patynowski@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40e/i40e_type.h