octeontx2-af: Retry until RVU block reset complete
authorGeetha sowjanya <gakula@marvell.com>
Fri, 21 Jan 2022 06:34:41 +0000 (12:04 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jan 2022 14:32:20 +0000 (14:32 +0000)
commit03ffbc9914bd1130fba464f0a41c01372e5fc359
tree7d2ebd010fac81a41f8377ada7b2081a38de32a2
parent00bfe94e388fe12bfd0d4f6361b1b1343374ff5b
octeontx2-af: Retry until RVU block reset complete

Few RVU blocks like SSO require more time for reset on some
silicons. Hence retrying the block reset until success.

Fixes: c0fa2cff8822c ("octeontx2-af: Handle return value in block reset")
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
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>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c