numam-dpdk/lib/librte_ethdev
Honnappa Nagarahalli 2b69bd1179 ethdev: fix memory ordering for callback functions
Call back functions are registered on the control plane. They
are accessed from the data plane. Hence, correct memory orderings
should be used to avoid race conditions.

Fixes: 4dc294158cac ("ethdev: support optional Rx and Tx callbacks")
Fixes: c8231c63ddcb ("ethdev: insert Rx callback as head of list")
Cc: stable@dpdk.org

Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Ola Liljedahl <ola.liljedahl@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2020-10-16 19:48:18 +02:00
..
2019-10-27 22:03:06 +01:00
2020-05-11 00:37:16 +02:00
2020-10-09 13:17:43 +02:00
2020-04-23 15:40:06 +02:00
2020-04-23 15:40:06 +02:00
2018-04-27 18:01:00 +01:00