linux/drivers/net/ethernet/intel/igb
Vinicius Costa Gomes b4a38d4276 igb: Add MAC address support for ethtool nftuple filters
This adds the capability of configuring the queue steering of arriving
packets based on their source and destination MAC addresses.

Source address steering (i.e. driving traffic to a specific queue),
for the i210, does not work, but filtering does (i.e. accepting
traffic based on the source address). So, trying to add a filter
specifying only a source address will be an error.

In practical terms this adds support for the following use cases,
characterized by these examples:

$ ethtool -N eth0 flow-type ether dst aa:aa:aa:aa:aa:aa action 0
(this will direct packets with destination address "aa:aa:aa:aa:aa:aa"
to the RX queue 0)

$ ethtool -N eth0 flow-type ether src 44:44:44:44:44:44 \
  	     	  	    	  proto 0x22f0 action 3
(this will direct packets with source address "44:44:44:44:44:44" and
ethertype 0x22f0 to the RX queue 3)

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-04-25 10:55:45 -07:00
..
e1000_82575.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_82575.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_defines.h igb: Add support for enabling queue steering in filters 2018-04-25 10:37:08 -07:00
e1000_hw.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_i210.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_i210.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_mac.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_mac.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_mbx.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_mbx.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_nvm.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_nvm.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_phy.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_phy.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
e1000_regs.h intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
igb_ethtool.c igb: Add MAC address support for ethtool nftuple filters 2018-04-25 10:55:45 -07:00
igb_hwmon.c ethernet: Use octal not symbolic permissions 2018-03-26 12:07:49 -04:00
igb_main.c igb: Allow filters to be added for the local MAC address 2018-04-25 10:50:59 -07:00
igb_ptp.c intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00
igb.h igb: Enable nfc filters to specify MAC addresses 2018-04-25 10:53:22 -07:00
Makefile intel: add SPDX identifiers to all the Intel drivers 2018-03-23 12:18:21 -04:00