[dpdk-dev] [PATCH v4 0/2] Support multiple queues feature in DPDK based virtio-net frontend

Ouyang Changchun changchun.ouyang at intel.com
Thu May 29 09:18:18 CEST 2014


This v4 patch series replace previous v1, v2, v3 patch for virtio-net multiple queues feature.
Please apply this v4 patch series and ignore previous patches.

It splits previous one patch into the following 2 patches for easy to review:
Cleanup the existing codes in virtio-net PMD;
Support multiple queues feature in DPDK based virtio-net frontend;

In sum, this patch supports multiple queues feature in DPDK based virtio-net frontend.
It firstly gets max queue number of virtio-net from virtio PCI configuration and
then send command to negotiate the queue number with backend; When receiving and
transmitting packets, it negotiates multiple virtio-net queues which serve RX/TX;
To utilize this feature, the backend also need support multiple queues feature
and enable it.

Ouyang Changchun (2):
  Cleanup the existing codes in virtio-net PMD.
  Support multiple queues feature in DPDK based virtio-net frontend.

 lib/librte_pmd_virtio/virtio_ethdev.c | 377 ++++++++++++++++++++++++++++------
 lib/librte_pmd_virtio/virtio_ethdev.h |  40 ++--
 lib/librte_pmd_virtio/virtio_pci.h    |   4 +-
 lib/librte_pmd_virtio/virtio_rxtx.c   |  92 +++++++--
 lib/librte_pmd_virtio/virtqueue.h     |  61 ++++--
 5 files changed, 458 insertions(+), 116 deletions(-)

-- 
1.9.0



More information about the dev mailing list