projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: dsa: let switches specify their tagging protocol
[firefly-linux-kernel-4.4.55.git]
/
include
/
net
/
dsa.h
diff --git
a/include/net/dsa.h
b/include/net/dsa.h
index c542c131d5512ae233a98a43468e56a66b5609db..b525ac5165599427204e839fe0a63a127c5a7ed7 100644
(file)
--- a/
include/net/dsa.h
+++ b/
include/net/dsa.h
@@
-127,6
+127,11
@@
struct dsa_switch {
struct dsa_switch_tree *dst;
int index;
+ /*
+ * Tagging protocol understood by this switch
+ */
+ enum dsa_tag_protocol tag_protocol;
+
/*
* Configuration data for this switch.
*/