Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1015023pxb; Fri, 15 Apr 2022 18:24:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDTP4ccwnvMXevTn8hFqn4bPZW0+7k5p1PqGIFaoeLMyrwxMOKZUL+BKaCKraHCAIrZnpW X-Received: by 2002:a17:902:a610:b0:158:9fdd:332a with SMTP id u16-20020a170902a61000b001589fdd332amr1607661plq.94.1650072296696; Fri, 15 Apr 2022 18:24:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650072296; cv=none; d=google.com; s=arc-20160816; b=M5X3973Dxn3nizdfzZCDz5mJlvIH+079P4IVR1VB1OmHitIMNUeJDjLIWY/Q+2Fpdn 20GvnqkvNgVwVsPuHfwCkxO6x/g70Q2JV+xfxluoU55k5XYrm+xWM7fyR/az8e9D4zJv vTqNSlbWe+7JjgYiaMnopLiznhC0J1/sWQ59icFFQ6gETp78BhIETFVlel1sdI35A47Z E/TGLbTGireBvP+oczzXlMB+wwEjVpudZRUUNK02n85d74Ze6n7yuOZ2g+h6jY3X3dcC IboZfwXrr+Mk7DkiN+iYZ4mF+eoWY4giVSVtsTp6WkPEJDKfg3GsFBq3cEzM98yYuYoC OJ3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VZQJox6pfPHfC3qb+4Dol20vx3ou4eYt1gnOvwZ6wUI=; b=h9Amq2ZNvtFkRLXi0gLY42KwVOuN74OPiCG7sQQf+4YGYw98Ib9pzmEwtASITa6VTO 64Qqf/iC3w59etIpTJh8WdLQXx9tKxABZitAxsIM7kwyPzRIIYkI18oJnwCkFrMDdijQ NYU5kj6/rG2x8F5lWaiUFbE6EYjtvBKSfyTuFCl11Bf4brBvKMsgWbtCqLK9v9+B9Bi5 xkiYnJbkyP6HLRyn9ek+n2pvtuCbtNXTXHzjKr5WoSTxrveC9Pw6CquAgxGq0DnzVZxQ qeu4/labyJ/ZtWKgOXg6oh8uHih2mXPwFNHzYmNJHtHh5g/BAUt+YGIpT5tXLDg38NPU kB7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dhPtZSrA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f17-20020a056a001ad100b005082532a95csi3076512pfv.313.2022.04.15.18.24.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 18:24:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dhPtZSrA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7203B119269; Fri, 15 Apr 2022 17:56:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243221AbiDNM1T (ORCPT + 99 others); Thu, 14 Apr 2022 08:27:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242759AbiDNM1O (ORCPT ); Thu, 14 Apr 2022 08:27:14 -0400 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::222]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EED332CE18; Thu, 14 Apr 2022 05:24:43 -0700 (PDT) Received: (Authenticated sender: clement.leger@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 975D840012; Thu, 14 Apr 2022 12:24:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1649939082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VZQJox6pfPHfC3qb+4Dol20vx3ou4eYt1gnOvwZ6wUI=; b=dhPtZSrAX6XBgNQiE5qpr4/oCiYzDuW+OW9z1Al3KuEWRBFR5NXP5hYiuDxDzZDHnD/mCo odGU725IrYUzzY1pFgYrZaZtGNhkdWHbcS4ePfu31ZZHfXgUJSYU1WqI8itvCR+n5WcfjK wwYSikUU4HfsFbkNfn4dUcA/yvYYlkSpdqCF3yP7GFjTsBDdqBFfV0WcSI/fgQ55wWKRbJ CVdZRsdtMtgEp8Ukcrb4zRdgF+8cT0k4mtOSoggIXVGtQahPXdmJVrMqXA6WAPawIWmmbn BGSAUPPtmHRRHiLfYKgzAne9VTMr15HCKH6eJKwYnQMUhXUOqGfWJkIraZvQLg== From: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= To: Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , "David S . Miller" , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Heiner Kallweit , Russell King Cc: =?UTF-8?q?Cl=C3=A9ment=20L=C3=A9ger?= , Thomas Petazzoni , Herve Codina , =?UTF-8?q?Miqu=C3=A8l=20Raynal?= , Milan Stevanovic , Jimmy Lalande , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH net-next 01/12] net: dsa: add support for Renesas RZ/N1 A5PSW switch tag code Date: Thu, 14 Apr 2022 14:22:39 +0200 Message-Id: <20220414122250.158113-2-clement.leger@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220414122250.158113-1-clement.leger@bootlin.com> References: <20220414122250.158113-1-clement.leger@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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