File iplink-Update-usage-in-help-message.patch of Package iproute2.7171
From: Eli Cohen <eli@mellanox.com>
Date: Sun, 4 Jun 2017 15:36:48 +0300
Subject: iplink: Update usage in help message
Patch-mainline: v4.12.0
Git-commit: 5a3ec4ba64783a640e7716a37faae4be49489e51
References: bsc#1081176
Add to usage message a description of how to configure Infiniband node
and port GUIDs. Also modify the man page to emphasize the GUIDs are
configured for Infiniband VFs.
Fixes: d91fb3f4c7e4 ("Add support for configuring Infiniband GUIDs")
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Michal Kubecek <mkubecek@suse.cz>
---
ip/iplink.c | 2 ++
man/man8/ip-link.8.in | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ip/iplink.c b/ip/iplink.c
index b8c694871cf3..10c27a257f6e 100644
--- a/ip/iplink.c
+++ b/ip/iplink.c
@@ -83,6 +83,8 @@ void iplink_usage(void)
fprintf(stderr, " [ query_rss { on | off} ] ]\n");
fprintf(stderr, " [ state { auto | enable | disable} ] ]\n");
fprintf(stderr, " [ trust { on | off} ] ]\n");
+ fprintf(stderr, " [ node_guid { eui64 } ]\n");
+ fprintf(stderr, " [ port_guid { eui64 } ]\n");
fprintf(stderr, " [ master DEVICE ]\n");
fprintf(stderr, " [ nomaster ]\n");
fprintf(stderr, " [ addrgenmode { eui64 | none | stable_secret } ]\n");
diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in
index d2b68defd303..2ed8b74ecb5f 100644
--- a/man/man8/ip-link.8.in
+++ b/man/man8/ip-link.8.in
@@ -1066,10 +1066,10 @@ sent by the VF.
which may impact security and/or performance. (e.g. VF multicast promiscuous mode)
.sp
.BI node_guid " eui64"
-- configure node GUID for the VF.
+- configure node GUID for Infiniband VFs.
.sp
.BI port_guid " eui64"
-- configure port GUID for the VF.
+- configure port GUID for Infiniband VFs.
.in -8
.TP
--
2.16.3