lkml.org 
[lkml]   [2022]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH net-next 01/12] net: dsa: add support for Renesas RZ/N1 A5PSW switch tag code
    Date
    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(+)

    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
    \
     
     \ /
      Last update: 2022-04-14 14:27    [W:4.023 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site