hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/Documentation/ABI/testing/sysfs-driver-genwqe
....@@ -29,8 +29,12 @@
2929 Date: May 2014
3030 Contact: klebers@linux.vnet.ibm.com
3131 Description: Interface to trigger a PCIe card reset to reload the bitstream.
32
+
33
+ ::
34
+
3235 sudo sh -c 'echo 1 > \
3336 /sys/class/genwqe/genwqe0_card/reload_bitstream'
37
+
3438 If successfully, the card will come back with the bitstream set
3539 on 'next_bitstream'.
3640
....@@ -64,8 +68,11 @@
6468 What: /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs
6569 Date: Oct 2013
6670 Contact: haver@linux.vnet.ibm.com
67
-Description: Enable VFs (1..15):
71
+Description: Enable VFs (1..15)::
72
+
6873 sudo sh -c 'echo 15 > \
6974 /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs'
70
- Disable VFs:
75
+
76
+ Disable VFs::
77
+
7178 Write a 0 into the same sysfs entry.