From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1AC7ACDB482 for ; Mon, 16 Oct 2023 18:44:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=X3hItQNX1QqnG9cedxkO0Z5fVQLR/I+setQDnckDcEM=; b=wyWwmVrn4x8Cp7 OCxSCWTDu8UXJ2zAs7ABzuKLKHnMOKZ/mGr32zXLNYx1FoAG13YzH23/nw31NV5OM+nYQH4fiXoLO 0OGmiT5KkWqS/NkedwBbjo0FgK5QtzgO64dd0HknIxJUGRBY8JF+TfmHt4dBBwu+QUsnz947b4Wqj RgSGeK7obpb+kddPlg6zbJou6p0Cc4wyemph07wHTVAZPxkqxyX+ZcZH1/ZWbBwPpdJzaEaHQN947 f4x4T/kxSoq1GZwLV56Hy37Nzqszzh7NIhXzv0Df1UKIlyc0fPvV9HoAGrOk9tFBxGZwP2sE/6U8l +67sWGKq2CJMDlf0uURA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsSZV-00AM6Q-2N; Mon, 16 Oct 2023 18:44:09 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsSZR-00AM4T-0q for linux-arm-kernel@lists.infradead.org; Mon, 16 Oct 2023 18:44:08 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1c88b467ef8so32852735ad.0 for ; Mon, 16 Oct 2023 11:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1697481841; x=1698086641; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=bWPwKWdwEDWr14soGfGjK+ZMfIWI4sV0shfvtifNth4=; b=JMz0gWdgPU3SRz5AMZlLW70JCu7WHjzkE4akpHNNbHMHacq8ocOM1L741xWMmL0aMJ MOwbhT4jnr1KbAVYVtfZf9pXnsKl/VAvzGJlWcZCDanrSIRmzDt8+qdnGkGZo6dWjfZB 4e8jW3S4mu3REh0bPXAGMh00/mWZsdvDRd0LB5+JHDkNRHqx7wcFTjrW1GNESCcqmaQr s6HgkxEGBbiMw+KoEXF1vZx8+mT96GOaRolnWRyEztk8qn1gRvu4B7aW3mqoyLWGwwUk EYONBI9Qy6qpDjeO3SgDNLdldTbOqmYwM5xr9aFLLvM59G/944kNqu/Qdq4uT8C7CJL5 0ERw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697481841; x=1698086641; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bWPwKWdwEDWr14soGfGjK+ZMfIWI4sV0shfvtifNth4=; b=AIArbd9g70dHsktpJTNGq0zmGoaukF24WRSWdlEKa4EtSyy+RjgmjfXNu2lNxghytN jlftv6px3tjhisuMy3hcezzpqa9aAEoAKoK8HoA4gmt8uk6q01FHLUJOinyCRljR5fOl d0+4Bq8/CT46nh7fBQyqjDM6DGWDZOM++1cswHVN7ggLrDv/zyZSDDjrD9mPn9rnXN3T cE4MVuys+DpzQtavC3dC647UBW1Y36P6WiekQtPB67HhqhDFU9j5pgBuFPCVSXeKGX1y mgCOSNamTHCSdLgJvfsful6PL9oJ7SWXd1W7y8man7SPUauM95/1NhFzELK40TfqZ7y7 7Mhg== X-Gm-Message-State: AOJu0YzBNd7TRzz9/4gL4AkiTVvL/8Eg87d7xnEeD8kvSPizdevZ8uR2 iXzEFWKd6LTURxLuQG7FjfvZOg== X-Google-Smtp-Source: AGHT+IGucQoCZs8kTZnj0f3ie00/OA9unIXta+jTJIF0CrgPJLPUzjNG/AdQ/PNJ+6EGSQOwKZqksw== X-Received: by 2002:a17:902:ea0e:b0:1c5:befa:d81d with SMTP id s14-20020a170902ea0e00b001c5befad81dmr138756plg.10.1697481841470; Mon, 16 Oct 2023 11:44:01 -0700 (PDT) Received: from hermes.local (204-195-126-68.wavecable.com. [204.195.126.68]) by smtp.gmail.com with ESMTPSA id z16-20020a170903019000b001c61acd5bd2sm8816708plg.112.2023.10.16.11.44.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 11:44:01 -0700 (PDT) Date: Mon, 16 Oct 2023 11:43:59 -0700 From: Stephen Hemminger To: Florian Fainelli Cc: netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Broadcom internal kernel review list , linux-kernel@vger.kernel.org (open list:ARM/Mediatek SoC support), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: Re: [PATCH net-next v4 1/2] net: dsa: Use conduit and user terms Message-ID: <20231016114359.096728c3@hermes.local> In-Reply-To: <20231016164742.264613-2-florian.fainelli@broadcom.com> References: <20231016164742.264613-1-florian.fainelli@broadcom.com> <20231016164742.264613-2-florian.fainelli@broadcom.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231016_114405_651686_880BC273 X-CRM114-Status: GOOD ( 12.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 16 Oct 2023 09:47:41 -0700 Florian Fainelli wrote: > Use more inclusive terms throughout the DSA subsystem by moving away > from "master" which is replaced by "conduit" and "slave" which is > replaced by "user". No functional changes. > > Signed-off-by: Florian Fainelli > --- > .../bindings/net/dsa/mediatek,mt7530.yaml | 2 +- > Documentation/networking/dsa/b53.rst | 14 +- > Documentation/networking/dsa/bcm_sf2.rst | 2 +- > .../networking/dsa/configuration.rst | 100 +- > Documentation/networking/dsa/dsa.rst | 162 +- > Documentation/networking/dsa/lan9303.rst | 2 +- > Documentation/networking/dsa/sja1105.rst | 6 +- > .../dts/marvell/armada-3720-espressobin.dtsi | 2 +- > drivers/net/dsa/b53/b53_common.c | 4 +- > drivers/net/dsa/b53/b53_mdio.c | 2 +- > drivers/net/dsa/bcm_sf2.c | 36 +- > drivers/net/dsa/bcm_sf2.h | 2 +- > drivers/net/dsa/bcm_sf2_cfp.c | 4 +- > drivers/net/dsa/lan9303-core.c | 4 +- > drivers/net/dsa/lantiq_gswip.c | 34 +- > drivers/net/dsa/microchip/ksz9477.c | 6 +- > drivers/net/dsa/microchip/ksz_common.c | 20 +- > drivers/net/dsa/microchip/ksz_ptp.c | 2 +- > drivers/net/dsa/mt7530.c | 16 +- > drivers/net/dsa/mv88e6xxx/chip.c | 2 +- > drivers/net/dsa/ocelot/felix.c | 68 +- > drivers/net/dsa/ocelot/felix.h | 6 +- > drivers/net/dsa/qca/qca8k-8xxx.c | 50 +- > drivers/net/dsa/qca/qca8k-common.c | 2 +- > drivers/net/dsa/qca/qca8k-leds.c | 6 +- > drivers/net/dsa/qca/qca8k.h | 2 +- > drivers/net/dsa/realtek/realtek-smi.c | 28 +- > drivers/net/dsa/realtek/realtek.h | 2 +- > drivers/net/dsa/sja1105/sja1105_main.c | 4 +- > drivers/net/dsa/xrs700x/xrs700x.c | 12 +- > drivers/net/ethernet/broadcom/bcmsysport.c | 2 +- > drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 +- > .../net/ethernet/mediatek/mtk_ppe_offload.c | 2 +- > include/linux/dsa/sja1105.h | 2 +- > include/net/dsa.h | 56 +- > include/net/dsa_stubs.h | 22 +- > net/core/dev_ioctl.c | 2 +- > net/dsa/Makefile | 6 +- > net/dsa/{master.c => conduit.c} | 118 +- > net/dsa/conduit.h | 22 + > net/dsa/dsa.c | 224 +-- > net/dsa/dsa.h | 12 +- > net/dsa/master.h | 22 - > net/dsa/netlink.c | 14 +- > net/dsa/port.c | 124 +- > net/dsa/port.h | 4 +- > net/dsa/slave.h | 69 - > net/dsa/switch.c | 20 +- > net/dsa/switch.h | 8 +- > net/dsa/tag.c | 10 +- > net/dsa/tag.h | 26 +- > net/dsa/tag_8021q.c | 22 +- > net/dsa/tag_8021q.h | 2 +- > net/dsa/tag_ar9331.c | 4 +- > net/dsa/tag_brcm.c | 14 +- > net/dsa/tag_dsa.c | 6 +- > net/dsa/tag_gswip.c | 4 +- > net/dsa/tag_hellcreek.c | 4 +- > net/dsa/tag_ksz.c | 12 +- > net/dsa/tag_lan9303.c | 4 +- > net/dsa/tag_mtk.c | 4 +- > net/dsa/tag_none.c | 6 +- > net/dsa/tag_ocelot.c | 22 +- > net/dsa/tag_ocelot_8021q.c | 12 +- > net/dsa/tag_qca.c | 6 +- > net/dsa/tag_rtl4_a.c | 6 +- > net/dsa/tag_rtl8_4.c | 6 +- > net/dsa/tag_rzn1_a5psw.c | 4 +- > net/dsa/tag_sja1105.c | 30 +- > net/dsa/tag_trailer.c | 4 +- > net/dsa/tag_xrs700x.c | 4 +- > net/dsa/{slave.c => user.c} | 1464 ++++++++--------- > net/dsa/user.h | 69 + > 73 files changed, 1541 insertions(+), 1537 deletions(-) > rename net/dsa/{master.c => conduit.c} (76%) > create mode 100644 net/dsa/conduit.h > delete mode 100644 net/dsa/master.h > delete mode 100644 net/dsa/slave.h > rename net/dsa/{slave.c => user.c} (62%) > create mode 100644 net/dsa/user.h Thanks for doing this. Acked-by: Stephen Hemminger _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel