0001 What: /sys/class/genwqe/genwqe<n>_card/version
0002 Date: Oct 2013
0003 Contact: haver@linux.vnet.ibm.com
0004 Description: Unique bitstream identification e.g.
0005 '0000000330336283.00000000475a4950'.
0006
0007 What: /sys/class/genwqe/genwqe<n>_card/appid
0008 Date: Oct 2013
0009 Contact: haver@linux.vnet.ibm.com
0010 Description: Identifies the currently active card application e.g. 'GZIP'
0011 for compression/decompression.
0012
0013 What: /sys/class/genwqe/genwqe<n>_card/type
0014 Date: Oct 2013
0015 Contact: haver@linux.vnet.ibm.com
0016 Description: Type of the card e.g. 'GenWQE5-A7'.
0017
0018 What: /sys/class/genwqe/genwqe<n>_card/curr_bitstream
0019 Date: Oct 2013
0020 Contact: haver@linux.vnet.ibm.com
0021 Description: Currently active bitstream. 1 is default, 0 is backup.
0022
0023 What: /sys/class/genwqe/genwqe<n>_card/next_bitstream
0024 Date: Oct 2013
0025 Contact: haver@linux.vnet.ibm.com
0026 Description: Interface to set the next bitstream to be used.
0027
0028 What: /sys/class/genwqe/genwqe<n>_card/reload_bitstream
0029 Date: May 2014
0030 Contact: klebers@linux.vnet.ibm.com
0031 Description: Interface to trigger a PCIe card reset to reload the bitstream.
0032
0033 ::
0034
0035 sudo sh -c 'echo 1 > \
0036 /sys/class/genwqe/genwqe0_card/reload_bitstream'
0037
0038 If successfully, the card will come back with the bitstream set
0039 on 'next_bitstream'.
0040
0041 What: /sys/class/genwqe/genwqe<n>_card/tempsens
0042 Date: Oct 2013
0043 Contact: haver@linux.vnet.ibm.com
0044 Description: Interface to read the cards temperature sense register.
0045
0046 What: /sys/class/genwqe/genwqe<n>_card/freerunning_timer
0047 Date: Oct 2013
0048 Contact: haver@linux.vnet.ibm.com
0049 Description: Interface to read the cards free running timer.
0050 Used for performance and utilization measurements.
0051
0052 What: /sys/class/genwqe/genwqe<n>_card/queue_working_time
0053 Date: Oct 2013
0054 Contact: haver@linux.vnet.ibm.com
0055 Description: Interface to read queue working time.
0056 Used for performance and utilization measurements.
0057
0058 What: /sys/class/genwqe/genwqe<n>_card/state
0059 Date: Oct 2013
0060 Contact: haver@linux.vnet.ibm.com
0061 Description: State of the card: "unused", "used", "error".
0062
0063 What: /sys/class/genwqe/genwqe<n>_card/base_clock
0064 Date: Oct 2013
0065 Contact: haver@linux.vnet.ibm.com
0066 Description: Base clock frequency of the card.
0067
0068 What: /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs
0069 Date: Oct 2013
0070 Contact: haver@linux.vnet.ibm.com
0071 Description: Enable VFs (1..15)::
0072
0073 sudo sh -c 'echo 15 > \
0074 /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs'
0075
0076 Disable VFs::
0077
0078 Write a 0 into the same sysfs entry.