octeontx2-pf: Fix graceful exit during PFC configuration failure
authorSuman Ghosh <sumang@marvell.com>
Wed, 13 Dec 2023 18:10:44 +0000 (23:40 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2023 10:28:07 +0000 (10:28 +0000)
commit8c97ab5448f2096daba11edf8d18a44e1eb6f31d
treee5d7a14e8b834165731637531419c308a9b6f54f
parent738b54b9b6236f573eed2453c4cbfa77326793e2
octeontx2-pf: Fix graceful exit during PFC configuration failure

During PFC configuration failure the code was not handling a graceful
exit. This patch fixes the same and add proper code for a graceful exit.

Fixes: 99c969a83d82 ("octeontx2-pf: Add egress PFC support")
Signed-off-by: Suman Ghosh <sumang@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c