ethdev: replace full barrier with relaxed barrier
authorPhil Yang <phil.yang@arm.com>
Tue, 13 Oct 2020 16:25:36 +0000 (11:25 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:48:18 +0000 (19:48 +0200)
commit8dd4b2afc7b3aabcd364f9638cc7f476d48096ff
tree44fc82882646cf0ddf98ccf870b038a3a549abd7
parent55509e3a49fb28317c1e56a534cdcc4a3849df79
ethdev: replace full barrier with relaxed barrier

While registering the call back functions full write barrier
can be replaced with one-way write barrier.

Signed-off-by: Phil Yang <phil.yang@arm.com>
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_ethdev/rte_ethdev.c