From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: Multiple LCore receiving from same port/queue Date: Wed, 16 Oct 2013 14:06:26 -0700 Message-ID: <20131016140626.41a07b0d@nehalam.linuxnetplumber.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Sambath Kumar Balasubramanian Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Wed, 16 Oct 2013 13:32:33 -0700 Sambath Kumar Balasubramanian 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.