]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Improve ntuple filters by checking destination MAC address.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 25 Jul 2016 16:33:35 +0000 (12:33 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jul 2016 04:43:31 +0000 (21:43 -0700)
commit40424ff0e0357346e6769cc29f22b6608efa037e
tree2bb328995f05b20153327ea64a48f678a32b7b59
parent15341257fb8454b8c614c6b17f67723ff1896f53
bnxt_en: Improve ntuple filters by checking destination MAC address.

Include the destination MAC address in the ntuple filter structure.  The
current code assumes that the destination MAC address is always the MAC
address of the NIC.  This may not be true if there are macvlans, for
example.  Add destination MAC address checking and configure the filter
correctly using the correct index for the destination MAC address.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h