[PATCH 03/12] common/cnxk: add PFC support for VFs

Ray Kinsella mdr at ashroe.eu
Thu Jun 23 18:01:39 CEST 2022


Nithin Dabilpuram <ndabilpuram at marvell.com> writes:

> From: Sunil Kumar Kori <skori at marvell.com>
>
> Current PFC implementation does not support VFs.
> Patch enables PFC on VFs too.
>
> Also fix the config of aura.bp to be based on number
> of buffers(aura.limit) and corresponding shift
> value(aura.shift).
> Fixes: cb4bfd6e7bdf ("event/cnxk: support Rx adapter")
>
> Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
> ---
>  drivers/common/cnxk/roc_nix.h            |  14 +++-
>  drivers/common/cnxk/roc_nix_fc.c         | 120 +++++++++++++++++++++++++++----
>  drivers/common/cnxk/roc_nix_priv.h       |   2 +
>  drivers/common/cnxk/roc_nix_queue.c      |  47 ++++++++++++
>  drivers/common/cnxk/roc_nix_tm.c         |  67 +++++++++--------
>  drivers/common/cnxk/version.map          |   3 +-
>  drivers/event/cnxk/cnxk_eventdev_adptr.c |  12 ++--
>  drivers/net/cnxk/cnxk_ethdev.h           |   2 +
>  8 files changed, 217 insertions(+), 50 deletions(-)


Acked-by: Ray Kinsella <mdr at ashroe.eu>


More information about the dev mailing list