diff mbox

[RFC,iproute,2/2] iproute2: Update ip-link manpage for new option to set VF privileges

Message ID 20120214192639.GA14484@akhaparde-VBox
State RFC, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Ajit Khaparde Feb. 14, 2012, 7:26 p.m. UTC
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
---
 man/man8/ip-link.8 |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)
diff mbox

Patch

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