]> git.droids-corp.org - dpdk.git/commit
common/cnxk: support same TC value across multiple queues
authorHarman Kalra <hkalra@marvell.com>
Thu, 16 Jun 2022 09:24:12 +0000 (14:54 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 20 Jun 2022 17:15:19 +0000 (19:15 +0200)
commitcc90e35b53bb945e1cffc9ae2c18360fcfd78aff
tree153cf8d06b0386725595c2c1d6f48ba6ae62e684
parent174f2f3512f6988f567c0e96c30588caa6e74700
common/cnxk: support same TC value across multiple queues

User may want to configure same TC value across multiple queues, but
for that all queues should have a common TL3 where this TC value will
get configured.

Changed the pfc_tc_cq_map/pfc_tc_sq_map array indexing to qid and store
TC values in the array. As multiple queues may have same TC value.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
drivers/common/cnxk/roc_dev.c
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_tm.c
drivers/common/cnxk/roc_nix_tm_ops.c