From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 2E09B3B5 for ; Wed, 17 Dec 2014 02:03:50 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 16 Dec 2014 17:03:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="429909617" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by FMSMGA003.fm.intel.com with ESMTP; 16 Dec 2014 16:52:42 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 17 Dec 2014 09:03:47 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.216]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.67]) with mapi id 14.03.0195.001; Wed, 17 Dec 2014 09:03:46 +0800 From: "Ouyang, Changchun" To: Vlad Zolotarov , Thomas Monjalon Thread-Topic: [dpdk-dev] DPDK RSS support for ixgbevf PMD Thread-Index: AQHQGKRZnn+TSM/iH0ScjhVL4Ef+MpyQlUIAgAE/YwCAASIaUA== Date: Wed, 17 Dec 2014 01:03:45 +0000 Message-ID: References: <6168753.p4Vk7dlKkK@xps13> <5490516C.8090202@cloudius-systems.com> In-Reply-To: <5490516C.8090202@cloudius-systems.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" , Avi Kivity , Gleb Natapov Subject: Re: [dpdk-dev] DPDK RSS support for ixgbevf PMD 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: Wed, 17 Dec 2014 01:03:51 -0000 Hi , > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Vlad Zolotarov > Sent: Tuesday, December 16, 2014 11:36 PM > To: Thomas Monjalon > Cc: dev@dpdk.org; Avi Kivity; Gleb Natapov > Subject: Re: [dpdk-dev] DPDK RSS support for ixgbevf PMD >=20 >=20 > On 12/15/14 22:33, Thomas Monjalon wrote: > > 2014-12-15 21:11, Vladislav Zolotarov: > >> Hi, > >> I'm running an ixgbevf PMD on an AWS guests with extended networking > >> (SR-IOV functions of 82599 Intel's NIC) and noticed that even in the > >> current git tree there is no support for a multi-queue in this PMD: > >> reta size returned by rte_eth_dev_info_get() call is 0, while > >> max_rx_queues and max_tx_queues are both 4. > >> > >> Linux ixgbevf-2.15.3 driver on the other hand successfully > >> initializes 2 RSS queues: for some reason it always limits the number = of > RSS queues by 2. > >> > >> ixgbevf_main.c: line 2539 > >> u16 rss =3D min_t(u16, num_online_cpus(), 2); > >> > >> The above is strange since if MRQE is set to 1010b there are 4 RSS > >> queues available which seems to be the case in my AWS Guest. > >> > >> However, let's get back to DPDK. As I've mentioned above the SR-IOV > >> function i have is RSS capable (to be 100% sure I've verified both > >> queues are receiving packets in a multi-socket TCP test). And it's a > >> shame I can't utilize it with a DPDK. > > Yes, it is not yet supported. > > But a patch was recently sent: > > http://dpdk.org/ml/archives/dev/2014-December/010028.html >=20 > Applying this patchset seems to break the NIC fast path functionality of = a > AWS Guest NIC. > I'm still debugging it - will update u as soon as I have more specific in= fo. >=20 Pls make sure enabling and using 4 queues on guest if you enable vf rss on = host and if each vf has 4 queues, The packet could be received and put in any of 4 queues on guest depend on = hash value of the packet. You could let packet IP address increased continuously and make those packe= ts distribute to different queues. Thanks Changchun