From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-00169c01.pphosted.com (mx0a-00169c01.pphosted.com [67.231.148.124]) by dpdk.org (Postfix) with ESMTP id 694292E8A for ; Sat, 13 Dec 2014 02:44:38 +0100 (CET) Received: from pps.filterd (m0045114.ppops.net [127.0.0.1]) by mx0a-00169c01.pphosted.com (8.14.5/8.14.5) with SMTP id sBD1f9Am008826 for ; Fri, 12 Dec 2014 17:44:37 -0800 Received: from webmail.paloaltonetworks.com (webmail.paloaltonetworks.com [199.167.52.51]) by mx0a-00169c01.pphosted.com with ESMTP id 1r8231reqw-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Fri, 12 Dec 2014 17:44:36 -0800 Received: from SJCCMBXPW01P.paloaltonetworks.local ([169.254.3.116]) by sjcchtcvw01p.paloaltonetworks.local ([fe80::fd9b:2a5d:1bc6:f9e1%10]) with mapi id 14.03.0158.001; Fri, 12 Dec 2014 17:44:36 -0800 From: Anant Mudambi To: "dev@dpdk.org" Thread-Topic: Using multi-queue with RSS on X540 VF Thread-Index: AQHQFnZZdLN4Jibenk+QOn8IkHcBVw== Date: Sat, 13 Dec 2014 01:44:36 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.35.11.158] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68, 1.0.33, 0.0.0000 definitions=2014-12-12_08:2014-12-12,2014-12-12,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 kscore.is_bulkscore=0 kscore.compositescore=1 circleOfTrustscore=0 compositescore=0.924392716097457 urlsuspect_oldscore=0.924392716097457 suspectscore=0 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=0 rbsscore=0.924392716097457 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.9 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1412130016 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Using multi-queue with RSS on X540 VF 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: Sat, 13 Dec 2014 01:44:39 -0000 Hi all, I am using DPDK 1.7.0. Qemu-KVM system with the Intel 10G X540 NIC; host has the Linux ixgbe PF dr= iver and a guest is using a VF with the DPDK ixgbevf PMD (uio). I am trying to configure multiple (2 for now) receive queues on the VF and = use RSS. I see packets coming only to queue 0 for some reason. Some questions about = this: 1] I see that most of the initial configuration to make multi-queue + RSS w= ork is done in ixgbe_dev_mq_rx_configure() [e.g. Setting up the redirect table and the MRQC register]. However, o= nly the non-VF ixgbe_dev_rx_init() calls the above function; ixgbevf_dev_rx_init() doesn't configure RSS-related hardware. Don't we= need to do this configuration to use RSS on a VF? 2] Even after configuring the RSS-related hardware in ixgbevf PMD, packets = only come to queue 0. I printed out the RSS-type and RSS-hash-value fields from the write back Rx descriptor and they are both set to 0. S= o for some reason no RSS hash is being done for any packets. 3] Has anyone seen this kind of configuration work (multi-queue + RSS + VF)= ? I have an X540 NIC but has this worked on any other NIC for anyone? 4] Also any ideas on how to debug this problem further? Thanks, Anant