]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDhaval Giani <dhaval.giani@oracle.com>
Fri, 20 Jan 2017 17:59:58 +0000 (12:59 -0500)
commite9883497a81f0d0131306445b7e5a168701f099c
tree54008726031da3996af559e2e0847d625a843464
parentdd7d6a3e4894f1a200285870ca61d649cd931f89
bnxt_en: Improve ntuple filters by checking destination MAC address.

Orabug: 24567991

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>
(cherry picked from commit a54c4d74989b769014b359e5b66f3e571d903d25)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h