162306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/version
262306a36Sopenharmony_ciDate:           Oct 2013
362306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
462306a36Sopenharmony_ciDescription:    Unique bitstream identification e.g.
562306a36Sopenharmony_ci                '0000000330336283.00000000475a4950'.
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/appid
862306a36Sopenharmony_ciDate:           Oct 2013
962306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
1062306a36Sopenharmony_ciDescription:    Identifies the currently active card application e.g. 'GZIP'
1162306a36Sopenharmony_ci                for compression/decompression.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/type
1462306a36Sopenharmony_ciDate:           Oct 2013
1562306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
1662306a36Sopenharmony_ciDescription:    Type of the card e.g. 'GenWQE5-A7'.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/curr_bitstream
1962306a36Sopenharmony_ciDate:           Oct 2013
2062306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
2162306a36Sopenharmony_ciDescription:    Currently active bitstream. 1 is default, 0 is backup.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/next_bitstream
2462306a36Sopenharmony_ciDate:           Oct 2013
2562306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
2662306a36Sopenharmony_ciDescription:    Interface to set the next bitstream to be used.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/reload_bitstream
2962306a36Sopenharmony_ciDate:           May 2014
3062306a36Sopenharmony_ciContact:        klebers@linux.vnet.ibm.com
3162306a36Sopenharmony_ciDescription:    Interface to trigger a PCIe card reset to reload the bitstream.
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci		::
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ci                  sudo sh -c 'echo 1 > \
3662306a36Sopenharmony_ci                    /sys/class/genwqe/genwqe0_card/reload_bitstream'
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci                If successfully, the card will come back with the bitstream set
3962306a36Sopenharmony_ci                on 'next_bitstream'.
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/tempsens
4262306a36Sopenharmony_ciDate:           Oct 2013
4362306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
4462306a36Sopenharmony_ciDescription:    Interface to read the cards temperature sense register.
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/freerunning_timer
4762306a36Sopenharmony_ciDate:           Oct 2013
4862306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
4962306a36Sopenharmony_ciDescription:    Interface to read the cards free running timer.
5062306a36Sopenharmony_ci                Used for performance and utilization measurements.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/queue_working_time
5362306a36Sopenharmony_ciDate:           Oct 2013
5462306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
5562306a36Sopenharmony_ciDescription:    Interface to read queue working time.
5662306a36Sopenharmony_ci                Used for performance and utilization measurements.
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/state
5962306a36Sopenharmony_ciDate:           Oct 2013
6062306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
6162306a36Sopenharmony_ciDescription:    State of the card: "unused", "used", "error".
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/base_clock
6462306a36Sopenharmony_ciDate:           Oct 2013
6562306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
6662306a36Sopenharmony_ciDescription:    Base clock frequency of the card.
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ciWhat:           /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs
6962306a36Sopenharmony_ciDate:           Oct 2013
7062306a36Sopenharmony_ciContact:        haver@linux.vnet.ibm.com
7162306a36Sopenharmony_ciDescription:    Enable VFs (1..15)::
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ci                  sudo sh -c 'echo 15 > \
7462306a36Sopenharmony_ci                    /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs'
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ci                Disable VFs::
7762306a36Sopenharmony_ci
7862306a36Sopenharmony_ci                  Write a 0 into the same sysfs entry.
79