[dpdk-dev] [PATCH v9 1/8] ethdev: use locks to protect Rx/Tx callback lists
Thomas Monjalon
thomas.monjalon at 6wind.com
Tue Jun 14 21:59:55 CEST 2016
2016-06-14 10:38, Reshma Pattan:
> Added spinlocks around add/remove logic of Rx and Tx callbacks
> to avoid corruption of callback lists in multithreaded context.
>
> Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>
Why cb->next is not locked in burst functions?
Just protecting add/remove but not its usage seems useless.
More information about the dev
mailing list