]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
octeontx2-af: Fix LBK backpressure id count
authorSunil Goutham <sgoutham@marvell.com>
Fri, 21 Jan 2022 06:34:40 +0000 (12:04 +0530)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 3 Feb 2022 09:28:52 +0000 (10:28 +0100)
commit9396abf09783708158ac042aadba290773b82639
treeaaca6d32f39bd6c9acca950ab3745d9c16bf1719
parent484d810e709ea755ef972c9837e27cbaa225cbd3
octeontx2-af: Fix LBK backpressure id count

BugLink: https://bugs.launchpad.net/bugs/1959879
[ Upstream commit 00bfe94e388fe12bfd0d4f6361b1b1343374ff5b ]

In rvu_nix_get_bpid() lbk_bpid_cnt is being read from
wrong register. Due to this backpressure enable is failing
for LBK VF32 onwards. This patch fixes that.

Fixes: fe1939bb2340 ("octeontx2-af: Add SDP interface support")
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Subbaraya Sundeep <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c