]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Add support for ethtool::rxnfc
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 30 Jan 2017 17:48:43 +0000 (09:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2017 19:49:58 +0000 (14:49 -0500)
commit8d74278c0f50076dd3a5a2b97d8d69358f17fad7
tree3362ad3da2cbfccbc591a04a47d9e5846a0e620f
parent4b6533f4e304ae4d65d0a86665a913cd0b218cec
net: dsa: bcm_sf2: Add support for ethtool::rxnfc

Add support for configuring classification rules using the
ethtool::rxnfc API.  This is useful to program the switch's CFP/TCAM to
redirect specific packets to specific ports/queues for instance. For
now, we allow any kind of IPv4 5-tuple matching.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/Makefile
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/bcm_sf2.h
drivers/net/dsa/bcm_sf2_cfp.c [new file with mode: 0644]