From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mi Subject: [patch iproute2 v5 3/3] man: Add -bs option to tc manpage Date: Wed, 3 Jan 2018 11:55:17 +0900 Message-ID: <20180103025517.3767-4-chrism@mellanox.com> References: <20180103025517.3767-1-chrism@mellanox.com> Cc: gerlitz.or@gmail.com, stephen@networkplumber.org, dsahern@gmail.com, marcelo.leitner@gmail.com To: netdev@vger.kernel.org Return-path: Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:45202 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751185AbeACCzc (ORCPT ); Tue, 2 Jan 2018 21:55:32 -0500 In-Reply-To: <20180103025517.3767-1-chrism@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: Signed-off-by: Chris Mi --- man/man8/tc.8 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/man/man8/tc.8 b/man/man8/tc.8 index ff071b33..7338ed3b 100644 --- a/man/man8/tc.8 +++ b/man/man8/tc.8 @@ -601,6 +601,15 @@ 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. +Currently, it only supports filter add or actions add. +If there are mixed commands in the batch file, the result is unpredictable. +And there is a limitation that the last line in the batch file should not be blank. +Or you will lose at most batchsize - 1 rules. + .TP .BR "\-force" don't terminate tc on errors in batch mode. -- 2.14.3