netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can I limit number of rx queues for igb (and other Intel drivers)?
@ 2010-06-18 22:39 Ben Greear
  2010-06-21 23:35 ` Wyborny, Carolyn
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2010-06-18 22:39 UTC (permalink / raw)
  To: NetDev

I'm using pktgen to send a stream of packets with varying source and destination
IP addresses.  It appears that the fancy rx logic of the NIC (I'm using igb for this test)
causes the received packets to appear on random rx queues and so be received out
of order in the network core.

I do not see the out-of-order issue when using a single source/dest IP address
for the pktgen packets.

So, is there a way to tell igb to use only a single rx queue?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Can I limit number of rx queues for igb (and other Intel drivers)?
  2010-06-18 22:39 Can I limit number of rx queues for igb (and other Intel drivers)? Ben Greear
@ 2010-06-21 23:35 ` Wyborny, Carolyn
  2010-06-22 19:54   ` Ben Greear
  0 siblings, 1 reply; 3+ messages in thread
From: Wyborny, Carolyn @ 2010-06-21 23:35 UTC (permalink / raw)
  To: Ben Greear, NetDev

 

>-----Original Message-----
>From: netdev-owner@vger.kernel.org 
>[mailto:netdev-owner@vger.kernel.org] On Behalf Of Ben Greear
>Sent: Friday, June 18, 2010 3:40 PM
>To: NetDev
>Subject: Can I limit number of rx queues for igb (and other 
>Intel drivers)?
>
>I'm using pktgen to send a stream of packets with varying 
>source and destination
>IP addresses.  It appears that the fancy rx logic of the NIC 
>(I'm using igb for this test)
>causes the received packets to appear on random rx queues and 
>so be received out
>of order in the network core.
>
>I do not see the out-of-order issue when using a single 
>source/dest IP address
>for the pktgen packets.
>
>So, is there a way to tell igb to use only a single rx queue?
>
>Thanks,
>Ben
>
>-- 
>Ben Greear <greearb@candelatech.com>
>Candela Technologies Inc  http://www.candelatech.com
>
>--
>To unsubscribe from this list: send the line "unsubscribe netdev" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Hello,

There is not a way to tell igb to use a single queue and ethtool does not currently have a way to do this.

We also maintain an out of kernel version of the driver at SourceForge that has module parameters to do this.  

If you need to do this with the kernel version, we'd need to modify ethtool to be able to do this.

Thanks,

Carolyn Wyborny
Carolyn.wyborny@intel.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can I limit number of rx queues for igb (and other Intel drivers)?
  2010-06-21 23:35 ` Wyborny, Carolyn
@ 2010-06-22 19:54   ` Ben Greear
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Greear @ 2010-06-22 19:54 UTC (permalink / raw)
  To: Wyborny, Carolyn; +Cc: NetDev

On 06/21/2010 04:35 PM, Wyborny, Carolyn wrote:
>
>
>> -----Original Message-----
>> From: netdev-owner@vger.kernel.org
>> [mailto:netdev-owner@vger.kernel.org] On Behalf Of Ben Greear
>> Sent: Friday, June 18, 2010 3:40 PM
>> To: NetDev
>> Subject: Can I limit number of rx queues for igb (and other
>> Intel drivers)?
>>
>> I'm using pktgen to send a stream of packets with varying
>> source and destination
>> IP addresses.  It appears that the fancy rx logic of the NIC
>> (I'm using igb for this test)
>> causes the received packets to appear on random rx queues and
>> so be received out
>> of order in the network core.
>>
>> I do not see the out-of-order issue when using a single
>> source/dest IP address
>> for the pktgen packets.
>>
>> So, is there a way to tell igb to use only a single rx queue?
>>
>> Thanks,
>> Ben
>>
>> --
>> Ben Greear<greearb@candelatech.com>
>> Candela Technologies Inc  http://www.candelatech.com
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe netdev" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> Hello,
>
> There is not a way to tell igb to use a single queue and ethtool does not currently have a way to do this.
>
> We also maintain an out of kernel version of the driver at SourceForge that has module parameters to do this.
>
> If you need to do this with the kernel version, we'd need to modify ethtool to be able to do this.

A module parameter would be OK, but an ethtool command to change this live
would be really nice!  It may be a day or two before I get back to testing
this, but will try your out-of-tree driver with proper mod-parm invocation
then.

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-22 19:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-18 22:39 Can I limit number of rx queues for igb (and other Intel drivers)? Ben Greear
2010-06-21 23:35 ` Wyborny, Carolyn
2010-06-22 19:54   ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).