18c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/version 28c2ecf20Sopenharmony_ciDate: Oct 2013 38c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 48c2ecf20Sopenharmony_ciDescription: Unique bitstream identification e.g. 58c2ecf20Sopenharmony_ci '0000000330336283.00000000475a4950'. 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/appid 88c2ecf20Sopenharmony_ciDate: Oct 2013 98c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 108c2ecf20Sopenharmony_ciDescription: Identifies the currently active card application e.g. 'GZIP' 118c2ecf20Sopenharmony_ci for compression/decompression. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/type 148c2ecf20Sopenharmony_ciDate: Oct 2013 158c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 168c2ecf20Sopenharmony_ciDescription: Type of the card e.g. 'GenWQE5-A7'. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/curr_bitstream 198c2ecf20Sopenharmony_ciDate: Oct 2013 208c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 218c2ecf20Sopenharmony_ciDescription: Currently active bitstream. 1 is default, 0 is backup. 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/next_bitstream 248c2ecf20Sopenharmony_ciDate: Oct 2013 258c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 268c2ecf20Sopenharmony_ciDescription: Interface to set the next bitstream to be used. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/reload_bitstream 298c2ecf20Sopenharmony_ciDate: May 2014 308c2ecf20Sopenharmony_ciContact: klebers@linux.vnet.ibm.com 318c2ecf20Sopenharmony_ciDescription: Interface to trigger a PCIe card reset to reload the bitstream. 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci :: 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ci sudo sh -c 'echo 1 > \ 368c2ecf20Sopenharmony_ci /sys/class/genwqe/genwqe0_card/reload_bitstream' 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci If successfully, the card will come back with the bitstream set 398c2ecf20Sopenharmony_ci on 'next_bitstream'. 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/tempsens 428c2ecf20Sopenharmony_ciDate: Oct 2013 438c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 448c2ecf20Sopenharmony_ciDescription: Interface to read the cards temperature sense register. 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/freerunning_timer 478c2ecf20Sopenharmony_ciDate: Oct 2013 488c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 498c2ecf20Sopenharmony_ciDescription: Interface to read the cards free running timer. 508c2ecf20Sopenharmony_ci Used for performance and utilization measurements. 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/queue_working_time 538c2ecf20Sopenharmony_ciDate: Oct 2013 548c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 558c2ecf20Sopenharmony_ciDescription: Interface to read queue working time. 568c2ecf20Sopenharmony_ci Used for performance and utilization measurements. 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/state 598c2ecf20Sopenharmony_ciDate: Oct 2013 608c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 618c2ecf20Sopenharmony_ciDescription: State of the card: "unused", "used", "error". 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/base_clock 648c2ecf20Sopenharmony_ciDate: Oct 2013 658c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 668c2ecf20Sopenharmony_ciDescription: Base clock frequency of the card. 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ciWhat: /sys/class/genwqe/genwqe<n>_card/device/sriov_numvfs 698c2ecf20Sopenharmony_ciDate: Oct 2013 708c2ecf20Sopenharmony_ciContact: haver@linux.vnet.ibm.com 718c2ecf20Sopenharmony_ciDescription: Enable VFs (1..15):: 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ci sudo sh -c 'echo 15 > \ 748c2ecf20Sopenharmony_ci /sys/bus/pci/devices/0000\:1b\:00.0/sriov_numvfs' 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_ci Disable VFs:: 778c2ecf20Sopenharmony_ci 788c2ecf20Sopenharmony_ci Write a 0 into the same sysfs entry. 79