Message ID | 20220414122250.158113-2-clement.leger@bootlin.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | add support for Renesas RZ/N1 ethernet subsystem devices | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Clearly marked for net-next |
netdev/fixes_present | success | Fixes tag not required for -next series |
netdev/subject_prefix | success | Link |
netdev/cover_letter | success | Series has a cover letter |
netdev/patch_count | success | Link |
netdev/header_inline | success | No static functions without inline keyword in header files |
netdev/build_32bit | success | Errors and warnings before: 19 this patch: 19 |
netdev/cc_maintainers | success | CCed 8 of 8 maintainers |
netdev/build_clang | success | Errors and warnings before: 17 this patch: 17 |
netdev/module_param | success | Was 0 now: 0 |
netdev/verify_signedoff | success | Signed-off-by tag matches author and committer |
netdev/verify_fixes | success | No Fixes tag |
netdev/build_allmodconfig_warn | success | Errors and warnings before: 19 this patch: 19 |
netdev/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 14 lines checked |
netdev/kdoc | success | Errors and warnings before: 0 this patch: 0 |
netdev/source_inline | success | Was 0 now: 0 |
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(+)