net/hns3: use C11 atomics builtins for resetting
authorLijun Ou <oulijun@huawei.com>
Thu, 14 Jan 2021 13:33:30 +0000 (21:33 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 Jan 2021 02:30:32 +0000 (03:30 +0100)
commit1f089a3a80c383b74fad89351a632720a6bc09b7
tree187d02bddc68e3fd1efabea327e829ff8c6dd1bb
parent0dad8b3d4cbca12907f6bf7b4204ac7de6e76aeb
net/hns3: use C11 atomics builtins for resetting

Use C11 atomic builtins with explicit ordering instead of
rte_atomic ops with the resetting member of hns3_reset_data
structure.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
drivers/net/hns3/hns3_dcb.c
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev.h
drivers/net/hns3/hns3_ethdev_vf.c
drivers/net/hns3/hns3_intr.c
drivers/net/hns3/hns3_rxtx.c