mbox series

[net-next,0/2] octeontx2-af: Update CPT block for CN10KB

Message ID 20240827042512.216634-1-schalla@marvell.com (mailing list archive)
Headers show
Series octeontx2-af: Update CPT block for CN10KB | expand

Message

Srujana Challa Aug. 27, 2024, 4:25 a.m. UTC
This commit addresses two key updates for the CN10KB hardware:

1. The number of FLT interrupt vectors has been reduced to 2. The code
is updated to reflect this change across the CN10K series.
2. The maximum CPT credits that RX can use are now configurable through
a hardware CSR. This patch sets the default value to optimize peak
performance, aligning it with other chip versions.

Srujana Challa (2):
  octeontx2-af: reduce cpt flt interrupt vectors for CN10KB
  octeontx2-af: configure default CPT credits

 .../net/ethernet/marvell/octeontx2/af/mbox.h  |   5 +-
 .../net/ethernet/marvell/octeontx2/af/rvu.h   |  30 +++++
 .../ethernet/marvell/octeontx2/af/rvu_cpt.c   | 108 +++++++++++++++---
 .../ethernet/marvell/octeontx2/af/rvu_reg.h   |   1 +
 .../marvell/octeontx2/af/rvu_struct.h         |   6 +-
 5 files changed, 129 insertions(+), 21 deletions(-)