Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2691748rdg; Mon, 16 Oct 2023 11:44:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE1sIF7rRY2RZvLkd7mVDbKTmnMc9WSDmjGRzGC45i1++S+KmLWvKTbFWnruFqqDclqNiRt X-Received: by 2002:a17:903:74f:b0:1c5:9f52:6a5b with SMTP id kl15-20020a170903074f00b001c59f526a5bmr110766plb.42.1697481877795; Mon, 16 Oct 2023 11:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697481877; cv=none; d=google.com; s=arc-20160816; b=EyJ5gxF+hJaNYVr/hH8rtmVqenbJa/3zEok5Y8i7KddiMVHwKEeir6587qvSLw4PsU /t6ko4Od+MrhRTeBKhxZnXtO9qfQkbb7F3aloyLe6TAR9UtE2ERAxXDVIOrfaG5G5Rgu QUPie0LXPUPMRQcj47259hkI83R5Cu93jW3tmsz1el4KNH+4Rt2AVFlHpFcHw+4kywZ7 lR2V/kOqZVH8TX2ehMcLdTQPrkb9FFcnE5EG4SybjKzvJaoBIOt/5ujcQhe/yb7i6hjq Lm3ZJcKTlN8QgdmLqoPqRwB2kOqc5sWVD7MdPNknXRal/ClbqYmDQsuStpQqnGYxTlYe D5jg== 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:subject:cc:to:from:date :dkim-signature; bh=bWPwKWdwEDWr14soGfGjK+ZMfIWI4sV0shfvtifNth4=; fh=eRmsiqxHdUm7YbSrDzbVesEW6BnnGQ7b7DEiYIcb5jA=; b=EfMI3s9UxxfLtpE2H0IPlY1/4zzwkSiiBLlHsqM9VcnQndYDpVgMzLrAEuUar+/UYh 6GuZtw7/eHxQM3bpTjhtz11PdKP+TjPqiZpynls/ZOibkxyW/NxPE9keOp3wUhzzmLiV Ed200dn0cuuvqR70q6cU2I2BeDrz5S61wSjYxvVmMElpcthSKR3QrqAE1S6FdeD4WAdq 4Vb6BKNE7iDqwbhBBWQHWBXi3wjSmafLYnV2AHXxXuUbtUghsrdUsFpD8CIivFR3ep6E 9PGqFArvnQzFscrXmERnxmp11oBJFC8iHZhqHR37MtrMknyE9ni6+uu2oFD3JMdSO6J4 0MAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20230601.gappssmtp.com header.s=20230601 header.b=JoxsBoYC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=networkplumber.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id c20-20020a170902c1d400b001ca27dfde3dsi5815314plc.541.2023.10.16.11.44.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 11:44:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@networkplumber-org.20230601.gappssmtp.com header.s=20230601 header.b=JoxsBoYC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=networkplumber.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 605098042383; Mon, 16 Oct 2023 11:44:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234037AbjJPSoF (ORCPT + 99 others); Mon, 16 Oct 2023 14:44:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjJPSoE (ORCPT ); Mon, 16 Oct 2023 14:44:04 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19EE0A1 for ; Mon, 16 Oct 2023 11:44:02 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1ca816f868fso7652865ad.1 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=vger.kernel.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=JoxsBoYCGtAKRr54+gjwXBghXQ4Z7IkReSrrYZ9HU6xdDOZb80KZQRAYQ+9zZW3TBC f/S0eb5jn0nfRx9xHEeTZZ0C8Q8yknty3DWGmJJDoB3DiRdMtY2DuSn+dBqBv0TTDzv8 byaiS8QgtpqIODo5Wt+r70EhC+ES1pE9ks1zvTi7UqhOXTJ7gGuN4LAyzVGeVPKoG7zG lFisHva7eigWn0t2g5Ykhk0tpiMZCZblF5wzAZg6GIGQ0BVQy0nIQ9nKvWk+XprzTT6J DLJIfb2C4QITuiZcE8Ac0GeatQvLFdQ4ysWQ1C6Lr93HtOZTAZiPgx5zayXjhEZXOVVl 6hyA== 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=dyq3IpsIUVkGUr7DJkeccvRCG4raGrC1TiaG8fADuYkuPremEjuonFYTQs2rHLn1U2 OHTz7/ysfAcNt3tGE39jXkykmUX+yCMypBk9mD1gGjHUJBeEfOYTn+HbLY/PDvH/LORV QuKe1BOPnlOoYkPWtfUWJu022SYGJgRMsn5P/P1X1ZeOKlL3WgUqo/MgQ4xgVe2Vx+vi PSJpzPfb6C0wNde8ppYPvoEoCfsgX2FYumgqC5GEKsZ7hl3V9U/YC1S4ZjkbDSR7zbr/ 7l04iJzcWCDHjIvb6zrjeL6CEmnF8DbN1OyBrycaqZdlmNF1bvIxFbNP/X7sIZ6MZdzY 6Eqg== X-Gm-Message-State: AOJu0YzDOxFqUbPv0MaJ3PF/md/yip14qvphC5rpI8I1EtCWkV6NHPLn gODNNUF0vyN+TvabNpVpefemiA== 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 16 Oct 2023 11:44:35 -0700 (PDT) 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