^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/class/genwqe/genwqe<n>_card/version
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Description: Unique bitstream identification e.g.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) '0000000330336283.00000000475a4950'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) What: /sys/class/genwqe/genwqe<n>_card/appid
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Description: Identifies the currently active card application e.g. 'GZIP'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) for compression/decompression.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) What: /sys/class/genwqe/genwqe<n>_card/type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Description: Type of the card e.g. 'GenWQE5-A7'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) What: /sys/class/genwqe/genwqe<n>_card/curr_bitstream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Description: Currently active bitstream. 1 is default, 0 is backup.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) What: /sys/class/genwqe/genwqe<n>_card/next_bitstream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Description: Interface to set the next bitstream to be used.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) What: /sys/class/genwqe/genwqe<n>_card/reload_bitstream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Date: May 2014
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Contact: klebers@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Description: Interface to trigger a PCIe card reset to reload the bitstream.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) ::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) sudo sh -c 'echo 1 > \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) /sys/class/genwqe/genwqe0_card/reload_bitstream'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) If successfully, the card will come back with the bitstream set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) on 'next_bitstream'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) What: /sys/class/genwqe/genwqe<n>_card/tempsens
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) Description: Interface to read the cards temperature sense register.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) What: /sys/class/genwqe/genwqe<n>_card/freerunning_timer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Description: Interface to read the cards free running timer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Used for performance and utilization measurements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) What: /sys/class/genwqe/genwqe<n>_card/queue_working_time
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) Description: Interface to read queue working time.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) Used for performance and utilization measurements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) What: /sys/class/genwqe/genwqe<n>_card/state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Description: State of the card: "unused", "used", "error".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) What: /sys/class/genwqe/genwqe<n>_card/base_clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) Description: Base clock frequency of the card.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) What: /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) Date: Oct 2013
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) Contact: haver@linux.vnet.ibm.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) Description: Enable VFs (1..15)::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) sudo sh -c 'echo 15 > \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) Disable VFs::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) Write a 0 into the same sysfs entry.