Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2702615rdg; Mon, 16 Oct 2023 12:06:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGklBmxVuThAqE3pFyIu/g/lCjdxeyJTLFDMW/gGzqIxt2QBYA20Mfkv81hR/02ndjgnUfN X-Received: by 2002:a05:6a00:2ba:b0:691:27b:15b4 with SMTP id q26-20020a056a0002ba00b00691027b15b4mr11180366pfs.5.1697483185664; Mon, 16 Oct 2023 12:06:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697483185; cv=none; d=google.com; s=arc-20160816; b=XTQoPUtuLjSaD0msLTt5P0KAXLvrWSjNntqVcy3wcDUdlAT0GPVHx7Tl2ozJFOz3N7 zBgIFOS26BMHgWlKQGBZBmIa9sR6PjLsb6tgY4/lIQtspRfKHnX1vvWATo+jO1hylyP6 DS98LAnICZyOO5KEdEj6dlpCDhZAWfKT2w1SjF+68Nh9Fhj5btycPW61KV8eRpapR7mF u4mfghFhFV3ZErzGoJqfXpx80GWdEj5wolsMQShbn+Semx9DtQOiYXE4dBC77KDwHc6A 4lPqWPaaMc8bj/f7p/z8liFQE+/KlrnKoVXlebEBchW6r6FfsMmroYXG0f9PLhc778DV +tgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=aUBC0dv+bnXuW2GkrUwjanS9UomsolAQvc5I7gaJS3M=; fh=uAeemPsM9kpCa8S93WqHjtfiVJWrsl3D8GHuLk2Z7GE=; b=eDC8KO5Is45HNOjMIXNBI1EItAzCK2PuIL75UHbX3AE/srSXVll7DP2vVD6AfcbVuS u7LeOoYGUBpiy6+5DxtTw28DvEnImHRZ1CyrFoR2UMGxNfh0gFqd22roklHA3hB6ciIS 74uqiDIaqC9RMCRLmaEVq4HGZA7aC2zwai77hIIO4UqeJrfOiALDHxgRvRZtw3d1j5s/ IKC/MiBBcxw9OecBgqg/2Ys5abQZGrdwxoeSj6g+QIKa1lIgtacG+TIJXftO19+k37DS /uEa923TJgIOVM6vztf17fou7cTp0WKQg7XD8QN2Bzbuh8ale9S9M4tYArxxXDeKJry3 doqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XuAlRFnF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ck7-20020a056a00328700b006b4319c78efsi359765pfb.389.2023.10.16.12.06.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 12:06:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XuAlRFnF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 6447E8078666; Mon, 16 Oct 2023 12:06:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232608AbjJPTGD (ORCPT + 99 others); Mon, 16 Oct 2023 15:06:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231508AbjJPTGB (ORCPT ); Mon, 16 Oct 2023 15:06:01 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5D7195; Mon, 16 Oct 2023 12:05:59 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-53de8fc1ad8so8499919a12.0; Mon, 16 Oct 2023 12:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697483158; x=1698087958; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=aUBC0dv+bnXuW2GkrUwjanS9UomsolAQvc5I7gaJS3M=; b=XuAlRFnF4eX6ZAZMHiS9b8x0BM85XEs2ZQNkO1em5P7WCLVDd4fDArEdqdCo0g6Ego lJIzx6D2eFRg+pPfCWqIi6JFsVZwvKbdfGpM6QrB1DIFa81hY734xr5iLrZOqSHrlQHr akZEw3o2UacoqDyDAI7nCamGOzPlkTAtsgvN5Oauy4CwQ61Fk28l871iEaC8vVr/gaRg 5C0VmPz0+9SVB3fkyvh3Tbb9uJoWfe+Zbx/W3z8n7Vlt+G/v1XjeQLBauvO9E0+LE+WW 1XC7wCscZKsN/dmN2K9HF0WwsU1eGW7vQ/z/K4rf0NJdz1kVybewtMungXesbHY7UAx0 U4sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697483158; x=1698087958; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aUBC0dv+bnXuW2GkrUwjanS9UomsolAQvc5I7gaJS3M=; b=OY8ix1h4ZZDMlFOIe/o2RzEhUQOnxwUTf5SnRZ5AIN2fSPpRO6RlDhUnt6r4h21zc2 53SieWle5Z1rNm8qgrA2mX+fzPB74VrZp/iol3wuk5QCHruEVJlPH6E7nW6jBZVpRuZq XK/Q/jYg46skk2Ih5lEmMaIlfuiX8mkJZocFevw29lAkNf6GlhSV121KXJ3ftZMrTbJq vCp/rscBgFcyH/m+6nRrbb3LCJrqgK6L/lvTwOLZw0GDZ5bzaSSRHtoyzbM/d1Jt7A4c qOul43L8xoDr5QiPPw4sDt/sDlz2kJ2YDnmJVlZLgJth8PSKHvcXe9tsj4QVUyoP60yH n40A== X-Gm-Message-State: AOJu0YyDERvLz8kumhI5z7AVFU2HvcdBFoS1D5PUl3i8mcxfAck+8mev bHCkHxxw7M+36Dnk3bO4K5Y= X-Received: by 2002:a50:8a9b:0:b0:532:cae2:8dfc with SMTP id j27-20020a508a9b000000b00532cae28dfcmr140418edj.5.1697483157884; Mon, 16 Oct 2023 12:05:57 -0700 (PDT) Received: from skbuf ([188.26.57.160]) by smtp.gmail.com with ESMTPSA id i29-20020a50871d000000b0053de19620b9sm314436edb.2.2023.10.16.12.05.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 12:05:57 -0700 (PDT) Date: Mon, 16 Oct 2023 22:05:55 +0300 From: Vladimir Oltean To: Florian Fainelli Cc: Florian Fainelli , netdev@vger.kernel.org, Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Broadcom internal kernel review list , "open list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" Subject: Re: [PATCH net-next v3 1/2] net: dsa: Use conduit and user terms Message-ID: <20231016190555.svp5rjtheogxlkzv@skbuf> References: <20231013215251.152912-1-florian.fainelli@broadcom.com> <20231013215251.152912-1-florian.fainelli@broadcom.com> <20231013215251.152912-2-florian.fainelli@broadcom.com> <20231013215251.152912-2-florian.fainelli@broadcom.com> <20231016132334.b5pz7kw5oitk32z2@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 morse.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 (morse.vger.email [0.0.0.0]); Mon, 16 Oct 2023 12:06:17 -0700 (PDT) On Mon, Oct 16, 2023 at 09:41:35AM -0700, Florian Fainelli wrote: > > > @@ -29,7 +29,7 @@ static inline int dsa_tag_protocol_overhead(const struct dsa_device_ops *ops) > > > return ops->needed_headroom + ops->needed_tailroom; > > > } > > > -static inline struct net_device *dsa_master_find_slave(struct net_device *dev, > > > +static inline struct net_device *dsa_conduit_find_user(struct net_device *dev, > > > int device, int port) > > > > Please adjust alignment. > > checkpatch did not complain and my editor shows me the alignment appears to > be proper, what am I missing? I didn't realize that the length of "master-slave" is the same as that of "conduit-user", sorry. > > > diff --git a/net/dsa/tag_8021q.c b/net/dsa/tag_8021q.c > > > index cbdfc392f7e0..71b26ae6db39 100644 > > > --- a/net/dsa/tag_8021q.c > > > +++ b/net/dsa/tag_8021q.c > > > @@ -468,10 +468,10 @@ struct sk_buff *dsa_8021q_xmit(struct sk_buff *skb, struct net_device *netdev, > > > } > > > EXPORT_SYMBOL_GPL(dsa_8021q_xmit); > > > -struct net_device *dsa_tag_8021q_find_port_by_vbid(struct net_device *master, > > > +struct net_device *dsa_tag_8021q_find_port_by_vbid(struct net_device *conduit, > > > int vbid) > > > > Alignment. > > Likewise. My mistake, sorry.