]> 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)
commit62fd4470c33517ea4ecd34ecea569e3757c48f0c
tree15b5f067bd4ffe6fa360f82998cb268319cbc760
parentad28d0d29440fdeda78bae14356961291571fab7
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