]> git.droids-corp.org - dpdk.git/commit
common/cnxk: add timeout for ctx write operation
authorAnoob Joseph <anoobj@marvell.com>
Mon, 25 Apr 2022 05:38:24 +0000 (11:08 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Thu, 28 Apr 2022 09:46:23 +0000 (11:46 +0200)
commited96337581ae42dbcedd86652b55e91b51444a91
tree5833f13ddf7f9cd8e691992e79d621ab7756422c
parent6fb81d26709cf95da323680b3c7afad08e553fc1
common/cnxk: add timeout for ctx write operation

Add busy wait and polling for ctx write operation
rather than waiting with 1 ms delay.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/common/cnxk/roc_cpt.c
drivers/common/cnxk/roc_platform.h