From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH 0/6] Enable VF RSS for Niantic Date: Mon, 15 Dec 2014 10:55:20 +0000 Message-ID: <20141215105518.GC11332@bricha3-MOBL3> References: <1418612225-6095-1-git-send-email-changchun.ouyang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev-VfR2kkLFssw@public.gmane.org To: Ouyang Changchun Return-path: Content-Disposition: inline In-Reply-To: <1418612225-6095-1-git-send-email-changchun.ouyang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> 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" On Mon, Dec 15, 2014 at 10:56:59AM +0800, Ouyang Changchun wrote: > 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. > Hi Changchun, are there limitations to this support, as I understood that that RSS support for VFs was not fully available in Niantic-based hardware? /Bruce > 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 >