]> www.infradead.org Git - users/jedix/linux-maple.git/commit
octeontx2-af: configure default CPT credits for CN10KA B0
authorSrujana Challa <schalla@marvell.com>
Thu, 29 Aug 2024 08:09:35 +0000 (13:39 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2024 17:17:34 +0000 (18:17 +0100)
commit5da8de8cb3e3b01fd838536c75a36b667eca128b
tree486a8fdfca458fb3ce5b700acb4c5c1a968cf8d8
parent1652623291c50a9ec4db3c416b7d01701b4012ff
octeontx2-af: configure default CPT credits for CN10KA B0

The maximum CPT credits that RXC can use are now configurable on CN10KA B0
through a hardware CSR. This patch sets the default value to optimize peak
performance, aligning it with other chip versions.

Signed-off-by: Srujana Challa <schalla@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.h