summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mscc/ocelot_net.c
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-01-29 03:00:00 +0200
committerJakub Kicinski <kuba@kernel.org>2021-01-29 21:24:30 -0800
commit0e9bb4e9d93f2711897b8e2a613899f7b8a15a3b (patch)
tree03c0a647539d485c09d308651b54c9b03eb95081 /drivers/net/ethernet/mscc/ocelot_net.c
parent9c7caf28068421c9e0d1faea437e35e6b8983ac6 (diff)
downloadlinux-stable-0e9bb4e9d93f2711897b8e2a613899f7b8a15a3b.tar.gz
linux-stable-0e9bb4e9d93f2711897b8e2a613899f7b8a15a3b.tar.bz2
linux-stable-0e9bb4e9d93f2711897b8e2a613899f7b8a15a3b.zip
net: mscc: ocelot: export VCAP structures to include/soc/mscc
The Felix driver will need to preinstall some VCAP filters for its tag_8021q implementation (outside of the tc-flower offload logic), so these need to be exported to the common includes. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mscc/ocelot_net.c')
-rw-r--r--drivers/net/ethernet/mscc/ocelot_net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mscc/ocelot_net.c b/drivers/net/ethernet/mscc/ocelot_net.c
index 9553eb3e441c..05142803a463 100644
--- a/drivers/net/ethernet/mscc/ocelot_net.c
+++ b/drivers/net/ethernet/mscc/ocelot_net.c
@@ -9,6 +9,7 @@
*/
#include <linux/if_bridge.h>
+#include <net/pkt_cls.h>
#include "ocelot.h"
#include "ocelot_vcap.h"