diff options
author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | 2018-04-10 20:49:53 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-04-25 20:35:13 +0300 |
commit | 1d717cf4115e283aaf6c38174ecb7646f96abab5 (patch) | |
tree | 22f2560f1cf53d56378a09dbeb65df40abaeb4e9 /drivers/net/ethernet/intel/igb/igb.h | |
parent | 6995ddc49405bd4afe2aa7937f38abd2ee706084 (diff) | |
download | linux-1d717cf4115e283aaf6c38174ecb7646f96abab5.tar.xz |
igb: Add support for MAC address filters specifying source addresses
Makes it possible to direct packets to queues based on their source
address. Documents the expected usage of the 'flags' parameter.
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>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/igb.h')
-rw-r--r-- | drivers/net/ethernet/intel/igb/igb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb.h b/drivers/net/ethernet/intel/igb/igb.h index 8dbc399b345e..1ff58f7a5c7d 100644 --- a/drivers/net/ethernet/intel/igb/igb.h +++ b/drivers/net/ethernet/intel/igb/igb.h @@ -474,6 +474,7 @@ struct igb_mac_addr { #define IGB_MAC_STATE_DEFAULT 0x1 #define IGB_MAC_STATE_IN_USE 0x2 +#define IGB_MAC_STATE_SRC_ADDR 0x4 /* board specific private data structure */ struct igb_adapter { |