]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: felix: Wire up the ocelot cls_flower methods
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 29 Feb 2020 14:31:14 +0000 (16:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2020 02:57:49 +0000 (18:57 -0800)
commit08a33115b024afedbb5d4afb37267b31d46973e7
tree208d11cab2639e8c4180b9821cfaef26c1a87a7d
parent6c8b84b94c46ed83085d78f8c257724ca27af2b5
net: dsa: felix: Wire up the ocelot cls_flower methods

Export the cls_flower methods from the ocelot driver and hook them up to
the DSA passthrough layer.

Tables for the VCAP IS2 parameters, as well as half key packing (field
offsets and lengths) need to be defined for the VSC9959 core, as they
are different from Ocelot, mainly due to the different port count.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix.c
drivers/net/dsa/ocelot/felix.h
drivers/net/dsa/ocelot/felix_vsc9959.c
include/soc/mscc/ocelot.h