]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: Reduce mbox wait response time.
authorGeetha sowjanya <gakula@marvell.com>
Mon, 2 Mar 2020 09:59:01 +0000 (15:29 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2020 19:13:58 +0000 (11:13 -0800)
commit5476d7bf9aaff2fd32ab918233b1fb2caeaa2ebc
tree4f684501146b9b9563997dece69be8836c463187
parent2e1034f1eaaa18f712639d408cd0475815581f95
net: thunderx: Reduce mbox wait response time.

Replace msleep() with usleep_range() as internally it uses hrtimers.
This will put a cap on maximum wait time.

Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nicvf_main.c