mbox series

[v2,0/8] Add TM Support for CN9K and CN10K

Message ID 1631975519-30924-1-git-send-email-skoteshwar@marvell.com (mailing list archive)
Headers
Series Add TM Support for CN9K and CN10K |

Message

Satha Koteswara Rao Kottidi Sept. 18, 2021, 2:31 p.m. UTC
  From: Satha Rao <skoteshwar@marvell.com>

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: use different macros for sdp and lbk max frames
  common/cnxk: flush smq
  common/cnxk: handle packet mode shaper limits
  common/cnxk: handler to get rte tm error type
  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

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_model.h        |   6 +
 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 +
 19 files changed, 1121 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
  

Comments

Nithin Dabilpuram Sept. 20, 2021, 8:59 a.m. UTC | #1
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>

On 9/18/21 8:01 PM, skoteshwar@marvell.com wrote:
> From: Satha Rao <skoteshwar@marvell.com>
> 
> 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: use different macros for sdp and lbk max frames
>    common/cnxk: flush smq
>    common/cnxk: handle packet mode shaper limits
>    common/cnxk: handler to get rte tm error type
>    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
> 
> 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_model.h        |   6 +
>   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 +
>   19 files changed, 1121 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
>