From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [Patch net-next v2 0/3] net_sched: reflect tx_queue_len change for pfifo_fast Date: Wed, 24 Jan 2018 16:51:34 -0500 (EST) Message-ID: <20180124.165134.825871081928192250.davem@davemloft.net> References: <20180123181859.18583-1-xiyou.wangcong@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, john.fastabend@gmail.com To: xiyou.wangcong@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:50748 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932474AbeAXVvg (ORCPT ); Wed, 24 Jan 2018 16:51:36 -0500 In-Reply-To: <20180123181859.18583-1-xiyou.wangcong@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Cong Wang Date: Tue, 23 Jan 2018 10:18:56 -0800 > This pathcset restores the pfifo_fast qdisc behavior of dropping > packets based on latest dev->tx_queue_len. Patch 1 introduces > a helper, patch 2 introduces a new Qdisc ops which is called when > we modify tx_queue_len, patch 3 implements this ops for pfifo_fast. > > Please see each patch for details. > > --- > v2: handle error case for ->change_tx_queue_len() John, please review. Thanks.