DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK mbuf pool in SR-IOV env and one RX/TX queue
@ 2016-01-21 22:24 Saurabh Mishra
  0 siblings, 0 replies; only message in thread
From: Saurabh Mishra @ 2016-01-21 22:24 UTC (permalink / raw)
  To: users

Hi,


Is it possible for two or more processes to share the same mbuf_pool in
SR-IOV with single rx/tx queue?



rte_pktmbuf_pool_create(mbuf_pool_name,
NB_MBUFS,

                            MBUF_CACHE_SIZE, 0,
RTE_MBUF_DEFAULT_BUF_SIZE,

                            rte_socket_id());



We have seen that it does not work. However, with PCI passthrough of whole
NIC, we can easily share same mbuf_pool with many processes.


What are the limitations with SR-IOV and DPDK? If we create one primary and
no secondary proc-type, then that seems to work with SR-IOV. However, the
moment we add a secondary process, rte_mempool_lookup() returns NULL.


Note that we see only 1 queue for rx and tx and multi-queue gets disabled
the moment we enable VFs.


[683877.050219] ixgbe 0000:06:00.0: *Multi*queue Disabled: Rx Queue count =
1, Tx Queue count = 1

[683879.799872] ixgbe 0000:06:00.1: *Multi*queue Disabled: Rx Queue count =
1, Tx Queue count = 1



The device is question is as follows:



06:00.0 *Ether*net controller: Intel Corporation 82599ES 10-Gigabit
SFI/SFP+ Network Connection (rev 01)

06:00.1 *Ether*net controller: Intel Corporation 82599ES 10-Gigabit
SFI/SFP+ Network Connection (rev 01)

06:10.0 *Ether*net controller: Intel Corporation 82599 *Ether*net
Controller Virtual Function (rev 01)

06:10.1 *Ether*net controller: Intel Corporation 82599 *Ether*net
Controller Virtual Function (rev 01)

06:10.2 *Ether*net controller: Intel Corporation 82599 *Ether*net
Controller Virtual Function (rev 01)

06:10.3 *Ether*net controller: Intel Corporation 82599 *Ether*net
Controller Virtual Function (rev 01)



Thanks,

/Saurabh

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-21 22:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-21 22:24 [dpdk-users] DPDK mbuf pool in SR-IOV env and one RX/TX queue Saurabh Mishra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).