[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread Prashant Upadhyaya
igsaw [mailto:jig...@gmail.com] Sent: Thursday, October 17, 2013 6:14 PM To: Prashant Upadhyaya Cc: Thomas Monjalon; dev at 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 gets 4 queues in one V

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread Prashant Upadhyaya
: dev [mailto:dev-boun...@dpdk.org] On Behalf Of jigsaw Sent: Wednesday, October 16, 2013 6:51 PM To: Thomas Monjalon Cc: dev at 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 ch

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread Prashant Upadhyaya
] On Behalf Of jigsaw Sent: Wednesday, October 16, 2013 5:49 PM To: dev at dpdk.org Subject: [dpdk-dev] 82599 SR-IOV with passthrough Hi, I am doing experiments with SR-IOV + passthrough on 82599. My expectation is to have VT on and DCB off, under which configuration, the total 128 TX queues will be

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread jigsaw
>>Is it possible to get the number of configured queues via mailbox ? Yes, this is exactly why I need to patch ixgbe PF. Otherwise it always returns 1, even the number is configured as 4. I will make some more experiments before sending the patch for review in one or two days. On Thu, Oct 17, 201

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread jigsaw
he 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 at dpdk.org] On Behalf Of jigsaw >> Sent: Wednesday

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread jigsaw
, isn't it ? >> >> Regards >> -Prashant >> >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of jigsaw >> Sent: Wednesday, October 16, 2013 6:51 PM >> To: Thomas Monjalon >> Cc: dev at dpdk.org >> Subje

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread Thomas Monjalon
17/10/2013 14:43, jigsaw : > I patched both Intel ixgbe PF driver and DPDK 1.5 VF driver, so that > DPDK gets 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 same mac as you set to the VF. This trick

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-17 Thread jigsaw
Wednesday, October 16, 2013 6:51 PM > To: Thomas Monjalon > Cc: dev at 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

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-16 Thread jigsaw
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 affects Intel's PF driver, I don't even know how to push the feature to Intel. The driver on sf

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-16 Thread jigsaw
Hi, I am doing experiments with SR-IOV + passthrough on 82599. My expectation is to have VT on and DCB off, under which configuration, the total 128 TX queues will be split into 32 pools, each has 4 queues. With latest driver ixgbe-3.18.7, PF can be set with 16 pools, each has 4 queues with these

[dpdk-dev] 82599 SR-IOV with passthrough

2013-10-16 Thread Thomas Monjalon
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 w