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 17DDE68C3 for ; Thu, 29 May 2014 09:18:34 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 29 May 2014 00:18:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.98,932,1392192000"; d="scan'208";a="546602089" Received: from shilc102.sh.intel.com ([10.239.39.44]) by fmsmga002.fm.intel.com with ESMTP; 29 May 2014 00:18:31 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shilc102.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s4T7IRjm018127; Thu, 29 May 2014 15:18:29 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s4T7IPF6025688; Thu, 29 May 2014 15:18:27 +0800 Received: (from couyang@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s4T7IKRR025684; Thu, 29 May 2014 15:18:20 +0800 From: Ouyang Changchun To: dev@dpdk.org Date: Thu, 29 May 2014 15:18:18 +0800 Message-Id: <1401347900-25587-1-git-send-email-changchun.ouyang@intel.com> X-Mailer: git-send-email 1.7.0.7 Cc: min.cao@intel.com Subject: [dpdk-dev] [PATCH v4 0/2] Support multiple queues feature in DPDK based virtio-net frontend 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: Thu, 29 May 2014 07:18:36 -0000 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