netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nikolay Aleksandrov <nikolay@redhat.com>
To: netdev@vger.kernel.org
Cc: andy@greyhouse.net, fubar@us.ibm.com, vfalico@redhat.com
Subject: Re: [PATCH net-next] bonding: add option to specify the number of queues per bond device
Date: Tue, 05 Nov 2013 16:46:29 +0100	[thread overview]
Message-ID: <527912D5.1000209@redhat.com> (raw)
In-Reply-To: <52791287.1070101@redhat.com>

On 11/05/2013 04:45 PM, Nikolay Aleksandrov wrote:
> On 11/05/2013 04:41 PM, Nikolay Aleksandrov wrote:
>> Before this patch the only way to specify the number of queues of a bond
>> device was to use the tx_queues module parameter on module load. Since
>> we can have different setups with different requirements, it's
>> beneficial to be able to specify the number of queues per bond device
>> creation. This patch adds this ability and uses tx_queues as a default
>> and as a fallback in case of an invalid "queues" value.
>> The queues are specified when creating a new bond device through sysfs
>> by using the ":" as a delimiter between the name and the value, e.g.:
>> echo +bond1:8 > bonding_masters
>> will create bond1 device with 8 queues. The value 0 is reserved for
>> using the default number of queues (global tx_queues set on module
>> loading).
>> Add an example in the documentation, and also trim a few extra spaces
>> and tabs while at it.
>>
>> Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
>> ---
> ugh, self-nack I chose the wrong delimiter, it's allowed to be in an interface
> name :-)
> 
> Will re-post by using "." as a delimiter.
> Sorry for the noise.
Again too much caffeine, disregard the "." sentence.

> 
> Nik
> 

      reply	other threads:[~2013-11-05 15:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 15:41 [PATCH net-next] bonding: add option to specify the number of queues per bond device Nikolay Aleksandrov
2013-11-05 15:45 ` Nikolay Aleksandrov
2013-11-05 15:46   ` Nikolay Aleksandrov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527912D5.1000209@redhat.com \
    --to=nikolay@redhat.com \
    --cc=andy@greyhouse.net \
    --cc=fubar@us.ibm.com \
    --cc=netdev@vger.kernel.org \
    --cc=vfalico@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).