summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-08 15:47:48 -0700
committerJakub Kicinski <kuba@kernel.org>2021-10-08 15:47:49 -0700
commitbccf56c4cbf18db7170350f18fa7d0530cce0ddc (patch)
tree15744d3dca240c277f88849b9283d64b20f6f229 /include/linux
parent1b1499a817c90fd1ce9453a2c98d2a01cca0e775 (diff)
parent5bded8259ee3815a91791462dfb3312480779c3d (diff)
downloadcachepc-linux-bccf56c4cbf18db7170350f18fa7d0530cce0ddc.tar.gz
cachepc-linux-bccf56c4cbf18db7170350f18fa7d0530cce0ddc.zip
Merge branch 'dsa-bridge-tx-forwarding-offload-fixes-part-1'
Vladimir Oltean says: ==================== DSA bridge TX forwarding offload fixes - part 1 This is part 1 of a series of fixes to the bridge TX forwarding offload feature introduced for v5.15. Sadly, the other fixes are so intrusive that they cannot be reasonably be sent to the "net" tree, as they also include API changes. So they are left as part 2 for net-next. ==================== Link: https://lore.kernel.org/r/20211007164711.2897238-1-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/dsa/mv88e6xxx.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/dsa/mv88e6xxx.h b/include/linux/dsa/mv88e6xxx.h
new file mode 100644
index 000000000000..8c3d45eca46b
--- /dev/null
+++ b/include/linux/dsa/mv88e6xxx.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0
+ * Copyright 2021 NXP
+ */
+
+#ifndef _NET_DSA_TAG_MV88E6XXX_H
+#define _NET_DSA_TAG_MV88E6XXX_H
+
+#include <linux/if_vlan.h>
+
+#define MV88E6XXX_VID_STANDALONE 0
+#define MV88E6XXX_VID_BRIDGED (VLAN_N_VID - 1)
+
+#endif