From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 4EEE01B6FC for ; Fri, 10 Nov 2017 15:56:17 +0100 (CET) Received: from lfbn-1-6068-189.w90-110.abo.wanadoo.fr ([90.110.3.189] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1eDAp1-0003Gs-SF; Fri, 10 Nov 2017 16:02:21 +0100 Received: by droids-corp.org (sSMTP sendmail emulation); Fri, 10 Nov 2017 15:56:09 +0100 Date: Fri, 10 Nov 2017 15:56:09 +0100 From: Olivier MATZ To: dev@dpdk.org, wenzhuo.lu@intel.com, konstantin.ananyev@intel.com Message-ID: <20171110145607.gbmki5cncydlr6qs@platinum> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Subject: [dpdk-dev] RSS when doing VF to VF on 82599 NICs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 14:56:17 -0000 Hi, I have a setup where a host and a guest communicates via 2 VFs (Intel Niantic): +----------------------------------------+ | VM | | +---+ | | | | | | | v testpmd | | icmpecho mode | | +-----+ (replies to ping) | | |VF1.2| | | | | | | +-----+ | | | | ^ | | +--- | - | -----------------------------+ +-------------+ | | v HOST | | | | . . . . . . . . . . . . . . . . . . . | | traffic | | . +-----+ . | | generator | | . |VF1.1| <---- <----- +---+ <------ | | | . | | dpdk l3fwd |PF0| | send pings | | . +-----+ ----> -----> | | ------> | at high rate| | . +---+ | | | . . . . . . . . . . . . . . . . . . . | | count | | +------+ | | received | | | PF1 | | | responses | +-------+------+-------------------------+ +-------------+ unused VF1.1 and VF1.2 are associated to PF1. The dpdk application in the host manages PF0 and VF1.1, while PF1 is managed by the Linux kernel. This test works, but we noticed that RSS is not working: only one queue receives packets on VF1.1 or VF1.2. Our understanding of the Intel 82599 datasheets is that RSS should work in VFs, the limitation is that there is only one shared RETA table and RSS hash/key for PF and VFs. We didn't find anything saying that RSS does not work when doing VF to VF. Is it supposed to work? If yes, is there anything specific to do to enable it? Thanks, Olivier