From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from jaguar.aricent.com (jaguar.aricent.com [121.241.96.11]) by dpdk.org (Postfix) with ESMTP id AF05E6896 for ; Thu, 17 Oct 2013 15:02:34 +0200 (CEST) Received: from jaguar.aricent.com (localhost [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id 15AA236BDB; Thu, 17 Oct 2013 18:33:04 +0530 (IST) Received: from GUREXHT02.ASIAN.AD.ARICENT.COM (gurexht02.asian.ad.aricent.com [10.203.171.138]) by jaguar.aricent.com (Postfix) with ESMTP id 6937536BD2; Thu, 17 Oct 2013 18:33:03 +0530 (IST) Received: from GUREXMB01.asian.ad.aricent.com ([10.203.171.134]) by GUREXHT02.ASIAN.AD.ARICENT.COM ([10.203.171.138]) with mapi; Thu, 17 Oct 2013 18:32:58 +0530 From: Prashant Upadhyaya To: jigsaw Date: Thu, 17 Oct 2013 18:32:57 +0530 Thread-Topic: [dpdk-dev] 82599 SR-IOV with passthrough Thread-Index: Ac7LODYoq5xyr0sLQ42XBm9b3ioI5gAAG8bQ Message-ID: References: <201310161458.55712.thomas.monjalon@6wind.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-MML: No Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] 82599 SR-IOV with passthrough 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: Thu, 17 Oct 2013 13:02:35 -0000 Hi Qinglai, I would say that SRIOV is 'useless' if the VF gets only one queue. At the heart of performance is to use one queue per core so that the the tx= and rx remain lockless. Locks 'destroy' performance. So with one queue, if we want to remain lockless, that automatically means = that the usecase is restricted to one core, ergo useless for any usecase wo= rth its salt. It was courtesy your mail that I 'discovered' that DPDK has such a limitat= ion. So I am all for this patch to go in DPDK. Good luck ! Regards -Prashant -----Original Message----- From: jigsaw [mailto:jigsaw@gmail.com] Sent: Thursday, October 17, 2013 6:14 PM To: Prashant Upadhyaya Cc: Thomas Monjalon; dev@dpdk.org Subject: Re: [dpdk-dev] 82599 SR-IOV with passthrough Hi Prashant, I patched both Intel ixgbe PF driver and DPDK 1.5 VF driver, so that DPDK g= ets 4 queues in one VF. It works fine with all 4 Tx queues. The only trick = is to set proper mac address for all outgoing packets, which must be the sa= me mac as you set to the VF. This trick is described in the release note of= DPDK. I wonder whether it makes sense to push this patch to DPDK. Any comments? thx & rgds, -ql On Thu, Oct 17, 2013 at 2:55 PM, Prashant Upadhyaya wrote: > Hi Qinglai, > > Why are you using the kernel driver at all. > Use the DPDK driver to control the PF on the host. The guest would commun= icate with the PF on host using mailbox as usual. > Then the changes will be limited to DPDK, isn't it ? > > Regards > -Prashant > > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of jigsaw > Sent: Wednesday, October 16, 2013 6:51 PM > To: Thomas Monjalon > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] 82599 SR-IOV with passthrough > > Hi Thomas, > > Thanks for reply. > > The kernel has older version of PF than the one released on sf.net. So I'= m checking the sf.net release. > If the change is limited in DPDK then it is controllable. But now it affe= cts Intel's PF driver, I don't even know how to push the feature to Intel. = The driver on sf.net is a read-only repository, isn't it? It would be painf= ul to maintain another branch of 10G PF driver. > Could Intel give some advice or hints here? > > thx & > rgds, > -Qinglai > > On Wed, Oct 16, 2013 at 3:58 PM, Thomas Monjalon wrote: >> 16/10/2013 14:18, jigsaw : >>> Therefore, to add support for multiple queues per VF, we have to at >>> least fix the PF driver, then add support in DPDK's VF driver. >> >> You're right, Linux PF driver have to be updated to properly manage >> multiple queues per VF. Then the guest can be tested with DPDK or >> with Linux driver (ixgbe_vf). >> >> Note that there are 2 versions of Linux driver for ixgbe: kernel.org >> and sourceforge.net (supporting many kernel versions). >> >> -- >> Thomas > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D Please refer to > http://www.aricent.com/legal/email_disclaimer.html > for important disclosures regarding this electronic communication. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Please refer to http://www.aricent.com/legal/email_disclaimer.html for important disclosures regarding this electronic communication. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D