common/cnxk: add PFC support for VF
authorSunil Kumar Kori <skori@marvell.com>
Thu, 16 Jun 2022 09:24:11 +0000 (14:54 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 20 Jun 2022 17:15:17 +0000 (19:15 +0200)
commit174f2f3512f6988f567c0e96c30588caa6e74700
tree36bff6514ea3b1daee6f3f46939306602eacbc8e
parent9f8f18037da0acd16d21f4131c22340ef9f7d77f
common/cnxk: add PFC support for VF

Current PFC implementation does not support VFs.
This 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")
Cc: stable@dpdk.org
Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_fc.c
drivers/common/cnxk/roc_nix_priv.h
drivers/common/cnxk/roc_nix_queue.c
drivers/common/cnxk/roc_nix_tm.c
drivers/common/cnxk/version.map
drivers/event/cnxk/cnxk_eventdev_adptr.c
drivers/net/cnxk/cnxk_ethdev.h