sysfs-driver-genwqe 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. What: /sys/class/genwqe/genwqe<n>_card/appid
  7. Date: Oct 2013
  8. Contact: haver@linux.vnet.ibm.com
  9. Description: Identifies the currently active card application e.g. 'GZIP'
  10. for compression/decompression.
  11. What: /sys/class/genwqe/genwqe<n>_card/type
  12. Date: Oct 2013
  13. Contact: haver@linux.vnet.ibm.com
  14. Description: Type of the card e.g. 'GenWQE5-A7'.
  15. What: /sys/class/genwqe/genwqe<n>_card/curr_bitstream
  16. Date: Oct 2013
  17. Contact: haver@linux.vnet.ibm.com
  18. Description: Currently active bitstream. 1 is default, 0 is backup.
  19. What: /sys/class/genwqe/genwqe<n>_card/next_bitstream
  20. Date: Oct 2013
  21. Contact: haver@linux.vnet.ibm.com
  22. Description: Interface to set the next bitstream to be used.
  23. What: /sys/class/genwqe/genwqe<n>_card/reload_bitstream
  24. Date: May 2014
  25. Contact: klebers@linux.vnet.ibm.com
  26. Description: Interface to trigger a PCIe card reset to reload the bitstream.
  27. sudo sh -c 'echo 1 > \
  28. /sys/class/genwqe/genwqe0_card/reload_bitstream'
  29. If successfully, the card will come back with the bitstream set
  30. on 'next_bitstream'.
  31. What: /sys/class/genwqe/genwqe<n>_card/tempsens
  32. Date: Oct 2013
  33. Contact: haver@linux.vnet.ibm.com
  34. Description: Interface to read the cards temperature sense register.
  35. What: /sys/class/genwqe/genwqe<n>_card/freerunning_timer
  36. Date: Oct 2013
  37. Contact: haver@linux.vnet.ibm.com
  38. Description: Interface to read the cards free running timer.
  39. Used for performance and utilization measurements.
  40. What: /sys/class/genwqe/genwqe<n>_card/queue_working_time
  41. Date: Oct 2013
  42. Contact: haver@linux.vnet.ibm.com
  43. Description: Interface to read queue working time.
  44. Used for performance and utilization measurements.
  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. What: /sys/class/genwqe/genwqe<n>_card/base_clock
  50. Date: Oct 2013
  51. Contact: haver@linux.vnet.ibm.com
  52. Description: Base clock frequency of the card.
  53. What: /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs
  54. Date: Oct 2013
  55. Contact: haver@linux.vnet.ibm.com
  56. Description: Enable VFs (1..15):
  57. sudo sh -c 'echo 15 > \
  58. /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs'
  59. Disable VFs:
  60. Write a 0 into the same sysfs entry.