ethdev: use C11 atomics for link status
authorPhil Yang <phil.yang@arm.com>
Thu, 24 Sep 2020 05:39:28 +0000 (13:39 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 25 Sep 2020 13:42:34 +0000 (15:42 +0200)
commitf5d6738c2ec10170b0e03eb9ff95544be0559641
treea1a9c49aa09f59b0aafc3afc95290efa64e64773
parente623c943eb45c33bce420c9cc7026635cdc0343e
ethdev: use C11 atomics for link status

Since rte_atomicXX APIs are not allowed to be used, use C11 atomic
builtins for link status update.

Signed-off-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
lib/librte_ethdev/rte_ethdev_driver.h