net/thunderx: use new API to save cycles on aarch64
authorGavin Hu <gavin.hu@arm.com>
Thu, 7 Nov 2019 21:35:27 +0000 (22:35 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 17 Jan 2020 11:02:21 +0000 (12:02 +0100)
commit52c8620022e9a7db15919fddb30491c01ce82cfa
treeb4b37d49b45b57e68a5bcc5a37f66d5c3c113821
parentb13a21890a83411ca399a74eeb785b914359171f
net/thunderx: use new API to save cycles on aarch64

Use the new API to wait in low power state instead of continuous
polling to save CPU cycles and power.

Signed-off-by: Gavin Hu <gavin.hu@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/thunderx/Makefile
drivers/net/thunderx/meson.build
drivers/net/thunderx/nicvf_rxtx.c