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 07269C44514 for ; Fri, 17 Jul 2026 11:20:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tELoBG5OKG9/+DOeMkHZuGsmy1n3mciJef9SVNvGdLk=; b=p0+GI+och0d5ALEqN3DyCzneFS NGpxO5Sc5II2w/4yhpxxE6alTxVFeoszsDoOB3dNI2pDs5AG0UL6xjkMUpCdOrvUC8Cz52aQEEO05 iXMtrrru+w7yWKEYYIk5VoTh6K3vHfk4yBF8fd9ITOHrbbqfwNL60VBxfoV5+amAfVf7vg0vOBJ7X RF24UYI2OLMocvUO6A7n8CLu397cNCCL/r56j6Al1OwYkhdmDoWvaQA3o6PhwvomkASRu12NIjmGQ sgeA0DneY7L9Z0o1YyrpVi4PB28Re1tAPsUSJ1XdkfY0UQ+Mceh5yBTvTA+O2teQyFzL+ZxYRXXSp U7mX2KAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wkgcC-000000028TE-1mrL; Fri, 17 Jul 2026 11:20:24 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wkgcA-000000028S6-2frN; Fri, 17 Jul 2026 11:20:22 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 08C8F60A5E; Fri, 17 Jul 2026 11:20:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 369621F000E9; Fri, 17 Jul 2026 11:20:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1784287220; bh=tELoBG5OKG9/+DOeMkHZuGsmy1n3mciJef9SVNvGdLk=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=PBTzIe6XHPA3q0htvADSHdg/xV35sBnEm5cfX8PJpp4u/8AFOZ4dU+KuHXg+JMbn1 0+XPR+s6EvnS8ER3ga4BdPyEEQ+SbO2YtqP0eg8LtjoCj8+wLE0Sw2unFcbDTeFUlj VnPa8aYJCJlsxRvMTNJmBiW/EatEAlnY1O46ltfNguVpmoJhW7Om0w0uCEiL2gHUtZ BtXvwUe+nP/HNrkUjTj5dqEZecBpyR91vFSd0/ltlgnMBjF91bZRB56i+gOxvtIJuR QI1lHLAVRG9iX3mH7NiYwsvEJMXY9zQJ9rgEwxETaxK00SkSAl77YXINNqEUz65Utx DqXmRyvWgXzUw== Date: Fri, 17 Jul 2026 13:20:18 +0200 From: Lorenzo Bianconi To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Simon Horman , Alexander Lobakin , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org, Madhur Agrawal Subject: Re: [PATCH net-next v8 0/3] airoha: add the capability to configure GDM3/GDM4 as WAN/LAN on demand Message-ID: References: <20260703-airoha-ethtool-priv_flags-v8-0-015ba5ac89ee@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hz6h8/yWol2iBSX6" Content-Disposition: inline In-Reply-To: <20260703-airoha-ethtool-priv_flags-v8-0-015ba5ac89ee@kernel.org> X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org --hz6h8/yWol2iBSX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Add the capability to configure GDM3/GDM4 as WAN/LAN on demand when QoS > offload is created or destroyed. > Make dev->qdma an RCU pointer so the TX path can safely dereference it > without holding RTNL. > Introduce airoha_qdma_start() and airoha_qdma_stop() helpers. >=20 > --- > Changes in v8: > - Rebase on top of next-next to fix conflicts. > - Link to v7: https://lore.kernel.org/r/20260701-airoha-ethtool-priv_flag= s-v7-0-b4153bd44428@kernel.org >=20 > Changes in v7: > - Fix ETS stats accounting in patch 2/3 > - Reset ETS stats accounting in airoha_dev_set_qdma(). > - Link to v6: https://lore.kernel.org/r/20260629-airoha-ethtool-priv_flag= s-v6-0-86bc600d31bc@kernel.org >=20 > Changes in v6: > - Rebase on top of next-next > - Add patch 1/3: "rename airoha_priv_flags to airoha_dev_flags" > - Drop patch 2/3: "refactor QDMA start/stop into reusable helpers" > - Link to v5: https://lore.kernel.org/r/20260611-airoha-ethtool-priv_flag= s-v5-0-c11de08486d1@kernel.org >=20 > Changes in v5: > - Add patch 1/3: use int instead of atomic_t for qdma users counter > - Protect dev->flags with flow_offload_mutex mutex. > - Introduce AIROHA_PRIV_F_QOS in order to handle better WAN/LAN > switching. > - Link to v4: https://lore.kernel.org/r/20260610-airoha-ethtool-priv_flag= s-v4-0-60e89cf28fea@kernel.org >=20 > Changes in v4: > - Move back QDMA TX/RX DMA enable to airoha_dev_open()/airoha_dev_stop(). > - Configure GDM3/4 as WAN if GDM2 is not available in ndo_init() > callback. > - Protect qdma pointer in airoha_gdm_dev struct using RCU. > - Rely on rtnl_dereference() to access qdma pointer in the control path. > - Add airoha_qdma_start() and airoha_qdma_stop() utility routines in > patch 1/2 > - Link to v3: https://lore.kernel.org/r/20260608-airoha-ethtool-priv_flag= s-v3-1-3e8e3dc3f715@kernel.org >=20 > Changes in v3: > - Do not introduce ethtool private flags support to configure LAN/WAN > for GDM3/4 and rely on tc qdisc offload for it instead. > - Set GDM3/4 ports as LAN by default. > - Move QDMA TX/RX DMA enable from airoha_dev_open() to airoha_probe() > and the corresponding disable from airoha_dev_stop() to airoha_qdma_cle= anup(). > - Link to v2: https://lore.kernel.org/r/20260607-airoha-ethtool-priv_flag= s-v2-1-742c7aa1e182@kernel.org >=20 > Changes in v2: > - Rework airoha_dev_set_wan_flag routine > - Enable GDM_STRIP_CRC_MASK in airoha_disable_gdm2_loopback() > - Do not always reset REG_SRC_PORT_FC_MAP6 in > airoha_disable_gdm2_loopback() but use the same condition used in > airoha_enable_gdm2_loopback(). > - Link to v1: https://lore.kernel.org/r/20260606-airoha-ethtool-priv_flag= s-v1-1-401b2c9fe9f1@kernel.org Hi all, I noticied this series, even if it is properly acked/reviewed, it is marked= as 'New, archived' in patchwork: https://patchwork.kernel.org/project/netdevbpf/cover/20260703-airoha-ethtoo= l-priv_flags-v8-0-015ba5ac89ee@kernel.org/ I'm not entirely sure what the next steps should be for this series. Thanks in advance. Regards, Lorenzo >=20 > --- > Lorenzo Bianconi (3): > net: airoha: rename airoha_priv_flags to airoha_dev_flags > net: airoha: fix ETS QoS stats counter underflow and cross-channel = corruption > net: airoha: defer GDM3/GDM4 WAN mode and GDM2 loopback to QoS offl= oad >=20 > drivers/net/ethernet/airoha/airoha_eth.c | 253 ++++++++++++++++++++++++= ++---- > drivers/net/ethernet/airoha/airoha_eth.h | 26 ++- > drivers/net/ethernet/airoha/airoha_ppe.c | 9 +- > drivers/net/ethernet/airoha/airoha_regs.h | 1 + > 4 files changed, 246 insertions(+), 43 deletions(-) > --- > base-commit: 6fb33632323a396c9dc2bb9bea483e013e547d57 > change-id: 20260606-airoha-ethtool-priv_flags-b6aa70caa780 >=20 > Best regards, > --=20 > Lorenzo Bianconi >=20 --hz6h8/yWol2iBSX6 Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCaloP8gAKCRA6cBh0uS2t rChMAPoC66tsGBHWVimsBu9sMQxeBChbTqZ+vPnbOXG4zs8LlgEAtbkYzJAf+aMN h+MIIrI2xHh0XCfXdoIcj1xcuT0uXgA= =f9FL -----END PGP SIGNATURE----- --hz6h8/yWol2iBSX6--