powerpc-utils/SOURCES/powerpc-utils-1.3.8-hcnmgr....

53 lines
1.8 KiB
Diff

diff -up powerpc-utils-1.3.8/Makefile.am.me powerpc-utils-1.3.8/Makefile.am
--- powerpc-utils-1.3.8/Makefile.am.me 2020-10-01 13:33:29.444024403 +0200
+++ powerpc-utils-1.3.8/Makefile.am 2020-10-01 13:34:08.284854506 +0200
@@ -56,7 +56,8 @@ man_MANS = \
man/nvsetenv.8 \
man/ls-vscsi.8 \
man/pseries_platform.8 \
- man/update_flash_nv.8
+ man/update_flash_nv.8 \
+ man/hcnmgr.8
EXTRA_DIST += $(bin_SCRIPTS) $(sbin_SCRIPTS) $(man_MANS)
diff -up powerpc-utils-1.3.8/man/hcnmgr.8.me powerpc-utils-1.3.8/man/hcnmgr.8
--- powerpc-utils-1.3.8/man/hcnmgr.8.me 2021-07-16 11:52:10.510788672 +0200
+++ powerpc-utils-1.3.8/man/hcnmgr.8 2021-07-16 11:52:00.648633439 +0200
@@ -0,0 +1,35 @@
+.\"
+.\" Copyright (C) 2015 International Business Machines
+.\"
+.TH hcnmgr 8 "September 2015" Linux "Linux on Power Service Tools"
+.SH NAME
+hcnmgr \- This utility configure or manage hybrid network to support live
+partition migration with SR_IO.
+.SH SYNOPSIS
+.TP
+.B hcncfgdrc DRC_INDEX=<drc_index> [STAKE_TOKEN=NULL] [-d]
+Configure a device to hybrid network HCN
+.TP
+.B hcnrmhcn HCN_ID=<hcnid>
+Remove a hybrid network HCN given an HCN ID
+.TP
+.B hcnrmdev DRC_INDEX=<drc_index> HCN_ID=<hcnid>
+Unconfigure device from HCN
+.TP
+.B hcnqrydev DRC_INDEX=<drc_index> HCN_ID=<hcnid>
+Query a device given a DRC_INDEX or HCN ID
+.TP
+.B hcnversion
+get the current version of the HCN support
+
+.SH DESCRIPTION
+The \fIhcnmgr\fR contains a set of commands to support migratable SR_IOV logical port.
+The new commands configure/query/remove network devices. New commands should be called
+from the HMC, rather than directly from linux LPAR.
+.SH OPTIONS
+.TP
+\fB\-s\fR scan device-tree and configure HCN
+.TP
+\fB\-V\fR Display version information and exit
+.TP
+\fB\-h\fR Display this help information and exit