]> Git Repo - linux.git/commit
octeontx2-pf: Free pending and dropped SQEs
authorGeetha sowjanya <[email protected]>
Tue, 31 Oct 2023 11:23:45 +0000 (16:53 +0530)
committerDavid S. Miller <[email protected]>
Mon, 6 Nov 2023 08:57:15 +0000 (08:57 +0000)
commit3423ca23e08bf285a324237abe88e7e7d9becfe6
tree7ae8b1714b6f8ee7f5ffd39ba027599f395cf319
parent40cb2fdfed342e7e578d551a073687789f698d89
octeontx2-pf: Free pending and dropped SQEs

On interface down, the pending SQEs in the NIX get dropped
or drained out during SMQ flush. But skb's pointed by these
SQEs never get free or updated to the stack as respective CQE
never get added.
This patch fixes the issue by freeing all valid skb's in SQ SG list.

Fixes: b1bc8457e9d0 ("octeontx2-pf: Cleanup all receive buffers in SG descriptor")
Signed-off-by: Geetha sowjanya <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c
This page took 0.074895 seconds and 4 git commands to generate.