From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 50534A00BE for ; Wed, 30 Oct 2019 11:37:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0CA5F1C010; Wed, 30 Oct 2019 11:37:17 +0100 (CET) Received: from mail.altencalsoftlabs.com (mail.altencalsoftlabs.com [182.73.72.41]) by dpdk.org (Postfix) with ESMTP id 067DF1BEC1 for ; Tue, 29 Oct 2019 12:07:30 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.altencalsoftlabs.com (Postfix) with ESMTP id 2A2E14420176; Tue, 29 Oct 2019 16:37:30 +0530 (IST) Received: from mail.altencalsoftlabs.com ([127.0.0.1]) by localhost (mail.altencalsoftlabs.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id lauo0PcGOTBd; Tue, 29 Oct 2019 16:37:29 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail.altencalsoftlabs.com (Postfix) with ESMTP id 2C6064420203; Tue, 29 Oct 2019 16:37:29 +0530 (IST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.altencalsoftlabs.com 2C6064420203 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=altencalsoftlabs.com; s=selector; t=1572347249; bh=P321LR7Zdqoa+bejTDP9TpzuD6E9xdhJ2bOysFWwvd8=; h=Date:From:To:Message-ID:MIME-Version; b=mj0Yrhi9eCbQ+AwQqAF0U0H5PidXICQMz8ZDkrOHu6XnUyrWNEPKOuYrc773NG3b1 O7Ahlp3HNNLY7nEuPlTw7IM491G9ZZCXmNBKTe+5JcngUfHcETVlxn7gkx7nDWe43W Qp3U5HByurg9EJFs+nHiI/1Jw6lda94zIGbATzKw= X-Virus-Scanned: amavisd-new at altencalsoftlabs.com Received: from mail.altencalsoftlabs.com ([127.0.0.1]) by localhost (mail.altencalsoftlabs.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JNnI0s3IL0hz; Tue, 29 Oct 2019 16:37:29 +0530 (IST) Received: from mail.altencalsoftlabs.com (mail.altencalsoftlabs.com [10.1.0.7]) by mail.altencalsoftlabs.com (Postfix) with ESMTP id F2A794420176; Tue, 29 Oct 2019 16:37:28 +0530 (IST) Date: Tue, 29 Oct 2019 16:37:28 +0530 (IST) From: Geethu Joseph To: users Cc: j geethus Message-ID: <1702215871.188317.1572347248884.JavaMail.zimbra@altencalsoftlabs.com> In-Reply-To: <1638326866.109508.1572324655074.JavaMail.zimbra@altencalsoftlabs.com> References: <1638326866.109508.1572324655074.JavaMail.zimbra@altencalsoftlabs.com> MIME-Version: 1.0 X-Originating-IP: [10.1.0.4] X-Mailer: Zimbra 8.7.11_GA_3810 (ZimbraWebClient - FF28 (Linux)/8.7.11_GA_3810) Thread-Topic: RSS Support in SRIOV (IXGBEVF X540) Thread-Index: O+as25w9am1hJgr4uTHsc8Mz0KJI7bYuhiG6 X-Mailman-Approved-At: Wed, 30 Oct 2019 11:37:14 +0100 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] RSS Support in SRIOV (IXGBEVF X540) X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On further debugging I have seen that packets are distributing if RSS hash value is present in mbuf pointrt. Packets which are coming to single core is always having rss field as 0 in mbuf pointer. Can anybody help me why/how rss field set as 0 in mbuf pointer in X540-AT2 SRIOV mode. Thanks Geetz From: "Geethu Joseph" To: "users" Cc: "j geethus" Sent: Tuesday, October 29, 2019 10:20:55 AM Subject: RSS Support in SRIOV (IXGBEVF X540) Hi, Iam using Intel Corporation Ethernet Controller 10-Gigabit X540-AT2 with SRIOV enabled and created 32 VFs. I believe this will give 4 RX and 4 TX queues per VF. In the host PF I have enabled MQ mode and RSS is set with 4. In my guest(Centos) am running DPDK based application with single VF, 4 cores and 4 (rx,tx) queues. But packets are distributed only in the single core. In DPDK application I have set rss_hf as ETH_RSS_PROTO_MASK and mq_mode is set to ETH_MQ_RX_RSS. App is reading from all the 4 queues. But only queue 0 is getting packets. How can I enable distribution of packets into all the 4 queues in ixgbevf. ixgbe PF ---------- bash:~$ ethtool -k p2p2 | grep hash receive-hashing: on OS - Ubuntu 14.04.4 LTS Kernel - 4.2.0-27-generic Guest VF -------- OS - CentOS Linux 7 (Core) Kernel - 3.10.0-327.el7.x86_64 DPDK - dpdk-17.05 Thanks in advance. geetz