octeontx2-af: Change the order of queue work and interrupt disable
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Wed, 25 Aug 2021 05:39:04 +0000 (11:09 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Aug 2021 11:05:54 +0000 (12:05 +0100)
commit906999c9b653dc27d22d9a7f53a5a6637c0e670e
treebbdb83fef6f63e7d193daddeaa3aa05f57f84c90
parentae2c341eb010b5a78499fcf6a97ca47056d217ae
octeontx2-af: Change the order of queue work and interrupt disable

Clear and disable interrupt before queueing work as there might be
a chance that work gets completed on other core faster and
interrupt enable as a part of the work completes before
interrupt disable in the interrupt context. This leads to
permanent disable of interrupt.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c