octeontx2-af: Fix LBK backpressure id count
authorSunil Goutham <sgoutham@marvell.com>
Fri, 21 Jan 2022 06:34:40 +0000 (12:04 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jan 2022 14:32:20 +0000 (14:32 +0000)
commit00bfe94e388fe12bfd0d4f6361b1b1343374ff5b
tree4cfb866090426f3b729ab4ecad7c3345a2d532ab
parentd225c449ab2be25273a3674f476c6c0b57c50254
octeontx2-af: Fix LBK backpressure id count

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>
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c