net/txgbe: replace forbidden functions
authorJiawen Wu <jiawenwu@trustnetic.com>
Fri, 6 Nov 2020 02:10:53 +0000 (10:10 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Nov 2020 15:26:54 +0000 (16:26 +0100)
commitf2f55ea457a108a5f11778c4edf3cf907cfca1b7
tree25a8c8a7f5672fcb83c91eda4671d37ac5c1fa4f
parent876b5d52a3952cde9cd84d5e2e5188886cc1bfd5
net/txgbe: replace forbidden functions

Remove rte_panic(), and use rte_atomic_thread_fence()
instead of rte_smp_[r/w]mb.

Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/txgbe/base/txgbe_osdep.h
drivers/net/txgbe/txgbe_rxtx.c