Include documentation for existing ibmvnic sysfs files,
currently only for "failover," which is used to swap
the active hardware port to a backup port in redundant
backing hardware or failover configurations.

Signed-off-by: Thomas Falcon <tlfal...@linux.ibm.com>
---
 Documentation/ABI/testing/sysfs-driver-ibmvnic | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-driver-ibmvnic

diff --git a/Documentation/ABI/testing/sysfs-driver-ibmvnic 
b/Documentation/ABI/testing/sysfs-driver-ibmvnic
new file mode 100644
index 0000000..7fa2920
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-driver-ibmvnic
@@ -0,0 +1,14 @@
+What:          /sys/devices/vio/<our device>/failover
+Date:          June 2017
+KernelVersion: 4.13
+Contact:       linuxppc-...@lists.ozlabs.org
+Description:   If the ibmvnic device has been configured with redundant
+               physical NIC ports, the user may write "1" to the failover
+               file to trigger a device failover, which will reset the
+               ibmvnic device and swap to a backup physical port. If no
+               redundant physical port has been configured for the device,
+               the device will not reset and -EINVAL is returned. If anything
+               other than "1" is written to the file, -EINVAL will also be
+               returned.
+Users:         Any users of the ibmvnic driver which use redundant hardware
+               configurations.
-- 
1.8.3.1

Reply via email to