From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller 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) Message-ID: <20161226.115818.1691666598003246082.davem@davemloft.net> References: <1482745763-15082-1-git-send-email-matthias.tafelmeier@gmx.net> <20161226.105238.2087282115500549289.davem@davemloft.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, hagen@jauu.net, fw@strlen.de, edumazet@google.com, daniel@iogearbox.net To: matthias.tafelmeier@gmx.net Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:52956 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754563AbcLZQ6X (ORCPT ); Mon, 26 Dec 2016 11:58:23 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Matthias Tafelmeier Date: Mon, 26 Dec 2016 17:43:08 +0100 > >> From: Matthias Tafelmeier >> 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.