From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: DPDK mbuf pool in SR-IOV env and one RX/TX queue Date: Sat, 23 Jan 2016 08:09:31 -0800 Message-ID: <20160123160930.GA16304@bricha3-MOBL3> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Saurabh Mishra Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 5A84F8E9F for ; Sat, 23 Jan 2016 17:09:34 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jan 21, 2016 at 08:35:20PM -0800, Saurabh Mishra wrote: > Hi, > > > Is it possible for two or more processes to share the same mbuf_pool in > SR-IOV with single rx/tx queue? > > The sharing of the mbuf pool is not an issue, but sharing of rx/tx queues is. The ethdev queues are not multi-thread safe, so to share a queue between processes or threads, you need to put in locks or other access control mechanisms. [This also implies a performance hit due to the locking] Regards, /Bruce