[dpdk-dev] Does the rte_eth_tx_burst() function is multi-threaded safe when sending pkt in same port and same queue ?

Stephen Hemminger stephen at networkplumber.org
Thu Jan 9 07:28:20 CET 2014

The rx and tx functions are safe only if a queue is not shared by
multiple threads (or the threads synchronize through some other
mechanism). The safest design is to only use a queue on a single core.
You will see different architectures in the examples. Some use one
queue per core, and others use separate receive and transmit cores.

On Wed, Jan 8, 2014 at 8:16 PM, chen_lp <chen_lp at neusoft.com> wrote:
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
> is intended only for the use of the intended recipient and may be confidential and/or privileged of
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
> not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying
> is strictly prohibited, and may be unlawful.If you have received this communication in error,please
> immediately notify the sender by return e-mail, and delete the original message and all copies from
> your system. Thank you.
> ---------------------------------------------------------------------------------------------------

More information about the dev mailing list