net/qede: fix milliseconds sleep macro
authorDevendra Singh Rawat <dsinghrawat@marvell.com>
Mon, 27 Jul 2020 14:16:44 +0000 (19:46 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:09 +0000 (19:19 +0200)
commit91979430089bf897881238a168b631f1a81c5477
treeebb61b4167cf7049d3ee271df44e35e1cf374669
parent35b527441f5e253bce0142a5d02c10edddde2525
net/qede: fix milliseconds sleep macro

The macro defined for milliseconds sleep was not putting the thread
to sleep and was simply calling a delay routine. This fix redefines
the macro to call the correct rte sleep API.

Fixes: ec94dbc57362 ("qede: add base driver")
Cc: stable@dpdk.org
Signed-off-by: Devendra Singh Rawat <dsinghrawat@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Rasesh Mody <rmody@marvell.com>
drivers/net/qede/base/bcm_osal.h