igc: Enable NFC rules based source MAC address
authorAndre Guedes <andre.guedes@intel.com>
Mon, 13 Apr 2020 16:00:50 +0000 (09:00 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 21 May 2020 23:18:37 +0000 (16:18 -0700)
commit8eb2449d839079f979eded636dabcd6b815ff28f
tree8a9a6358bd90a8b068d6196303fe8da04b548249
parent750433d0aa097265432a2b30a8a984604bd76e7f
igc: Enable NFC rules based source MAC address

This patch adds support for Network Flow Classification (NFC) rules
based on source MAC address. Note that the controller doesn't support
rules with both source and destination addresses set, so this special
case is checked in igc_add_ethtool_nfc_entry().

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_ethtool.c