[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5507368E.6030107@gmail.com>
Date: Mon, 16 Mar 2015 13:01:18 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Or Gerlitz <ogerlitz@...lanox.com>,
David Miller <davem@...emloft.net>
CC: john.r.fastabend@...el.com, netdev@...r.kernel.org,
amirv@...lanox.com, idos@...lanox.com, matanb@...lanox.com
Subject: Re: [PATCH net-next V1 1/3] net: Add max rate tx queue attribute
On 15/03/15 00:41, Or Gerlitz wrote:
> On 3/15/2015 7:07 AM, David Miller wrote:
>> From: Or Gerlitz <ogerlitz@...lanox.com>
>> This is more succinctly expressed as:
>>
>> err = -EOPNOTSUPP;
>> if (dev->netdev_ops->ndo_set_tx_maxrate) {
>> err = dev->netdev_ops->ndo_set_tx_maxrate(dev, index, rate);
>> if (!err) {
>> queue->tx_maxrate = rate;
>> return len;
>> }
>> return err;
>>
>
> sure, I'll fix that.
Can you also include a patch which updates the sysfs documentation at
Documentation/ABI/testing/sysfs-class-net-queues? Thanks!
--
Florian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists