From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Westphal Subject: Re: [net-next PATCH] dql: add a burst attribute Date: Tue, 30 Sep 2014 15:46:55 +0200 Message-ID: <20140930134655.GA24565@breakpoint.cc> References: <20140930085114.24043.81310.stgit@dragon> <1412080482.30721.68.camel@edumazet-glaptop2.roam.corp.google.com> <1412081485.30721.75.camel@edumazet-glaptop2.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jesper Dangaard Brouer , netdev@vger.kernel.org, "David S. Miller" , Tom Herbert , Hannes Frederic Sowa , Florian Westphal , Daniel Borkmann , Jamal Hadi Salim , Alexander Duyck , John Fastabend , Dave Taht , toke@toke.dk To: Eric Dumazet Return-path: Received: from Chamillionaire.breakpoint.cc ([80.244.247.6]:34536 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751988AbaI3NrB (ORCPT ); Tue, 30 Sep 2014 09:47:01 -0400 Content-Disposition: inline In-Reply-To: <1412081485.30721.75.camel@edumazet-glaptop2.roam.corp.google.com> Sender: netdev-owner@vger.kernel.org List-ID: Eric Dumazet wrote: > From: Eric Dumazet > > Add a new dql attribute, to control how much packets we are allowed to > burst from qdisc to device. I understand the motivation for this, but I find it a bit out-of-place to have a 'packet' type counter in bql context? Would it perhaps make more sense to restrict bulk dequeues by an upper (possibly changeable from userspace) byte counter limit? Thanks, Florian