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)
commita9219b332f52093dbf9dae5219e820065f9e2cf6
tree15b5f067bd4ffe6fa360f82998cb268319cbc760
parentefca91e89b67a6f824aca6abcd8a2e5188aa061c
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