linux-brain/drivers/net/ethernet/marvell/octeontx2/af
Subbaraya Sundeep b3fe6d1921 octeontx2-af: Fix loop in free and unmap counter
[ Upstream commit 6537e96d743b89294b397b4865c6c061abae31b0 ]

When the given counter does not belong to the entry
then code ends up in infinite loop because the loop
cursor, entry is not getting updated further. This
patch fixes that by updating entry for every iteration.

Fixes: a958dd59f9 ("octeontx2-af: Map or unmap NPC MCAM entry and counter")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:47:38 +02:00
..
cgx_fw_if.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
cgx.c octeontx2-af: fix memory leak of lmac and lmac->name 2021-01-17 14:05:32 +01:00
cgx.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
common.h octeontx2-af: change (struct qmem)->entry_sz from u8 to u16 2020-08-21 13:05:30 +02:00
Makefile
mbox.c
mbox.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
npc_profile.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
npc.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
rvu_cgx.c octeontx2-af: Bringup CGX LMAC links by default 2018-11-23 17:23:25 -08:00
rvu_nix.c octeontx2-af: Add LSO format configuration mailbox 2018-12-03 16:23:08 -08:00
rvu_npa.c octeontx2-af: Teardown NPA, NIX LF upon receiving FLR 2018-11-19 17:56:08 -08:00
rvu_npc.c octeontx2-af: Fix loop in free and unmap counter 2021-09-15 09:47:38 +02:00
rvu_reg.c
rvu_reg.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
rvu_struct.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00
rvu.c octeontx2-af: Fix irq free in rvu teardown 2021-03-30 14:35:27 +02:00
rvu.h octeontx2-af: Use the correct style for SPDX License Identifier 2019-11-16 12:14:20 -08:00