]> 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)
commit3638f47688e74095b491b5245c7f508ef4a59e84
tree208d11cab2639e8c4180b9821cfaef26c1a87a7d
parent8edc34491c447341a7f7484ef5d38165d1518648
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