1 What: /sys/bus/pci/devices/<BDF>/qat/state
4 Contact: qat-linux@intel.com
5 Description: (RW) Reports the current state of the QAT device. Write to
6 the file to start or stop the device.
10 * up: the device is up and running
11 * down: the device is down
14 It is possible to transition the device from up to down only
15 if the device is up and vice versa.
17 This attribute is only available for qat_4xxx devices.
19 What: /sys/bus/pci/devices/<BDF>/qat/cfg_services
22 Contact: qat-linux@intel.com
23 Description: (RW) Reports the current configuration of the QAT device.
24 Write to the file to change the configured services.
28 * sym;asym: the device is configured for running crypto
30 * dc: the device is configured for running compression services
32 It is possible to set the configuration only if the device
33 is in the `down` state (see /sys/bus/pci/devices/<BDF>/qat/state)
35 The following example shows how to change the configuration of
36 a device configured for running crypto services in order to
37 run data compression::
39 # cat /sys/bus/pci/devices/<BDF>/qat/state
41 # cat /sys/bus/pci/devices/<BDF>/qat/cfg_services
43 # echo down > /sys/bus/pci/devices/<BDF>/qat/state
44 # echo dc > /sys/bus/pci/devices/<BDF>/qat/cfg_services
45 # echo up > /sys/bus/pci/devices/<BDF>/qat/state
46 # cat /sys/bus/pci/devices/<BDF>/qat/cfg_services
49 This attribute is only available for qat_4xxx devices.