]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Add bypass operations for the flower classifier-action filter
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 29 Feb 2020 14:31:13 +0000 (16:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 02:57:49 +0000 (18:57 -0800)
commit8edc34491c447341a7f7484ef5d38165d1518648
treebc5c95484b2fa857a8acb9dffd1298e4781d5286
parent2a38db899d72234e61e22b11edf4eb1cb83ae77f
net: dsa: Add bypass operations for the flower classifier-action filter

Due to the immense variety of classification keys and actions available
for tc-flower, as well as due to potentially very different DSA switch
capabilities, it doesn't make a lot of sense for the DSA mid layer to
even attempt to interpret these. So just pass them on to the underlying
switch driver.

DSA implements just the standard boilerplate for binding and unbinding
flow blocks to ports, since nobody wants to deal with that.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/slave.c