diff options
author | Nithin Dabilpuram | 2023-12-05 13:34:30 +0530 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-12-13 18:39:10 +0100 |
commit | 0c8baa37bfa5e649bd02fb37098289fba67e996f (patch) | |
tree | f9d438d3253fd5e7f42bb22d36efb0944e18e4ef /tools/wmi | |
parent | d2689aea4f2e8c56692b33aadb531bd28a9cba39 (diff) |
octeontx2-af: Adjust Tx credits when MCS external bypass is disabled
[ Upstream commit dca6fa8644b89f54345e55501b1419316ba5cb29 ]
When MCS external bypass is disabled, MCS returns additional
2 credits(32B) for every packet Tx'ed on LMAC. To account for
these extra credits, NIX_AF_TX_LINKX_NORM_CREDIT.CC_MCS_CNT
needs to be configured as otherwise NIX Tx credits would overflow
and will never be returned to idle state credit count
causing issues with credit control and MTU change.
This patch fixes the same by configuring CC_MCS_CNT at probe
time for MCS enabled SoC's
Fixes: bd69476e86fc ("octeontx2-af: cn10k: mcs: Install a default TCAM for normal traffic")
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/wmi')
0 files changed, 0 insertions, 0 deletions