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 920528040 for ; Mon, 15 Dec 2014 03:57:21 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 14 Dec 2014 18:57:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="428930613" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 14 Dec 2014 18:46:11 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id sBF2v7Mm020103; Mon, 15 Dec 2014 10:57:07 +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 sBF2v5Uj006128; Mon, 15 Dec 2014 10:57:07 +0800 Received: (from couyang@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id sBF2v53d006124; Mon, 15 Dec 2014 10:57:05 +0800 From: Ouyang Changchun To: dev@dpdk.org Date: Mon, 15 Dec 2014 10:56:59 +0800 Message-Id: <1418612225-6095-1-git-send-email-changchun.ouyang@intel.com> X-Mailer: git-send-email 1.7.12.2 Subject: [dpdk-dev] [PATCH 0/6] Enable VF RSS for Niantic 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: Mon, 15 Dec 2014 02:57:22 -0000 This patch enables VF RSS for Niantic, which allow each VF having at most 4 queues. The actual queue number per VF depends on the number of VF: VF number from 1~32: 4 queues per VF; VF number from 33~max vf num: 2 queues per VF; On host, to enable VF RSS functionality, mq mode should be set as ETH_MQ_RX_VMDQ_RSS or ETH_MQ_RX_RSS mode, and SRIOV mode should be activated. It also needs config VF RSS information like hash function, RSS key, RSS key length. Changchun Ouyang (6): ixgbe: Code cleanup ixgbe: Negotiate VF API version ixgbe: Get VF queue number ether: Check VMDq RSS mode ixgbe: Config VF RSS testpmd: Set Rx VMDq RSS mode app/test-pmd/testpmd.c | 9 ++++ lib/librte_ether/rte_ethdev.c | 21 ++++++-- lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 1 + lib/librte_pmd_ixgbe/ixgbe_pf.c | 75 ++++++++++++++++++++++++++++- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 95 +++++++++++++++++++++++++++---------- 5 files changed, 171 insertions(+), 30 deletions(-) -- 1.8.4.2