From patchwork Mon Jan 27 09:24:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 13951090 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A5DB533C9; Mon, 27 Jan 2025 09:24:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.248.49.38 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737969902; cv=none; b=DE0LwB4r7XAedsjfv2CL+NARLaaA5aFg3cWYm5Io/UK4DvctN7ssfzvnf7Nf6QyKTbaJfSjLUz1sgJAWeeEZp8WU5YMRqRb5HfqaNudFxAbgu+OsTbmcq9vAC85t0qay83we3Ot8hxIELL6wj8MOWqPuguiSQoPU97RTfI46sJA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737969902; c=relaxed/simple; bh=fyL8icdBx3mggZ+bZeDSijJ8NyngZc2J0DFZ097ziF4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ifJgwfm4iiylXtTVQsPZTL8EnDzaCHlHpuYMs5eQeYihF7sar29ZHIpwLkznmYCc4jT7pTP+ivcYY65JuYz5dtBLhpNCrB4j9xHnRQrUdS60EDii74LejKmYONue1fBn6qbiuV4e2s5/TLavOUG5jrpTSRVbOOccBy+nzsRDS+o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=socionext.com; spf=pass smtp.mailfrom=socionext.com; arc=none smtp.client-ip=202.248.49.38 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=socionext.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=socionext.com Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 27 Jan 2025 18:24:58 +0900 Received: from mail.mfilter.local (mail-arc02.css.socionext.com [10.213.46.40]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 498662006FCC; Mon, 27 Jan 2025 18:24:58 +0900 (JST) Received: from kinkan2.css.socionext.com ([172.31.9.51]) by m-FILTER with ESMTP; Mon, 27 Jan 2025 18:24:58 +0900 Received: from plum.e01.socionext.com (unknown [10.212.245.39]) by kinkan2.css.socionext.com (Postfix) with ESMTP id C1C52C3C1E; Mon, 27 Jan 2025 18:24:57 +0900 (JST) From: Kunihiko Hayashi To: Alexandre Torgue , Jose Abreu , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH net 0/3] net: stmmac: Fix usage of maximum queue number macros Date: Mon, 27 Jan 2025 18:24:47 +0900 Message-Id: <20250127092450.2945611-1-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: kuba@kernel.org The maximum number of Rx and Tx queues is defined by MTL_MAX_RX_QUEUES and MTL_MAX_TX_QUEUES respectively. There are some places where Rx and Tx are used in reverse. Currently these two values as the same and there is no impact, but need to fix the usage to keep consistency. Kunihiko Hayashi (3): net: stmmac: Fix use of queue max macros for Rx interrupt name net: stmmac: Fix use of queue max macros for Rx coalesce net: stmmac: Fix use of queue max macros for irq statistics drivers/net/ethernet/stmicro/stmmac/common.h | 4 ++-- drivers/net/ethernet/stmicro/stmmac/stmmac.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) Reviewed-by: Russell King (Oracle) Reviewed-by: Huacai Chen