qede: Add vlan filtering offload support
authorSudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Thu, 18 Feb 2016 15:00:40 +0000 (17:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2016 21:07:45 +0000 (16:07 -0500)
commit7c1bfcad9f3c8a7400c2dfaf67edc7a46e271c51
tree195ec6e6d8e264ca47fbca5a0446d49d17c6a61c
parent3f9b4a6972d50562613daa649ed064244e6bc7bb
qede: Add vlan filtering offload support

Device would start receiving only vlan-tagged traffic with tags matching
that of one of the configured vlan IDs, unless:
  - Device is expliicly placed in PROMISC mode.
  - Device exhausts its vlan filter credits.

Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede.h
drivers/net/ethernet/qlogic/qede/qede_main.c