From patchwork Tue Feb 14 19:26:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajit Khaparde X-Patchwork-Id: 141173 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 3D60FB6FC2 for ; Wed, 15 Feb 2012 06:27:14 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760185Ab2BNT1J (ORCPT ); Tue, 14 Feb 2012 14:27:09 -0500 Received: from exht1.emulex.com ([138.239.113.183]:31047 "EHLO exht1.ad.emulex.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757134Ab2BNT1E (ORCPT ); Tue, 14 Feb 2012 14:27:04 -0500 Received: from akhaparde-VBox (138.239.131.139) by exht1.ad.emulex.com (138.239.113.183) with Microsoft SMTP Server (TLS) id 8.3.159.2; Tue, 14 Feb 2012 11:26:56 -0800 Date: Tue, 14 Feb 2012 13:26:39 -0600 From: Ajit Khaparde To: CC: , Subject: [RFC iproute 2/2] iproute2: Update ip-link manpage for new option to set VF privileges Message-ID: <20120214192639.GA14484@akhaparde-VBox> Reply-To: Ajit Khaparde MIME-Version: 1.0 Content-Disposition: inline X-URL: http://www.emulex.com Organization: Emulex Corp User-Agent: "Ajit's Mutt" X-OS: Linux i686 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Ajit Khaparde --- man/man8/ip-link.8 | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/man/man8/ip-link.8 b/man/man8/ip-link.8 index 8c63584..874b749 100644 --- a/man/man8/ip-link.8 +++ b/man/man8/ip-link.8 @@ -98,6 +98,9 @@ ip-link \- network device configuration .B rate .IR TXRATE " ] [" .B spoofchk { on | off } +] [ +.B privilege +.IR PRIVILEGE ] | .br .B master @@ -305,6 +308,44 @@ parameter must be specified. .sp .BI spoofchk " on|off" - turn packet spoof checking on or off for the specified VF. + +.sp +.BI privilege " PRIVILEGE" +- change the privilege level for the specified VF. The argument to this option +is a hexadecimal value using one or a combination of the following privilege +categories : +.br +.in +8 +.B 0x1 +Default privileges. Local access only. +.br +.B 0x2 +Privilege to gather statistics. +.br +.B 0x4 +Privilege to manage link parameters. +.br +.B 0x8 +Privilege to perform diagnostics. +.br +.B 0x10 +Privilege to change MAC address. +.br +.B 0x20 +Privilege to add or remove VLANs. +.br +.B 0x40 +Unrestricted administrative access privileges to everything except access to +secure content. +.br +.B 0x80 +Privilege to access secure content like debug resisters. +.br +.in -8 +.br +The +.B vf +parameter must be specified. .in -8 .TP