netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: matthias.tafelmeier@gmx.net
Cc: netdev@vger.kernel.org, hagen@jauu.net, fw@strlen.de,
	edumazet@google.com, daniel@iogearbox.net
Subject: Re: [PATCH v1] net: dev_weight: TX/RX orthogonality,Re: [PATCH v1] net: dev_weight: TX/RX orthogonality
Date: Mon, 26 Dec 2016 11:58:18 -0500 (EST)	[thread overview]
Message-ID: <20161226.115818.1691666598003246082.davem@davemloft.net> (raw)
In-Reply-To: <ae0712c3-61c6-432e-78d9-665d0c291c9f@gmx.net>

From: Matthias Tafelmeier <matthias.tafelmeier@gmx.net>
Date: Mon, 26 Dec 2016 17:43:08 +0100

> 
>> From: Matthias Tafelmeier <matthias.tafelmeier@gmx.net>
>> Date: Mon, 26 Dec 2016 10:49:23 +0100
>>
>>> @@ -269,13 +269,21 @@ static struct ctl_table net_core_table[] = {
>>>  		.extra1		= &min_rcvbuf,
>>>  	},
>>>  	{
>>> -		.procname	= "dev_weight",
>>> -		.data		= &weight_p,
>>> +		.procname	= "dev_weight_rx",
>>> +		.data		= &weight_p_rx,
>>  ...
>>>  	{
>>> +		.procname	= "dev_weight_tx",
>> Sysctls are user visible APIs.  You cannot change them without
>> breaking userspace.  You particularly cannot change the name of
>> the sysctl.
> 
> What about leaving *dev_weight* in place for TX side as is and newly
> introducing a sysctl param
> *dev_weight_rx*. Though, am open to a better naming for the latter.

This changes behavior for existing users, you cannot do this.

  parent reply	other threads:[~2016-12-26 16:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-26  9:49 [PATCH v1] net: dev_weight: TX/RX orthogonality Matthias Tafelmeier
2016-12-26 15:52 ` David Miller
     [not found]   ` <ae0712c3-61c6-432e-78d9-665d0c291c9f@gmx.net>
2016-12-26 16:58     ` David Miller [this message]
2016-12-27  8:25       ` [PATCH] " Matthias Tafelmeier
2016-12-27 16:47         ` Marcelo Ricardo Leitner
2016-12-27 17:29           ` Matthias Tafelmeier
2016-12-28  9:42           ` [PATCH v3] " Matthias Tafelmeier
2016-12-28 19:17             ` David Miller
2016-12-29  9:58               ` [PATCH v4] " Matthias Tafelmeier
2016-12-29 19:08                 ` David Miller
2016-12-29 19:23                   ` Matthias Tafelmeier
2016-12-29 19:44                     ` David Miller
2016-12-29 19:45                       ` David Miller
2016-12-29 19:53                         ` Matthias Tafelmeier
2016-12-29 20:37                         ` [PATCH v5] " Matthias Tafelmeier
2016-12-30  1:16                           ` David Miller
2017-02-13 20:22                             ` Matthias Tafelmeier

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=20161226.115818.1691666598003246082.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=daniel@iogearbox.net \
    --cc=edumazet@google.com \
    --cc=fw@strlen.de \
    --cc=hagen@jauu.net \
    --cc=matthias.tafelmeier@gmx.net \
    --cc=netdev@vger.kernel.org \
    /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).