xref: /linux/Documentation/ABI/testing/sysfs-driver-genwqe (revision 93df8a1ed6231727c5db94a80b1a6bd5ee67cec3)
1What:           /sys/class/genwqe/genwqe<n>_card/version
2Date:           Oct 2013
3Contact:        haver@linux.vnet.ibm.com
4Description:    Unique bitstream identification e.g.
5                '0000000330336283.00000000475a4950'.
6
7What:           /sys/class/genwqe/genwqe<n>_card/appid
8Date:           Oct 2013
9Contact:        haver@linux.vnet.ibm.com
10Description:    Identifies the currently active card application e.g. 'GZIP'
11                for compression/decompression.
12
13What:           /sys/class/genwqe/genwqe<n>_card/type
14Date:           Oct 2013
15Contact:        haver@linux.vnet.ibm.com
16Description:    Type of the card e.g. 'GenWQE5-A7'.
17
18What:           /sys/class/genwqe/genwqe<n>_card/curr_bitstream
19Date:           Oct 2013
20Contact:        haver@linux.vnet.ibm.com
21Description:    Currently active bitstream. 1 is default, 0 is backup.
22
23What:           /sys/class/genwqe/genwqe<n>_card/next_bitstream
24Date:           Oct 2013
25Contact:        haver@linux.vnet.ibm.com
26Description:    Interface to set the next bitstream to be used.
27
28What:           /sys/class/genwqe/genwqe<n>_card/reload_bitstream
29Date:           May 2014
30Contact:        klebers@linux.vnet.ibm.com
31Description:    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
37What:           /sys/class/genwqe/genwqe<n>_card/tempsens
38Date:           Oct 2013
39Contact:        haver@linux.vnet.ibm.com
40Description:    Interface to read the cards temperature sense register.
41
42What:           /sys/class/genwqe/genwqe<n>_card/freerunning_timer
43Date:           Oct 2013
44Contact:        haver@linux.vnet.ibm.com
45Description:    Interface to read the cards free running timer.
46                Used for performance and utilization measurements.
47
48What:           /sys/class/genwqe/genwqe<n>_card/queue_working_time
49Date:           Oct 2013
50Contact:        haver@linux.vnet.ibm.com
51Description:    Interface to read queue working time.
52                Used for performance and utilization measurements.
53
54What:           /sys/class/genwqe/genwqe<n>_card/state
55Date:           Oct 2013
56Contact:        haver@linux.vnet.ibm.com
57Description:    State of the card: "unused", "used", "error".
58
59What:           /sys/class/genwqe/genwqe<n>_card/base_clock
60Date:           Oct 2013
61Contact:        haver@linux.vnet.ibm.com
62Description:    Base clock frequency of the card.
63
64What:           /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs
65Date:           Oct 2013
66Contact:        haver@linux.vnet.ibm.com
67Description:    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.
72