79 lines · plain
1What: /sys/class/genwqe/genwqe<n>_card/version2Date: Oct 20133Contact: haver@linux.vnet.ibm.com4Description: Unique bitstream identification e.g.5 '0000000330336283.00000000475a4950'.6 7What: /sys/class/genwqe/genwqe<n>_card/appid8Date: Oct 20139Contact: haver@linux.vnet.ibm.com10Description: Identifies the currently active card application e.g. 'GZIP'11 for compression/decompression.12 13What: /sys/class/genwqe/genwqe<n>_card/type14Date: Oct 201315Contact: haver@linux.vnet.ibm.com16Description: Type of the card e.g. 'GenWQE5-A7'.17 18What: /sys/class/genwqe/genwqe<n>_card/curr_bitstream19Date: Oct 201320Contact: haver@linux.vnet.ibm.com21Description: Currently active bitstream. 1 is default, 0 is backup.22 23What: /sys/class/genwqe/genwqe<n>_card/next_bitstream24Date: Oct 201325Contact: haver@linux.vnet.ibm.com26Description: Interface to set the next bitstream to be used.27 28What: /sys/class/genwqe/genwqe<n>_card/reload_bitstream29Date: May 201430Contact: klebers@linux.vnet.ibm.com31Description: Interface to trigger a PCIe card reset to reload the bitstream.32 33 ::34 35 sudo sh -c 'echo 1 > \36 /sys/class/genwqe/genwqe0_card/reload_bitstream'37 38 If successfully, the card will come back with the bitstream set39 on 'next_bitstream'.40 41What: /sys/class/genwqe/genwqe<n>_card/tempsens42Date: Oct 201343Contact: haver@linux.vnet.ibm.com44Description: Interface to read the cards temperature sense register.45 46What: /sys/class/genwqe/genwqe<n>_card/freerunning_timer47Date: Oct 201348Contact: haver@linux.vnet.ibm.com49Description: Interface to read the cards free running timer.50 Used for performance and utilization measurements.51 52What: /sys/class/genwqe/genwqe<n>_card/queue_working_time53Date: Oct 201354Contact: haver@linux.vnet.ibm.com55Description: Interface to read queue working time.56 Used for performance and utilization measurements.57 58What: /sys/class/genwqe/genwqe<n>_card/state59Date: Oct 201360Contact: haver@linux.vnet.ibm.com61Description: State of the card: "unused", "used", "error".62 63What: /sys/class/genwqe/genwqe<n>_card/base_clock64Date: Oct 201365Contact: haver@linux.vnet.ibm.com66Description: Base clock frequency of the card.67 68What: /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs69Date: Oct 201370Contact: haver@linux.vnet.ibm.com71Description: Enable VFs (1..15)::72 73 sudo sh -c 'echo 15 > \74 /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs'75 76 Disable VFs::77 78 Write a 0 into the same sysfs entry.79