Commit | Line | Data |
---|---|---|
b2a65138 FH |
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 | ||
c1f732ad KSS |
28 | What: /sys/class/genwqe/genwqe<n>_card/reload_bitstream |
29 | Date: May 2014 | |
30 | Contact: klebers@linux.vnet.ibm.com | |
31 | Description: Interface to trigger a PCIe card reset to reload the bitstream. | |
32 | sudo sh -c 'echo 1 > \ | |
33 | /sys/class/genwqe/genwqe0_card/reload_bitstream' | |
34 | If successfully, the card will come back with the bitstream set | |
35 | on 'next_bitstream'. | |
36 | ||
b2a65138 FH |
37 | What: /sys/class/genwqe/genwqe<n>_card/tempsens |
38 | Date: Oct 2013 | |
39 | Contact: haver@linux.vnet.ibm.com | |
40 | Description: Interface to read the cards temperature sense register. | |
41 | ||
42 | What: /sys/class/genwqe/genwqe<n>_card/freerunning_timer | |
43 | Date: Oct 2013 | |
44 | Contact: haver@linux.vnet.ibm.com | |
45 | Description: Interface to read the cards free running timer. | |
46 | Used for performance and utilization measurements. | |
47 | ||
48 | What: /sys/class/genwqe/genwqe<n>_card/queue_working_time | |
49 | Date: Oct 2013 | |
50 | Contact: haver@linux.vnet.ibm.com | |
51 | Description: Interface to read queue working time. | |
52 | Used for performance and utilization measurements. | |
53 | ||
54 | What: /sys/class/genwqe/genwqe<n>_card/state | |
55 | Date: Oct 2013 | |
56 | Contact: haver@linux.vnet.ibm.com | |
57 | Description: State of the card: "unused", "used", "error". | |
58 | ||
59 | What: /sys/class/genwqe/genwqe<n>_card/base_clock | |
60 | Date: Oct 2013 | |
61 | Contact: haver@linux.vnet.ibm.com | |
62 | Description: Base clock frequency of the card. | |
63 | ||
64 | What: /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs | |
65 | Date: Oct 2013 | |
66 | Contact: haver@linux.vnet.ibm.com | |
67 | Description: Enable VFs (1..15): | |
68 | sudo sh -c 'echo 15 > \ | |
69 | /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs' | |
70 | Disable VFs: | |
71 | Write a 0 into the same sysfs entry. |