netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next RESEND] octeontx2-af: Increase maximum BPID channels
@ 2024-03-26 18:45 Radha Mohan Chintakuntla
  2024-03-29 19:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Radha Mohan Chintakuntla @ 2024-03-26 18:45 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni, netdev, linux-kernel, sgoutham,
	lcherian, gakula, hkelam, jerinj, sbhatta, horms
  Cc: Radha Mohan Chintakuntla

Any NIX interface type can have maximum 256 channels. So increased the
backpressure ID count to 256 so that it can cover cn9k and cn10k SoCs that
have different NIX interface types with varied maximum channels.

Signed-off-by: Radha Mohan Chintakuntla <radhac@marvell.com>
---
Note: Earlier version didn't have 'net-next' designation in subject. No
other changes.

 drivers/net/ethernet/marvell/octeontx2/af/mbox.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
index eb2a20b5a0d0..3d801a1a4f70 100644
--- a/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
+++ b/drivers/net/ethernet/marvell/octeontx2/af/mbox.h
@@ -1213,10 +1213,8 @@ struct nix_bp_cfg_req {
 	/* bpid_per_chan = 1 assigns separate bp id for each channel */
 };
 
-/* PF can be mapped to either CGX or LBK interface,
- * so maximum 64 channels are possible.
- */
-#define NIX_MAX_BPID_CHAN	64
+/* Maximum channels any single NIX interface can have */
+#define NIX_MAX_BPID_CHAN	256
 struct nix_bp_cfg_rsp {
 	struct mbox_msghdr hdr;
 	u16	chan_bpid[NIX_MAX_BPID_CHAN]; /* Channel and bpid mapping */
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next RESEND] octeontx2-af: Increase maximum BPID channels
  2024-03-26 18:45 [PATCH net-next RESEND] octeontx2-af: Increase maximum BPID channels Radha Mohan Chintakuntla
@ 2024-03-29 19:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-03-29 19:30 UTC (permalink / raw)
  To: Radha Mohan Chintakuntla
  Cc: davem, edumazet, kuba, pabeni, netdev, linux-kernel, sgoutham,
	lcherian, gakula, hkelam, jerinj, sbhatta, horms

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 26 Mar 2024 11:45:14 -0700 you wrote:
> Any NIX interface type can have maximum 256 channels. So increased the
> backpressure ID count to 256 so that it can cover cn9k and cn10k SoCs that
> have different NIX interface types with varied maximum channels.
> 
> Signed-off-by: Radha Mohan Chintakuntla <radhac@marvell.com>
> ---
> Note: Earlier version didn't have 'net-next' designation in subject. No
> other changes.
> 
> [...]

Here is the summary with links:
  - [net-next,RESEND] octeontx2-af: Increase maximum BPID channels
    https://git.kernel.org/netdev/net-next/c/b6694abcf5df

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-29 19:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-26 18:45 [PATCH net-next RESEND] octeontx2-af: Increase maximum BPID channels Radha Mohan Chintakuntla
2024-03-29 19:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).