From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ouyang Changchun Subject: [PATCH v4 0/2] Support multiple queues feature in DPDK based virtio-net frontend Date: Thu, 29 May 2014 15:18:18 +0800 Message-ID: <1401347900-25587-1-git-send-email-changchun.ouyang@intel.com> Cc: min.cao-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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