From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Ricardo Leitner Subject: Re: [patch iproute2 v6 3/3] man: Add -bs option to tc manpage Date: Fri, 5 Jan 2018 10:20:17 -0200 Message-ID: <20180105122017.GD725@localhost.localdomain> References: <20180104073454.11867-1-chrism@mellanox.com> <20180104073454.11867-4-chrism@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, gerlitz.or@gmail.com, stephen@networkplumber.org, dsahern@gmail.com To: Chris Mi Return-path: Received: from mx1.redhat.com ([209.132.183.28]:55256 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750907AbeAEMUU (ORCPT ); Fri, 5 Jan 2018 07:20:20 -0500 Content-Disposition: inline In-Reply-To: <20180104073454.11867-4-chrism@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Jan 04, 2018 at 04:34:54PM +0900, Chris Mi wrote: > Signed-off-by: Chris Mi > --- > man/man8/tc.8 | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/man/man8/tc.8 b/man/man8/tc.8 > index ff071b33..23db730c 100644 > --- a/man/man8/tc.8 > +++ b/man/man8/tc.8 > @@ -601,6 +601,13 @@ must exist already. > read commands from provided file or standard input and invoke them. > First failure will cause termination of tc. > > +.TP > +.BR "\-bs", " \-bs size", " \-batchsize", " \-batchsize size" > +How many commands are accumulated before sending to kernel. > +By default, it is 1. It only takes effect in batch mode. > +Only successive rules of filter add and delete are supported. "filter or action, add and delete, are supported." (it's not mentioning action) > +Otherwise, batch size is still 1. "The batch will be flushed if other commands are found in order to preserve the ordering." or so. > + > .TP > .BR "\-force" > don't terminate tc on errors in batch mode. > -- > 2.14.3 >