[dpdk-dev] DPDK mbuf pool in SR-IOV env and one RX/TX queue

Bruce Richardson bruce.richardson at intel.com
Sat Jan 23 17:09:31 CET 2016


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



More information about the dev mailing list