[13/13] common/cnxk: use SQ enable and disable API
Checks
Commit Message
Use SQ enable and disable API in TM setup to affect
the state change.
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
---
drivers/common/cnxk/roc_nix_tm_ops.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Thu, Feb 8, 2024 at 2:32 PM Nithin Dabilpuram
<ndabilpuram@marvell.com> wrote:
>
> Use SQ enable and disable API in TM setup to affect
> the state change.
>
> Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Please fix
Wrong headline prefix:
common/cnxk: remove cn9k Inline IPsec FP opcode defines
common/cnxk: skip setting Tx MTU separately
Is it candidate for Cc: stable@dpdk.org backport?
common/cnxk: remove cn9k Inline IPsec FP opcode defines
net/cnxk: fix issue with buff size compute
net/cnxk: fix max MTU limit
net/cnxk: fix indirect mbuf handling in Tx path
net/cnxk: fix check cookies for multi-seg offload
common/cnxk: add IO attribute to mbox structs
Invalid patch(es) found - checked 14 patches
check-git-log failed
### [PATCH] net/cnxk: fix indirect mbuf handling in Tx path
Warning in drivers/net/cnxk/cn10k_tx.h:
Using __atomic_xxx/__ATOMIC_XXX built-ins, prefer
rte_atomic_xxx/rte_memory_order_xxx
@@ -495,7 +495,7 @@ roc_nix_tm_hierarchy_disable(struct roc_nix *roc_nix)
if (!sq)
continue;
- rc = roc_nix_tm_sq_aura_fc(sq, false);
+ rc = roc_nix_sq_ena_dis(sq, false);
if (rc) {
plt_err("Failed to disable sqb aura fc, rc=%d", rc);
goto cleanup;
@@ -607,7 +607,7 @@ roc_nix_tm_hierarchy_xmit_enable(struct roc_nix *roc_nix, enum roc_nix_tm_tree t
sq_id = node->id;
sq = nix->sqs[sq_id];
- rc = roc_nix_tm_sq_aura_fc(sq, true);
+ rc = roc_nix_sq_ena_dis(sq, true);
if (rc) {
plt_err("TM sw xon failed on SQ %u, rc=%d", node->id,
rc);