Message ID | 20220414122250.158113-2-clement.leger@bootlin.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | add support for Renesas RZ/N1 ethernet subsystem devices | expand |
On Thu, Apr 14, 2022 at 02:22:39PM +0200, Clément Léger wrote: > Add DSA tag code for Renesas RZ/N1 Advanced 5 port switch. This switch > uses a special VLAN type followed by 6 bytes which contains other > useful information (port, timestamp, etc). > > Signed-off-by: Clément Léger <clement.leger@bootlin.com> > --- Please squash this with the next patch. > include/net/dsa.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/net/dsa.h b/include/net/dsa.h > index 934958fda962..2aa8eaae4eb9 100644 > --- a/include/net/dsa.h > +++ b/include/net/dsa.h > @@ -53,6 +53,7 @@ struct phylink_link_state; > #define DSA_TAG_PROTO_SJA1110_VALUE 23 > #define DSA_TAG_PROTO_RTL8_4_VALUE 24 > #define DSA_TAG_PROTO_RTL8_4T_VALUE 25 > +#define DSA_TAG_PROTO_RZN1_A5PSW_VALUE 26 > > enum dsa_tag_protocol { > DSA_TAG_PROTO_NONE = DSA_TAG_PROTO_NONE_VALUE, > @@ -81,6 +82,7 @@ enum dsa_tag_protocol { > DSA_TAG_PROTO_SJA1110 = DSA_TAG_PROTO_SJA1110_VALUE, > DSA_TAG_PROTO_RTL8_4 = DSA_TAG_PROTO_RTL8_4_VALUE, > DSA_TAG_PROTO_RTL8_4T = DSA_TAG_PROTO_RTL8_4T_VALUE, > + DSA_TAG_PROTO_RZN1_A5PSW = DSA_TAG_PROTO_RZN1_A5PSW_VALUE, > }; > > struct dsa_switch; > -- > 2.34.1 >
diff --git a/include/net/dsa.h b/include/net/dsa.h index 934958fda962..2aa8eaae4eb9 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -53,6 +53,7 @@ struct phylink_link_state; #define DSA_TAG_PROTO_SJA1110_VALUE 23 #define DSA_TAG_PROTO_RTL8_4_VALUE 24 #define DSA_TAG_PROTO_RTL8_4T_VALUE 25 +#define DSA_TAG_PROTO_RZN1_A5PSW_VALUE 26 enum dsa_tag_protocol { DSA_TAG_PROTO_NONE = DSA_TAG_PROTO_NONE_VALUE, @@ -81,6 +82,7 @@ enum dsa_tag_protocol { DSA_TAG_PROTO_SJA1110 = DSA_TAG_PROTO_SJA1110_VALUE, DSA_TAG_PROTO_RTL8_4 = DSA_TAG_PROTO_RTL8_4_VALUE, DSA_TAG_PROTO_RTL8_4T = DSA_TAG_PROTO_RTL8_4T_VALUE, + DSA_TAG_PROTO_RZN1_A5PSW = DSA_TAG_PROTO_RZN1_A5PSW_VALUE, }; struct dsa_switch;
Add DSA tag code for Renesas RZ/N1 Advanced 5 port switch. This switch uses a special VLAN type followed by 6 bytes which contains other useful information (port, timestamp, etc). Signed-off-by: Clément Léger <clement.leger@bootlin.com> --- include/net/dsa.h | 2 ++ 1 file changed, 2 insertions(+)