aboutsummaryrefslogtreecommitdiffstats
path: root/net/appletalk
diff options
context:
space:
mode:
authorMaxime Chevallier <maxime.chevallier@bootlin.com>2019-04-30 15:14:29 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-01 17:13:14 -0400
commitbec2d46d143d467f92d7d1b54d1e7c1e3a25a7b9 (patch)
treedc28c02b3d457355d77f8a89a9a5c679e89022ac /net/appletalk
parentnet: mvpp2: cls: Add Classification offload support (diff)
downloadlinux-dev-bec2d46d143d467f92d7d1b54d1e7c1e3a25a7b9.tar.xz
linux-dev-bec2d46d143d467f92d7d1b54d1e7c1e3a25a7b9.zip
net: mvpp2: cls: Allow dropping packets with classification offload
This commit introduces support for the "Drop" action in classification offload. This corresponds to the "-1" action with ethtool -N. This is achieved using the color marking actions available in the C2 engine, which associate a color to a packet. These colors can be either Green, Yellow or Red, Red meaning that the packet should be dropped. Green and Yellow colors are interpreted by the Policer, which isn't supported yet. This method of dropping using the Classifier is different than the already existing early-drop features, such as VLAN filtering and MAC UC/MC filtering, which are performed during the Parsing step, and therefore take precedence over classification actions. Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/appletalk')
0 files changed, 0 insertions, 0 deletions