From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: RSS when doing VF to VF on 82599 NICs Date: Fri, 10 Nov 2017 15:56:09 +0100 Message-ID: <20171110145607.gbmki5cncydlr6qs@platinum> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: dev@dpdk.org, wenzhuo.lu@intel.com, konstantin.ananyev@intel.com 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) Content-Disposition: inline List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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