Message ID | cover.1723548320.git.0x1207@gmail.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 794B8C52D7B for <linux-arm-kernel@archiver.kernel.org>; Tue, 13 Aug 2024 11:48:56 +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:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=+7d9iEhLFGEdBGoEWb9zLkjiEjssEK611mhoRerD7SA=; b=KmwPIB/w+2dJpw2/UVFLsMEN29 hi+eiDcEGvo8bDPS5x+5uyAgyg0R4y/sGutFATGnyYkHgVZTbJ3g+ijo0CpWlNBzrkTSLoFcNu2/+ Zre0GOpfOukckREUSm9017lfzhfMk47lXq7qQRZ3UGRV/8pXXEjT173zp0VHGvEmRKyE4Tv/bzgvz TceVA9gVpGjrr+3PeBJA4nq7wirxlXMuWnJ6Kj6Z1rqi1bwaQUVowZTNzVNipGxICiOojm6ji7n/w YFWSV1uJBrroTy49ZKT1FB2R3WF5++WUqo7bvYHzjLCWwDZRC9OUXylw6qP6Gz8Q2239yDlVOF5Aq 9MwxFPIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdq15-00000003Z4l-0g1q; Tue, 13 Aug 2024 11:48:43 +0000 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sdq0T-00000003Ytt-2tOK for linux-arm-kernel@lists.infradead.org; Tue, 13 Aug 2024 11:48:06 +0000 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-710ec581999so2401820b3a.2 for <linux-arm-kernel@lists.infradead.org>; Tue, 13 Aug 2024 04:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723549684; x=1724154484; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+7d9iEhLFGEdBGoEWb9zLkjiEjssEK611mhoRerD7SA=; b=ONUp0OJhsU2ImbJ0xx7Ggl6UISAzZZpUTzKxY3xaNozt4IN7ITGCCBESi/MrCs+pF6 ewAgOFcmuNc7yxmcfvFjNpAITEE1CqekqpDw0bve3zBNQS/nX4hOtj56EdJ8n6bv/QW6 /zOzQR2r2EoZd5THoJnCYGIDzExipNlKAyHglZj46ZC50stPsTPgecGfIjQlo92RHdGc 8Y432sjDYWGvl1oGtts65OUQwJO7T8nISGLGAprPSiaEX1CJRVI5qov7rW7mSeEoXzkz 1tPf5e71zzLm+iTnbTS6Pk8+hOgbyglyNbvc6L4/OTmx/akWmtZYyXsMK4QM1wm58buX j/2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723549684; x=1724154484; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+7d9iEhLFGEdBGoEWb9zLkjiEjssEK611mhoRerD7SA=; b=gBcJz9QsfCkWskEif7pFCM9gVcA5Q9uSmLphRHFINPxB9k6ORZqQyEhiEnbEWoIkbg nuxEO7K+R03YFx4PF1T6ZXUwbPzv8FxV0cUDzAUkX10aeCYNSc1Lzi5CCItUPUfJitNw Oe/hndedbTbj9jdxm1aUQxUJrYGZBwYV0UzuV5N1w6eB5u83VdIf9RVEhEY2SBZZSIx/ oEO4IqxpedIZPZxbfNnNNprrNNTnCIDeJfcot2ttGvQS4GDabjrqI4iQQY9Gc6aqF25l 7o8Sz5TGLRnuisngUV2ZsJwMG1iut9Uc98Ivo2xlI0+AD3FYzq6l9gLO+43m9t8SJNgp 3irA== X-Forwarded-Encrypted: i=1; AJvYcCWlJcr40X5iWPe9qQHBTob95w1P3dJTb88n92XQ2Hw7yHM0EhzzzhyEL7Q+M5Rm1fEkwe1+qiIqjqh7YlbDwsU7s4w2fcwHfJYGzQ5pB/QqePz8ZOo= X-Gm-Message-State: AOJu0YyLcGkZEDClRZx8NI1ELbzjEtW7E3P6HaWNBb0fqwn9FVTsXfJ1 PMOYkmqkl6Owf3YMmrfmDdtOckw8z8qGWkIr5ftxbaP6hvpIEFhZ X-Google-Smtp-Source: AGHT+IElTSvIrqpk2wLbRPBuuMsOrLa4kUNZ+aiMqa058Bv7NV0CVIQB6r/9vCRUrMVdnEYlCMWSFQ== X-Received: by 2002:a05:6a00:390d:b0:70b:2233:f43b with SMTP id d2e1a72fcca58-7125516c61bmr3696505b3a.13.1723549684205; Tue, 13 Aug 2024 04:48:04 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-710e5a562bbsm5548755b3a.111.2024.08.13.04.47.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Aug 2024 04:48:03 -0700 (PDT) From: Furong Xu <0x1207@gmail.com> To: Serge Semin <fancer.lancer@gmail.com>, Andrew Lunn <andrew@lunn.ch>, Vladimir Oltean <olteanv@gmail.com>, "David S. Miller" <davem@davemloft.net>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Jose Abreu <joabreu@synopsys.com>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Joao Pinto <jpinto@synopsys.com> Cc: netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xfr@outlook.com, rock.xu@nio.com, Furong Xu <0x1207@gmail.com> Subject: [PATCH net-next v2 0/7] net: stmmac: FPE via ethtool + tc Date: Tue, 13 Aug 2024 19:47:26 +0800 Message-Id: <cover.1723548320.git.0x1207@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240813_044805_748336_DDC38D08 X-CRM114-Status: UNSURE ( 9.37 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
net: stmmac: FPE via ethtool + tc
|
expand
|
On Tue, Aug 13, 2024 at 07:47:26PM +0800, Furong Xu wrote: > Move the Frame Preemption(FPE) over to the new standard API which uses > ethtool-mm/tc-mqprio/tc-taprio. > > Changes in v2: > 1. refactor FPE verification processe > 2. suspend/resume and kselftest-ethtool_mm, all test cases passed > 3. handle TC:TXQ remapping for DWMAC CORE4+ This is starting to look better and better. I wouldn't be sad if it was merged like this, but the locking still looks a little bit wacky to me, and it's not 100% clear what priv->mm_lock protects and what it doesn't. I can make a breakdown of how each member of fpe_cfg is used, and thus understand exactly what are the locking needs and how they are addressed in this version, but most likely not today.