From patchwork Mon Jun 18 06:23:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Li X-Patchwork-Id: 165389 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 2DD01B72BA for ; Mon, 18 Jun 2012 16:23:48 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752858Ab2FRGXp (ORCPT ); Mon, 18 Jun 2012 02:23:45 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:17436 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751816Ab2FRGXo (ORCPT ); Mon, 18 Jun 2012 02:23:44 -0400 X-IronPort-AV: E=Sophos;i="4.77,429,1336320000"; d="scan'208";a="5211843" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 18 Jun 2012 14:22:58 +0800 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id q5I6NexJ013999; Mon, 18 Jun 2012 14:23:41 +0800 Received: from [127.0.0.1] ([10.167.225.252]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2012061814240767-238464 ; Mon, 18 Jun 2012 14:24:07 +0800 Message-ID: <4FDEC949.30207@cn.fujitsu.com> Date: Mon, 18 Jun 2012 14:23:05 +0800 From: Li Wei User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: netdev CC: Stephen Hemminger Subject: [PATCH] tc: man: Fix incorrect parameter format in prio. X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/06/18 14:24:07, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2012/06/18 14:24:09, Serialize complete at 2012/06/18 14:24:09 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Parameter priomap use blank instead of comma to separate bands, update manpage to confirms to this. --- man/man8/tc-prio.8 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/man8/tc-prio.8 b/man/man8/tc-prio.8 index 1625fcc..55a5f3d 100644 --- a/man/man8/tc-prio.8 +++ b/man/man8/tc-prio.8 @@ -11,7 +11,7 @@ major: .B ] prio [ bands bands .B ] [ priomap -band,band,band... +band band band... .B ] [ estimator interval timeconstant .B ] @@ -134,7 +134,7 @@ showing to which Priority they are mapped. The last column shows the result of the default priomap. On the command line, the default priomap looks like this: - 1, 2, 2, 2, 1, 2, 0, 0 , 1, 1, 1, 1, 1, 1, 1, 1 + 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 This means that priority 4, for example, gets mapped to band number 1. The priomap also allows you to list higher priorities (> 7) which do not