Skip to content

Add TM Support for CN9K and CN10K

[email protected] dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 1 replyIn review
  2. v28 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- rebased to master and fixed build errors
- updated commit message headers

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8common/cnxk: set appropriate max frame size for SDP and LBKdrivers/common/cnxk/hw/nix.h drivers/common/cnxk/roc_nix.c+5 -11 reply
2/8common/cnxk: support SMQ flushdrivers/common/cnxk/hw/nix.h drivers/common/cnxk/roc_nix.h drivers/common/cnxk/roc_nix_tm_ops.c +1 more+58 -00 replies
3/8common/cnxk: increase sched weight and shaper burst limitdrivers/common/cnxk/hw/nix.h drivers/common/cnxk/roc_nix.h drivers/common/cnxk/roc_nix_priv.h +3 more+75 -240 replies
4/8common/cnxk: handle packet mode shaper limitsdrivers/common/cnxk/hw/nix.h drivers/common/cnxk/roc_nix_priv.h drivers/common/cnxk/roc_nix_tm_ops.c +1 more+60 -240 replies
5/8common/cnxk: support TM error type getdrivers/common/cnxk/cnxk_utils.c drivers/common/cnxk/cnxk_utils.h drivers/common/cnxk/meson.build +2 more+91 -00 replies
6/8common/cnxk: set of handlers to get TM hierarchy internalsdrivers/common/cnxk/roc_nix.h drivers/common/cnxk/roc_nix_priv.h drivers/common/cnxk/roc_nix_tm.c +3 more+121 -170 replies
7/8net/cnxk: TM capabilities and queue rate limit handlersdrivers/net/cnxk/cnxk_ethdev.c drivers/net/cnxk/cnxk_ethdev.h drivers/net/cnxk/cnxk_tm.c +2 more+346 -00 replies
8/8net/cnxk: TM shaper and node operationsdoc/guides/rel_notes/release_21_11.rst drivers/net/cnxk/cnxk_tm.c drivers/net/cnxk/cnxk_tm.h+359 -00 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchNithin Dabilpuram
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [dpdk-dev] [PATCH v3 0/8] Add TM Support for CN9K and CN10K

From: Satha Rao <[email protected]>

Initial implementation of traffic management for CN9K and CN10K platforms.

Nithin Dabilpuram (1):
common/cnxk: increase sched weight and shaper burst limit

Satha Rao (7):
common/cnxk: set appropriate max frame size for SDP and LBK common/cnxk: support SMQ flush
common/cnxk: handle packet mode shaper limits common/cnxk: support TM error type get common/cnxk: set of handlers to get TM hierarchy internals net/cnxk: TM capabilities and queue rate limit handlers net/cnxk: TM shaper and node operations

v3:

- rebased to master and fixed build errors
- updated commit message headers

v2:

- Added cover letter
- fixed meson warnings
- updated release notes

 doc/guides/rel_notes/release_21_11.rst |   1 +
 drivers/common/cnxk/cnxk_utils.c       |  68 +++
 drivers/common/cnxk/cnxk_utils.h       |  11 +
 drivers/common/cnxk/hw/nix.h           |  23 +-
 drivers/common/cnxk/meson.build        |   5 +
 drivers/common/cnxk/roc_nix.c          |   5 +-
 drivers/common/cnxk/roc_nix.h          |  34 +-
 drivers/common/cnxk/roc_nix_priv.h     |  13 +-
 drivers/common/cnxk/roc_nix_tm.c       |  24 +-
 drivers/common/cnxk/roc_nix_tm_ops.c   | 147 ++++--
 drivers/common/cnxk/roc_nix_tm_utils.c | 130 ++++-
 drivers/common/cnxk/roc_utils.c        |   6 +
 drivers/common/cnxk/version.map        |  10 +
 drivers/net/cnxk/cnxk_ethdev.c         |   2 +
 drivers/net/cnxk/cnxk_ethdev.h         |   3 +
 drivers/net/cnxk/cnxk_tm.c             | 675 +++++++++++++++++++++++++
 drivers/net/cnxk/cnxk_tm.h             |  23 +
 drivers/net/cnxk/meson.build           |   1 +
 18 files changed, 1115 insertions(+), 66 deletions(-)
 create mode 100644 drivers/common/cnxk/cnxk_utils.c
 create mode 100644 drivers/common/cnxk/cnxk_utils.h
 create mode 100644 drivers/net/cnxk/cnxk_tm.c
 create mode 100644 drivers/net/cnxk/cnxk_tm.h
Signature · 1 line
2.25.1