From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 23 Jan 2016 08:09:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,336,1449561600"; d="scan'208";a="732976487" Received: from bmtallap-mobl1.amr.corp.intel.com ([10.254.68.134]) by orsmga003.jf.intel.com with SMTP; 23 Jan 2016 08:09:32 -0800 Received: by (sSMTP sendmail emulation); Sat, 23 Jan 2016 08:09:31 -0700 Date: Sat, 23 Jan 2016 08:09:31 -0800 From: Bruce Richardson To: Saurabh Mishra Message-ID: <20160123160930.GA16304@bricha3-MOBL3> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] DPDK mbuf pool in SR-IOV env and one RX/TX queue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2016 16:09:34 -0000 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