[PATCH 02/21] common/cnxk: add pool BPID to RQ while using common pool
Jerin Jacob
jerinjacobk at gmail.com
Thu May 18 07:52:42 CEST 2023
On Tue, Apr 11, 2023 at 2:42 PM Nithin Dabilpuram
<ndabilpuram at marvell.com> wrote:
>
> From: Shijith Thotton <sthotton at marvell.com>
>
> When RQs of two different traffic classes are using the same mempool,
> BPIDs could differ between the RQs and BPID of only one RQ can be
> configured per pool. In such cases, a new BPID is configured on both RQs
> and pool or pool back-pressure is disabled.
>
> CN103xx and CN106xx B0 supports configuring multiple BPID per RQ.
>
> Signed-off-by: Shijith Thotton <sthotton at marvell.com>
> ---
> drivers/common/cnxk/roc_idev.c | 12 +++
> drivers/common/cnxk/roc_idev.h | 1 +
> drivers/common/cnxk/roc_idev_priv.h | 1 +
> drivers/common/cnxk/roc_nix.c | 5 +
> drivers/common/cnxk/roc_nix.h | 3 +
> drivers/common/cnxk/roc_nix_fc.c | 156 ++++++++++++++++------------
> drivers/common/cnxk/roc_npa.c | 48 +++++++++
> drivers/common/cnxk/roc_npa.h | 2 +
> drivers/common/cnxk/version.map | 2 +
> 9 files changed, 166 insertions(+), 64 deletions(-)
>
> diff --git a/drivers/common/cnxk/roc_nix.h b/drivers/common/cnxk/roc_nix.h
> index 2737bb9517..188b8800d3 100644
> --- a/drivers/common/cnxk/roc_nix.h
> +++ b/drivers/common/cnxk/roc_nix.h
> @@ -425,6 +425,8 @@ typedef void (*q_err_get_t)(struct roc_nix *roc_nix, void *data);
> typedef void (*link_info_get_t)(struct roc_nix *roc_nix,
> struct roc_nix_link_info *link);
>
> +TAILQ_HEAD(roc_nix_list, roc_nix);
Could you check to remove this global variable?
More information about the dev
mailing list