]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: add basic multicast filtering
authorJakub Kicinski <jakub.kicinski@netronome.com>
Thu, 4 Jan 2018 15:10:19 +0000 (16:10 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Jan 2018 18:46:47 +0000 (13:46 -0500)
commit72e6a78ba22da8747113d9b54cffa103db59d88e
tree02657fed2210c25ac755bab1d0ab87a91bc7ee42
parenta2e12c94cc5a0ab8b46a4294cc974c97c8f7f30e
nfp: add basic multicast filtering

We currently always pass all multicast traffic through.
Only set L2MC when actually needed.  Since the driver
was not making use of the capability to filter out mcast
frames, some FW projects don't implement it any more.
Don't warn users if capability is not present (like we
do for promisc flag).  The lack of L2MC capability is
assumed to mean all multicast traffic goes through.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c