[dpdk-dev] Multiple LCore receiving from same port/queue

Stephen Hemminger stephen at networkplumber.org
Wed Oct 16 23:06:26 CEST 2013


On Wed, 16 Oct 2013 13:32:33 -0700
Sambath Kumar Balasubramanian <sambath.balasubramanian at gmail.com> wrote:

> Hi,
> 
>   I have a test dpdk application with 2 lcores receiving packets
> using rte_eth_rx_burst API. Is this a supported packet processing model.
> The reason I am asking is I am running into some trouble with this model.
> 
> Thanks,
> Sambath

For performance reasons, receive and transmit functions are not thread safe.
You need to have one queue per lcore, or use locking.


More information about the dev mailing list