~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-driver-qat

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-driver-qat (Architecture ppc) and /Documentation/ABI/testing/sysfs-driver-qat (Architecture mips)


  1 What:           /sys/bus/pci/devices/<BDF>/qat      1 What:           /sys/bus/pci/devices/<BDF>/qat/state
  2 Date:           June 2022                           2 Date:           June 2022
  3 KernelVersion:  6.0                                 3 KernelVersion:  6.0
  4 Contact:        qat-linux@intel.com                 4 Contact:        qat-linux@intel.com
  5 Description:    (RW) Reports the current state      5 Description:    (RW) Reports the current state of the QAT device. Write to
  6                 the file to start or stop the       6                 the file to start or stop the device.
  7                                                     7 
  8                 The values are:                     8                 The values are:
  9                                                     9 
 10                 * up: the device is up and run     10                 * up: the device is up and running
 11                 * down: the device is down         11                 * down: the device is down
 12                                                    12 
 13                                                    13 
 14                 It is possible to transition t     14                 It is possible to transition the device from up to down only
 15                 if the device is up and vice v     15                 if the device is up and vice versa.
 16                                                    16 
 17                 This attribute is only availab     17                 This attribute is only available for qat_4xxx devices.
 18                                                    18 
 19 What:           /sys/bus/pci/devices/<BDF>/qat     19 What:           /sys/bus/pci/devices/<BDF>/qat/cfg_services
 20 Date:           June 2022                          20 Date:           June 2022
 21 KernelVersion:  6.0                                21 KernelVersion:  6.0
 22 Contact:        qat-linux@intel.com                22 Contact:        qat-linux@intel.com
 23 Description:    (RW) Reports the current confi     23 Description:    (RW) Reports the current configuration of the QAT device.
 24                 Write to the file to change th     24                 Write to the file to change the configured services.
 25                                                    25 
 26                 The values are:                    26                 The values are:
 27                                                    27 
 28                 * sym;asym: the device is conf     28                 * sym;asym: the device is configured for running crypto
 29                   services                         29                   services
 30                 * asym;sym: identical to sym;a     30                 * asym;sym: identical to sym;asym
 31                 * dc: the device is configured     31                 * dc: the device is configured for running compression services
 32                 * dcc: identical to dc but ena     32                 * dcc: identical to dc but enables the dc chaining feature,
 33                   hash then compression. If th     33                   hash then compression. If this is not required chose dc
 34                 * sym: the device is configure     34                 * sym: the device is configured for running symmetric crypto
 35                   services                         35                   services
 36                 * asym: the device is configur     36                 * asym: the device is configured for running asymmetric crypto
 37                   services                         37                   services
 38                 * asym;dc: the device is confi     38                 * asym;dc: the device is configured for running asymmetric
 39                   crypto services and compress     39                   crypto services and compression services
 40                 * dc;asym: identical to asym;d     40                 * dc;asym: identical to asym;dc
 41                 * sym;dc: the device is config     41                 * sym;dc: the device is configured for running symmetric crypto
 42                   services and compression ser     42                   services and compression services
 43                 * dc;sym: identical to sym;dc      43                 * dc;sym: identical to sym;dc
 44                                                    44 
 45                 It is possible to set the conf     45                 It is possible to set the configuration only if the device
 46                 is in the `down` state (see /s     46                 is in the `down` state (see /sys/bus/pci/devices/<BDF>/qat/state)
 47                                                    47 
 48                 The following example shows ho     48                 The following example shows how to change the configuration of
 49                 a device configured for runnin     49                 a device configured for running crypto services in order to
 50                 run data compression::             50                 run data compression::
 51                                                    51 
 52                         # cat /sys/bus/pci/dev     52                         # cat /sys/bus/pci/devices/<BDF>/qat/state
 53                         up                         53                         up
 54                         # cat /sys/bus/pci/dev     54                         # cat /sys/bus/pci/devices/<BDF>/qat/cfg_services
 55                         sym;asym                   55                         sym;asym
 56                         # echo down > /sys/bus     56                         # echo down > /sys/bus/pci/devices/<BDF>/qat/state
 57                         # echo dc > /sys/bus/p     57                         # echo dc > /sys/bus/pci/devices/<BDF>/qat/cfg_services
 58                         # echo up > /sys/bus/p     58                         # echo up > /sys/bus/pci/devices/<BDF>/qat/state
 59                         # cat /sys/bus/pci/dev     59                         # cat /sys/bus/pci/devices/<BDF>/qat/cfg_services
 60                         dc                         60                         dc
 61                                                    61 
 62                 This attribute is only availab     62                 This attribute is only available for qat_4xxx devices.
 63                                                    63 
 64 What:           /sys/bus/pci/devices/<BDF>/qat     64 What:           /sys/bus/pci/devices/<BDF>/qat/pm_idle_enabled
 65 Date:           June 2023                          65 Date:           June 2023
 66 KernelVersion:  6.5                                66 KernelVersion:  6.5
 67 Contact:        qat-linux@intel.com                67 Contact:        qat-linux@intel.com
 68 Description:    (RW) This configuration option     68 Description:    (RW) This configuration option provides a way to force the device into remaining in
 69                 the MAX power state.               69                 the MAX power state.
 70                 If idle support is enabled the     70                 If idle support is enabled the device will transition to the `MIN` power state when
 71                 idle, otherwise will stay in t     71                 idle, otherwise will stay in the MAX power state.
 72                 Write to the file to enable or     72                 Write to the file to enable or disable idle support.
 73                                                    73 
 74                 The values are:                    74                 The values are:
 75                                                    75 
 76                 * 0: idle support is disabled      76                 * 0: idle support is disabled
 77                 * 1: idle support is enabled       77                 * 1: idle support is enabled
 78                                                    78 
 79                 Default value is 1.                79                 Default value is 1.
 80                                                    80 
 81                 It is possible to set the pm_i     81                 It is possible to set the pm_idle_enabled value only if the device
 82                 is in the `down` state (see /s     82                 is in the `down` state (see /sys/bus/pci/devices/<BDF>/qat/state)
 83                                                    83 
 84                 The following example shows ho     84                 The following example shows how to change the pm_idle_enabled of
 85                 a device::                         85                 a device::
 86                                                    86 
 87                         # cat /sys/bus/pci/dev     87                         # cat /sys/bus/pci/devices/<BDF>/qat/state
 88                         up                         88                         up
 89                         # cat /sys/bus/pci/dev     89                         # cat /sys/bus/pci/devices/<BDF>/qat/pm_idle_enabled
 90                         1                          90                         1
 91                         # echo down > /sys/bus     91                         # echo down > /sys/bus/pci/devices/<BDF>/qat/state
 92                         # echo 0 > /sys/bus/pc     92                         # echo 0 > /sys/bus/pci/devices/<BDF>/qat/pm_idle_enabled
 93                         # echo up > /sys/bus/p     93                         # echo up > /sys/bus/pci/devices/<BDF>/qat/state
 94                         # cat /sys/bus/pci/dev     94                         # cat /sys/bus/pci/devices/<BDF>/qat/pm_idle_enabled
 95                         0                          95                         0
 96                                                    96 
 97                 This attribute is only availab     97                 This attribute is only available for qat_4xxx devices.
 98                                                    98 
 99 What:           /sys/bus/pci/devices/<BDF>/qat     99 What:           /sys/bus/pci/devices/<BDF>/qat/rp2srv
100 Date:           January 2024                      100 Date:           January 2024
101 KernelVersion:  6.7                               101 KernelVersion:  6.7
102 Contact:        qat-linux@intel.com               102 Contact:        qat-linux@intel.com
103 Description:                                      103 Description:
104                 (RW) This attribute provides a    104                 (RW) This attribute provides a way for a user to query a
105                 specific ring pair for the typ    105                 specific ring pair for the type of service that it is currently
106                 configured for.                   106                 configured for.
107                                                   107 
108                 When written to, the value is     108                 When written to, the value is cached and used to perform the
109                 read operation. Allowed values    109                 read operation. Allowed values are in the range 0 to N-1, where
110                 N is the max number of ring pa    110                 N is the max number of ring pairs supported by a device. This
111                 can be queried using the attri    111                 can be queried using the attribute qat/num_rps.
112                                                   112 
113                 A read returns the service ass    113                 A read returns the service associated to the ring pair queried.
114                                                   114 
115                 The values are:                   115                 The values are:
116                                                   116 
117                 * dc: the ring pair is configu    117                 * dc: the ring pair is configured for running compression services
118                 * sym: the ring pair is config    118                 * sym: the ring pair is configured for running symmetric crypto
119                   services                        119                   services
120                 * asym: the ring pair is confi    120                 * asym: the ring pair is configured for running asymmetric crypto
121                   services                        121                   services
122                                                   122 
123                 Example usage::                   123                 Example usage::
124                                                   124 
125                         # echo 1 > /sys/bus/pc    125                         # echo 1 > /sys/bus/pci/devices/<BDF>/qat/rp2srv
126                         # cat /sys/bus/pci/dev    126                         # cat /sys/bus/pci/devices/<BDF>/qat/rp2srv
127                         sym                       127                         sym
128                                                   128 
129                 This attribute is only availab    129                 This attribute is only available for qat_4xxx devices.
130                                                   130 
131 What:           /sys/bus/pci/devices/<BDF>/qat    131 What:           /sys/bus/pci/devices/<BDF>/qat/num_rps
132 Date:           January 2024                      132 Date:           January 2024
133 KernelVersion:  6.7                               133 KernelVersion:  6.7
134 Contact:        qat-linux@intel.com               134 Contact:        qat-linux@intel.com
135 Description:                                      135 Description:
136                 (RO) Returns the number of rin    136                 (RO) Returns the number of ring pairs that a single device has.
137                                                   137 
138                 Example usage::                   138                 Example usage::
139                                                   139 
140                         # cat /sys/bus/pci/dev    140                         # cat /sys/bus/pci/devices/<BDF>/qat/num_rps
141                         64                        141                         64
142                                                   142 
143                 This attribute is only availab    143                 This attribute is only available for qat_4xxx devices.
144                                                   144 
145 What:           /sys/bus/pci/devices/<BDF>/qat    145 What:           /sys/bus/pci/devices/<BDF>/qat/auto_reset
146 Date:           May 2024                          146 Date:           May 2024
147 KernelVersion:  6.9                               147 KernelVersion:  6.9
148 Contact:        qat-linux@intel.com               148 Contact:        qat-linux@intel.com
149 Description:    (RW) Reports the current state    149 Description:    (RW) Reports the current state of the autoreset feature
150                 for a QAT device                  150                 for a QAT device
151                                                   151 
152                 Write to the attribute to enab    152                 Write to the attribute to enable or disable device auto reset.
153                                                   153 
154                 Device auto reset is disabled     154                 Device auto reset is disabled by default.
155                                                   155 
156                 The values are:                   156                 The values are:
157                                                   157 
158                 * 1/Yy/on: auto reset enabled.    158                 * 1/Yy/on: auto reset enabled. If the device encounters an
159                   unrecoverable error, it will    159                   unrecoverable error, it will be reset automatically.
160                 * 0/Nn/off: auto reset disable    160                 * 0/Nn/off: auto reset disabled. If the device encounters an
161                   unrecoverable error, it will    161                   unrecoverable error, it will not be reset.
162                                                   162 
163                 This attribute is only availab    163                 This attribute is only available for qat_4xxx devices.
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php