xref: /linux/Documentation/ABI/testing/sysfs-driver-genwqe (revision cbac924200b838cfb8d8b1415113d788089dc50b)
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
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 set
39                on 'next_bitstream'.
40
41What:           /sys/class/genwqe/genwqe<n>_card/tempsens
42Date:           Oct 2013
43Contact:        haver@linux.vnet.ibm.com
44Description:    Interface to read the cards temperature sense register.
45
46What:           /sys/class/genwqe/genwqe<n>_card/freerunning_timer
47Date:           Oct 2013
48Contact:        haver@linux.vnet.ibm.com
49Description:    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_time
53Date:           Oct 2013
54Contact:        haver@linux.vnet.ibm.com
55Description:    Interface to read queue working time.
56                Used for performance and utilization measurements.
57
58What:           /sys/class/genwqe/genwqe<n>_card/state
59Date:           Oct 2013
60Contact:        haver@linux.vnet.ibm.com
61Description:    State of the card: "unused", "used", "error".
62
63What:           /sys/class/genwqe/genwqe<n>_card/base_clock
64Date:           Oct 2013
65Contact:        haver@linux.vnet.ibm.com
66Description:    Base clock frequency of the card.
67
68What:           /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs
69Date:           Oct 2013
70Contact:        haver@linux.vnet.ibm.com
71Description:    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