Skip to content

octeontx2-af: Debugfs support and updates to parser profile

[email protected] netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 1 replyIn review
  2. v118 patches 3 repliesSuperseded

Changes in v2 from the cover letter

Removed inline keyword for newly introduced APIs in few patches.
- Suggested by David Miller.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18octeontx2-af: Dump current resource provisioning statusdrivers/net/ethernet/marvell/octeontx2/af/Makefile drivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu.h +1 more+169 -10 replies
2/18octeontx2-af: Add NPA aura and pool contexts to debugfsdrivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c+530 -20 replies
3/18octeontx2-af: Add NIX RQ, SQ and CQ contexts to debugfsdrivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c drivers/net/ethernet/marvell/octeontx2/af/rvu_struct.h+507 -20 replies
4/18octeontx2-af: Add NDC block stats to debugfs.drivers/net/ethernet/marvell/octeontx2/af/common.h drivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c +2 more+201 -200 replies
5/18octeontx2-af: Add CGX LMAC stats to debugfsdrivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c+163 -00 replies
6/18octeontx2-af: Add per CGX port level NIX Rx/Tx countersdrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h drivers/net/ethernet/marvell/octeontx2/af/rvu.h +2 more+173 -20 replies
7/18octeontx2-af: Add NPC MCAM entry allocation status to debugfsdrivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c+213 -10 replies
8/18octeontx2-af: Add mbox API to validate all responsesdrivers/net/ethernet/marvell/octeontx2/af/mbox.c drivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu.c +1 more+70 -120 replies
9/18octeontx2-af: Sync hw mbox with bounce buffer.drivers/net/ethernet/marvell/octeontx2/af/mbox.c drivers/net/ethernet/marvell/octeontx2/af/mbox.h+30 -130 replies
10/18octeontx2-af: Add macro to generate mbox handlers declarationsdrivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu.h+17 -1340 replies
11/18octeontx2-af: Update NPC KPU packet parsing profiledrivers/net/ethernet/marvell/octeontx2/af/npc.h drivers/net/ethernet/marvell/octeontx2/af/npc_profile.h drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c +1 more+11252 -38080 replies
12/18octeontx2-af: Clear NPC MCAM entries before updatedrivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c+31 -20 replies
13/18octeontx2-af: Add more RSS algorithmsdrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c+114 -110 replies
14/18octeontx2-af: Support fixed transmit scheduler topologydrivers/net/ethernet/marvell/octeontx2/af/cgx.c drivers/net/ethernet/marvell/octeontx2/af/cgx.h drivers/net/ethernet/marvell/octeontx2/af/mbox.h +6 more+513 -2590 replies
15/18octeontx2-af: Enable broadcast packet replicationdrivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c +1 more+69 -590 replies
16/18octeontx2-af: Support configurable NDC cache way_maskdrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c+28 -110 replies
17/18octeontx2-af: Add option to disable dynamic entry caching in NDCdrivers/net/ethernet/marvell/octeontx2/Kconfig drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c+113 -30 replies
18/18octeontx2-af: Start/Stop traffic in CGX along with NPCdrivers/net/ethernet/marvell/octeontx2/af/rvu.c drivers/net/ethernet/marvell/octeontx2/af/rvu.h drivers/net/ethernet/marvell/octeontx2/af/rvu_cgx.c +1 more+65 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/18] octeontx2-af: Debugfs support and updates to parser profile

From: Sunil Goutham <[email protected]>

This patchset adds debugfs support to dump various HW state machine info which helps in debugging issues. Info includes
- Current queue context, stats, resource utilization etc
- MCAM entry utilization, miss and pkt drop counter
- CGX ingress and egress stats
- Current RVU block allocation status
- etc.

Rest patches has changes wrt
- Updated packet parsing profile for parsing more protocols.
- RSS algorithms to include inner protocols while generating hash
- Handle current version of silicon's limitations wrt shaping, coloring and fixed mapping of transmit limiter queue's configuration.
- Enable broadcast packet replication to PF and it's VFs.
- Support for configurable NDC cache waymask
- etc

Changes from v1:
Removed inline keyword for newly introduced APIs in few patches.
- Suggested by David Miller.

Christina Jacob (2):
octeontx2-af: Dump current resource provisioning status
octeontx2-af: Add NPA aura and pool contexts to debugfs

Geetha sowjanya (2):
octeontx2-af: Sync hw mbox with bounce buffer.
octeontx2-af: Support configurable NDC cache way_mask

Hao Zheng (1):
octeontx2-af: Update NPC KPU packet parsing profile

Kiran Kumar K (1):
octeontx2-af: Add more RSS algorithms

Linu Cherian (1):
octeontx2-af: Add per CGX port level NIX Rx/Tx counters

Nithin Dabilpuram (1):
octeontx2-af: Clear NPC MCAM entries before update

Prakash Brahmajyosyula (3):
octeontx2-af: Add NIX RQ, SQ and CQ contexts to debugfs
octeontx2-af: Add NDC block stats to debugfs.
octeontx2-af: Add CGX LMAC stats to debugfs

Subbaraya Sundeep (2):
octeontx2-af: Add macro to generate mbox handlers declarations
octeontx2-af: Start/Stop traffic in CGX along with NPC

Sunil Goutham (5):
octeontx2-af: Add NPC MCAM entry allocation status to debugfs
octeontx2-af: Add mbox API to validate all responses
octeontx2-af: Support fixed transmit scheduler topology
octeontx2-af: Enable broadcast packet replication
octeontx2-af: Add option to disable dynamic entry caching in NDC

 drivers/net/ethernet/marvell/octeontx2/Kconfig     |    10 +
 drivers/net/ethernet/marvell/octeontx2/af/Makefile |     2 +-
 drivers/net/ethernet/marvell/octeontx2/af/cgx.c    |    60 +
 drivers/net/ethernet/marvell/octeontx2/af/cgx.h    |    13 +
 drivers/net/ethernet/marvell/octeontx2/af/common.h |    16 +
 drivers/net/ethernet/marvell/octeontx2/af/mbox.c   |    87 +-
 drivers/net/ethernet/marvell/octeontx2/af/mbox.h   |    28 +-
 drivers/net/ethernet/marvell/octeontx2/af/npc.h    |    95 +-
 .../ethernet/marvell/octeontx2/af/npc_profile.h    | 14946 ++++++++++++++-----
 drivers/net/ethernet/marvell/octeontx2/af/rvu.c    |   116 +-
 drivers/net/ethernet/marvell/octeontx2/af/rvu.h    |   217 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_cgx.c    |   129 +-
 .../ethernet/marvell/octeontx2/af/rvu_debugfs.c    |  1711 +++
 .../net/ethernet/marvell/octeontx2/af/rvu_nix.c    |   876 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_npa.c    |    55 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_npc.c    |   187 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_reg.h    |    28 +-
 .../net/ethernet/marvell/octeontx2/af/rvu_struct.h |    36 +-
 18 files changed, 14258 insertions(+), 4354 deletions(-)
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c
Signature · 1 line
2.7.4