Message ID | 8e719b6c4c1fad64eedb0faad15d7920f708b736.1720512888.git.0x1207@gmail.com (mailing list archive) |
---|---|
State | New, archived |
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 36282C2BD09 for <linux-arm-kernel@archiver.kernel.org>; Tue, 9 Jul 2024 08:24:16 +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:References:In-Reply-To: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:List-Owner; bh=P8/7znqqkBhNFJlanRTa4ag0D5o5jL152q+Urfiz2A8=; b=LPFmfQkHDYWROz1N6R5ixJGcgY aBM0lKDu4oRDYB8dP0PCWtVybBCcWjTVMZXwwcOTs9RpctpEn903KCBglCJWUGehuYsh/9q1aqaw5 kOSGg6rvdTcBy6bILPkJjHh/GrUtZJSH59L9ZbYEq94oJo5a2i1L4yHykobA79HFhEHnhZHEHxxGV EMLnwVQ39o/VeFGDzrNnM5sJd+7cVKEhpUOAhYiMBP6WxyzUkZlC1j+IysH6dxJz0ixTVgFSVV56o iHOANhuCOe8AnSBHj5T+2rumiBMq4Y8Ow0H02VU16OdachG6JrqCFiRJiGTO6UmfI23cv4B3a0qMB c1WPILpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sR68j-00000006ODz-1gAv; Tue, 09 Jul 2024 08:23:57 +0000 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sR68C-00000006NyU-33UG for linux-arm-kernel@lists.infradead.org; Tue, 09 Jul 2024 08:23:26 +0000 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-70df213542bso2486091a12.3 for <linux-arm-kernel@lists.infradead.org>; Tue, 09 Jul 2024 01:23:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720513403; x=1721118203; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P8/7znqqkBhNFJlanRTa4ag0D5o5jL152q+Urfiz2A8=; b=NVYcz+PQBktdtzTUlK/LH7+yhFwqT0J90R/FsOhYbMLA8Rb+7kZqYDHjp9y/VvYmRe JpFeF17RViOzcJOJZ/GGAhuRV3/XGD/+udXP8LKMZaUC9worxSDmE2/NvL1vumbiTFoo QklbYncS8/3lmz8RUx+UYf72ssoojYqAJpfzalc/ivlJgA5f4NqjfyuyH2GMUPj/smJq FbhbNrfxtgQZt5rpfCv1DQze4CPLoz34LHw7w424fONsf71ghetSvuGPSWU3QxNiw27h gllrZyZqOkm9iuwvXGXBYR1a2aWZAelXDkBjVXr1FpF8S3UTEfTZSNIK2C5IjPUc89WB imfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720513403; x=1721118203; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P8/7znqqkBhNFJlanRTa4ag0D5o5jL152q+Urfiz2A8=; b=Jn03rWz5VeXLfl3I9CiQ9K8HWWl+LwfYfZENn0VhG3BX6StTc82OHO0iIVRvQIDWTG Q3oixewq50GI+FG02Y2cBCSYckTrXavtO2QGYT7zIieBGfxf+s1yReFi0ttvgA+qnjWd alW6VovE046yZK1JqZpngSXQ0AHm3fxcQPdplZAMB+oC6rbSmyx3+FdA/kT3bHt5wtFO Uy6lGuz9QLwpbQgkfN98aq8xm8aF3OCYWgI4yLuJO5Q9PDBl6U862KduXwXmMSYyV9KS KB39IMOMn/1FjtJ+WG/L8RyAmL77AV/rZ8BJm21IfA2baYEgI9e42nuZW4jk6SJGW9Gn YrxQ== X-Forwarded-Encrypted: i=1; AJvYcCWdrFyoaR4BHR4SXzJ+yVREstRnliAZhIC239js6fsN/MGlTdugpUIoOyieC8k8fedX+uufWQ3asGqUKn2nYOqojRr/3sAIuaukLXTH3LHzADui6SY= X-Gm-Message-State: AOJu0YwRUd50eROWwwGCqyeMCpmLHP0tWDvsQ4Ck1GaBuBjJ2eD6Thbn uhAbEq8eqGWojGtmP/uePyHNQLC1jX1yTfvRW/EB1O8BDVtO6qPo X-Google-Smtp-Source: AGHT+IHsqtsn6gyOtXLL7y6Rzws8PcIlR1wfJvphBhSBBRCCn9DI8cbMl/kEnHnZ4m8DDm7Ae1Wzhg== X-Received: by 2002:a05:6a20:2588:b0:1be:ffe4:b2a2 with SMTP id adf61e73a8af0-1c298203941mr1960899637.7.1720513403354; Tue, 09 Jul 2024 01:23:23 -0700 (PDT) Received: from localhost.localdomain ([129.146.253.192]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-2c99a92a430sm9588929a91.4.2024.07.09.01.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jul 2024 01:23:22 -0700 (PDT) From: Furong Xu <0x1207@gmail.com> To: Andrew Lunn <andrew@lunn.ch>, "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 v1 5/7] net: stmmac: xgmac: rename XGMAC_RQ to XGMAC_FPRQ Date: Tue, 9 Jul 2024 16:21:23 +0800 Message-Id: <8e719b6c4c1fad64eedb0faad15d7920f708b736.1720512888.git.0x1207@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1720512888.git.0x1207@gmail.com> References: <cover.1720512888.git.0x1207@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240709_012324_789035_0CDDB8E3 X-CRM114-Status: GOOD ( 11.64 ) 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: refactor FPE for gmac4 and xgmac
|
expand
|
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h b/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h index 917796293c26..c66fa6040672 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h +++ b/drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h @@ -84,8 +84,8 @@ #define XGMAC_MCBCQEN BIT(15) #define XGMAC_MCBCQ GENMASK(11, 8) #define XGMAC_MCBCQ_SHIFT 8 -#define XGMAC_RQ GENMASK(7, 4) -#define XGMAC_RQ_SHIFT 4 +#define XGMAC_FPRQ GENMASK(7, 4) +#define XGMAC_FPRQ_SHIFT 4 #define XGMAC_UPQ GENMASK(3, 0) #define XGMAC_UPQ_SHIFT 0 #define XGMAC_RXQ_CTRL2 0x000000a8
Synopsys XGMAC Databook defines MAC_RxQ_Ctrl1 register: RQ: Frame Preemption Residue Queue XGMAC_FPRQ is more readable and more consistent with GMAC4. Signed-off-by: Furong Xu <0x1207@gmail.com> --- drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)