You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -30,11 +31,10 @@ Supported Devices include, but may not be limited to, the following:
30
31
-[Intel® Atom™ Processor C3000][2]
31
32
-[Intel® Communications Chipset 8925 to 8955 Series][3]
32
33
33
-
The QAT device plugin provides access to QAT hardware accelerated cryptographic and compression features.
34
-
Demonstrations are provided utilising [DPDK](https://doc.dpdk.org/) and [OpenSSL](https://www.openssl.org/).
34
+
The QAT device plugin provides access to QAT hardware accelerated cryptographic and compression features
35
+
through the SR-IOV virtual functions (VF). Demonstrations are provided utilising [DPDK](https://doc.dpdk.org/) and [OpenSSL](https://www.openssl.org/).
35
36
36
-
[Kata Containers](https://katacontainers.io/) QAT integration is documented in the
37
-
[Kata Containers documentation repository][6].
37
+
QAT Kubernetes resources show up as `qat.intel.com/generic` on systems _before_ QAT Gen4 (4th Gen Xeon®) and `qat.intel.com/[cy|dc]` on QAT Gen4.
38
38
39
39
## Modes and Configuration Options
40
40
@@ -43,9 +43,9 @@ The QAT plugin can take a number of command line arguments, summarised in the fo
43
43
| Flag | Argument | Meaning |
44
44
|:---- |:-------- |:------- |
45
45
| -dpdk-driver | string | DPDK Device driver for configuring the QAT device (default: `vfio-pci`) |
46
-
| -kernel-vf-drivers | string | Comma separated VF Device Driver of the QuickAssist Devices in the system. Devices supported: DH895xCC, C62x, C3xxx, 4xxx/401xx/402xx, C4xxx and D15xx (default: `c6xxvf,4xxxvf`) |
46
+
| -kernel-vf-drivers | string | Comma separated list of the QuickAssist VFs to search and use in the system. Devices supported: DH895xCC, C62x, C3xxx, 4xxx/401xx/402xx, C4xxx and D15xx (default: `c6xxvf,4xxxvf`) |
47
47
| -max-num-devices | int | maximum number of QAT devices to be provided to the QuickAssist device plugin (default: `64`) |
48
-
| -mode | string | plugin mode which can be either `dpdk` or `kernel` (default: `dpdk`)|
48
+
| -mode | string |Deprecated: plugin mode which can be either `dpdk` or `kernel` (default: `dpdk`).|
49
49
| -allocation-policy | string | 2 possible values: balanced and packed. Balanced mode spreads allocated QAT VF resources balanced among QAT PF devices, and packed mode packs one QAT PF device full of QAT VF resources before allocating resources from the next QAT PF. (There is no default.) |
50
50
51
51
The plugin also accepts a number of other arguments related to logging. Please use the `-h` option to see
@@ -63,15 +63,13 @@ vf drivers available in the [Linux Kernel](https://github.com/torvalds/linux/tre
63
63
64
64
If the `-mode` parameter is set to `kernel`, no other parameter documented above are valid,
65
65
except the `klog` logging related parameters.
66
-
`kernel` mode implements resource allocation based on system configured [logical instances][7].
66
+
`kernel` mode implements resource allocation based on system configured [logical instances][7] and
67
+
it does not guarantee full device isolation between containers. Therefore, it's not recommended.
67
68
68
-
> **Note**: `kernel` mode is excluded by default from all builds (including those hosted on the Docker hub),
69
+
> **Note**: `-mode` parameter is deprecated and it is also not made available as an option to
70
+
> the operator based deployment. Furthermore, `kernel` mode is excluded by default from all builds (including those hosted on the Docker hub),
69
71
> by default. See the [Build the plugin image](#build-the-plugin-image) section for more details.
70
72
71
-
The `kernel` mode does not guarantee full device isolation between containers
72
-
and therefore it's not recommended. This mode will be deprecated and removed once `libqat`
73
-
implements non-UIO based device access.
74
-
75
73
## Installation
76
74
77
75
The below sections cover how to obtain, build and install this component.
@@ -89,7 +87,7 @@ The QAT plugin requires Linux Kernel VF QAT drivers to be available. These drive
89
87
are available via two methods. One of them must be installed and enabled:
> socket creation and kubelet registration. Furthermore, the deployments `securityContext` must
121
119
> be configured with appropriate `runAsUser/runAsGroup`.
122
120
123
-
####Automatic Provisioning
121
+
### Automatic Provisioning
124
122
125
123
There's a sample [qat initcontainer](https://github.com/intel/intel-device-plugins-for-kubernetes/blob/main/build/docker/intel-qat-initcontainer.Dockerfile). Regardless of device types, the script running inside the initcontainer enables QAT SR-IOV VFs.
126
124
@@ -151,7 +149,7 @@ When using the operator for deploying the plugin with provisioning config, use `
151
149
There's also a possibility for a node specific congfiguration through passing a nodename via `NODE_NAME` into initcontainer's environment and passing a node specific profile (`qat-$NODE_NAME.conf`) via ConfigMap volume mount.
152
150
153
151
154
-
####Verify Plugin Registration
152
+
### Verify Plugin Registration
155
153
156
154
Verification of the plugin deployment and detection of QAT hardware can be confirmed by
0 commit comments