[03/11] common/cnxk: set default SQ TC value
Checks
Commit Message
From: Satha Rao <skoteshwar@marvell.com>
Zero is valid TC, initialize SQ TC value to ROC_NIX_PFC_CLASS_INVALID.
Signed-off-by: Satha Rao <skoteshwar@marvell.com>
---
drivers/common/cnxk/roc_nix_queue.c | 1 +
1 file changed, 1 insertion(+)
@@ -1235,6 +1235,7 @@ roc_nix_sq_init(struct roc_nix *roc_nix, struct roc_nix_sq *sq)
return NIX_ERR_QUEUE_INVALID_RANGE;
sq->roc_nix = roc_nix;
+ sq->tc = ROC_NIX_PFC_CLASS_INVALID;
/*
* Allocate memory for flow control updates from HW.
* Alloc one cache line, so that fits all FC_STYPE modes.