[PATCH v8 1/2] common/cnxk: support priority flow ctrl config API
Ray Kinsella
mdr at ashroe.eu
Mon Feb 14 11:06:52 CET 2022
skori at marvell.com writes:
> From: Sunil Kumar Kori <skori at marvell.com>
>
> CNXK platforms support priority flow control(802.1qbb) to pause
> respective traffic per class on that link.
>
> Patch adds RoC interface to configure priority flow control on MAC
> block i.e. CGX on cn9k and RPM on cn10k.
>
> Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
> ---
> v1..v2:
> - fix RoC API naming convention.
>
> v2..v3:
> - fix pause quanta configuration for cn10k.
> - remove unnecessary code
>
> v3..v4:
> - fix PFC configuration with other type of TM tree
> i.e. default, user and rate limit tree.
>
> v4..v5:
> - rebase on top of tree
> - fix review comments
> - fix initialization error for LBK devices
>
> v5..v6:
> - fix review comments
>
> v6..v7:
> - no change
>
> v7..v8:
> - rebase on top of 22.03-rc1
>
> drivers/common/cnxk/roc_mbox.h | 19 ++-
> drivers/common/cnxk/roc_nix.h | 21 ++++
> drivers/common/cnxk/roc_nix_fc.c | 95 +++++++++++++--
> drivers/common/cnxk/roc_nix_priv.h | 6 +-
> drivers/common/cnxk/roc_nix_tm.c | 171 ++++++++++++++++++++++++++-
> drivers/common/cnxk/roc_nix_tm_ops.c | 14 ++-
> drivers/common/cnxk/version.map | 4 +
> 7 files changed, 310 insertions(+), 20 deletions(-)
Acked-by: Ray Kinsella <mdr at ashroe.eu>
--
Regards, Ray K
More information about the dev
mailing list