Frank Haverkamp | b2a6513 | 2013-12-09 13:30:43 +0100 | [diff] [blame] | 1 | What: /sys/class/genwqe/genwqe<n>_card/version |
| 2 | Date: Oct 2013 |
| 3 | Contact: haver@linux.vnet.ibm.com |
| 4 | Description: Unique bitstream identification e.g. |
| 5 | '0000000330336283.00000000475a4950'. |
| 6 | |
| 7 | What: /sys/class/genwqe/genwqe<n>_card/appid |
| 8 | Date: Oct 2013 |
| 9 | Contact: haver@linux.vnet.ibm.com |
| 10 | Description: Identifies the currently active card application e.g. 'GZIP' |
| 11 | for compression/decompression. |
| 12 | |
| 13 | What: /sys/class/genwqe/genwqe<n>_card/type |
| 14 | Date: Oct 2013 |
| 15 | Contact: haver@linux.vnet.ibm.com |
| 16 | Description: Type of the card e.g. 'GenWQE5-A7'. |
| 17 | |
| 18 | What: /sys/class/genwqe/genwqe<n>_card/curr_bitstream |
| 19 | Date: Oct 2013 |
| 20 | Contact: haver@linux.vnet.ibm.com |
| 21 | Description: Currently active bitstream. 1 is default, 0 is backup. |
| 22 | |
| 23 | What: /sys/class/genwqe/genwqe<n>_card/next_bitstream |
| 24 | Date: Oct 2013 |
| 25 | Contact: haver@linux.vnet.ibm.com |
| 26 | Description: Interface to set the next bitstream to be used. |
| 27 | |
| 28 | What: /sys/class/genwqe/genwqe<n>_card/tempsens |
| 29 | Date: Oct 2013 |
| 30 | Contact: haver@linux.vnet.ibm.com |
| 31 | Description: Interface to read the cards temperature sense register. |
| 32 | |
| 33 | What: /sys/class/genwqe/genwqe<n>_card/freerunning_timer |
| 34 | Date: Oct 2013 |
| 35 | Contact: haver@linux.vnet.ibm.com |
| 36 | Description: Interface to read the cards free running timer. |
| 37 | Used for performance and utilization measurements. |
| 38 | |
| 39 | What: /sys/class/genwqe/genwqe<n>_card/queue_working_time |
| 40 | Date: Oct 2013 |
| 41 | Contact: haver@linux.vnet.ibm.com |
| 42 | Description: Interface to read queue working time. |
| 43 | Used for performance and utilization measurements. |
| 44 | |
| 45 | What: /sys/class/genwqe/genwqe<n>_card/state |
| 46 | Date: Oct 2013 |
| 47 | Contact: haver@linux.vnet.ibm.com |
| 48 | Description: State of the card: "unused", "used", "error". |
| 49 | |
| 50 | What: /sys/class/genwqe/genwqe<n>_card/base_clock |
| 51 | Date: Oct 2013 |
| 52 | Contact: haver@linux.vnet.ibm.com |
| 53 | Description: Base clock frequency of the card. |
| 54 | |
| 55 | What: /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs |
| 56 | Date: Oct 2013 |
| 57 | Contact: haver@linux.vnet.ibm.com |
| 58 | Description: Enable VFs (1..15): |
| 59 | sudo sh -c 'echo 15 > \ |
| 60 | /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs' |
| 61 | Disable VFs: |
| 62 | Write a 0 into the same sysfs entry. |