From: John Fastabend Subject: Re: [Patch net-next 1/3] net: introduce helper dev_change_tx_queue_len() Date: Sun, 21 Jan 2018 14:09:34 -0800 Message-ID: <48ef9865-35fd-9e36-9271-1ff83bd17364@gmail.com> References: <20180119230933.10009-1-xiyou.wangcong@gmail.com> <20180119230933.10009-2-xiyou.wangcong@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Cong Wang , netdev@vger.kernel.org Return-path: Received: from mail-pf0-f196.google.com ([209.85.192.196]:44301 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750853AbeAUWJp (ORCPT ); Sun, 21 Jan 2018 17:09:45 -0500 Received: by mail-pf0-f196.google.com with SMTP id m26so5591956pfj.11 for ; Sun, 21 Jan 2018 14:09:45 -0800 (PST) In-Reply-To: <20180119230933.10009-2-xiyou.wangcong@gmail.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 01/19/2018 03:09 PM, Cong Wang wrote: > This patch promotes the local change_tx_queue_len() to a core > helper function, dev_change_tx_queue_len(), so that rtnetlink > and net-sysfs could share the code. This also prepares for the > following patch. > > Note, the -EFAULT in the original code doesn't make sense, > we should propagate the errno from notifiers. > > Cc: John Fastabend > Signed-off-by: Cong Wang > --- Acked-by: John Fastabend