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)
commita54c4d74989b769014b359e5b66f3e571d903d25
tree2bb328995f05b20153327ea64a48f678a32b7b59
parent59d3f1ceb69b54569685d0c34dff16a1e0816b19
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