Skip to content

Commit a33d04a

Browse files
committed
qat: drop unsupported kerneldrv mode
Signed-off-by: Tuomas Katila <[email protected]>
1 parent 7744aa7 commit a33d04a

File tree

19 files changed

+3
-2867
lines changed

19 files changed

+3
-2867
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ endif
177177

178178
dockerlib = build/docker/lib
179179
dockertemplates = build/docker/templates
180-
images = $(shell basename -s .Dockerfile.in -a $(dockertemplates)/*.Dockerfile.in | grep -v -e dlb -e fpga -e kerneldrv -e xpumanager-sidecar)
180+
images = $(shell basename -s .Dockerfile.in -a $(dockertemplates)/*.Dockerfile.in | grep -v -e dlb -e fpga -e xpumanager-sidecar)
181181
dockerfiles = $(shell basename -s .in -a $(dockertemplates)/*.Dockerfile.in | xargs -I"{}" echo build/docker/{})
182182

183183
test-image-base-layer:

build/docker/intel-qat-plugin-kerneldrv.Dockerfile

Lines changed: 0 additions & 72 deletions
This file was deleted.

build/docker/templates/intel-qat-plugin-kerneldrv.Dockerfile.in

Lines changed: 0 additions & 43 deletions
This file was deleted.

cmd/qat_plugin/README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ The QAT plugin can take a number of command line arguments, summarised in the fo
4343
| -dpdk-driver | string | DPDK Device driver for configuring the QAT device (default: `vfio-pci`) |
4444
| -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, 420xx, C4xxx and D15xx (default: `4xxxvf,420xxvf`) |
4545
| -max-num-devices | int | maximum number of QAT devices to be provided to the QuickAssist device plugin (default: `64`) |
46-
| -mode | string | Deprecated: plugin mode which can be either `dpdk` or `kernel` (default: `dpdk`).|
4746
| -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.) |
4847

4948
The plugin also accepts a number of other arguments related to logging. Please use the `-h` option to see
@@ -59,15 +58,6 @@ For more details on the `-dpdk-driver` choice, see
5958
For more details on the available options to the `-kernel-vf-drivers` option, see the list of
6059
vf drivers available in the [Linux Kernel](https://github.com/torvalds/linux/tree/master/drivers/crypto/intel/qat).
6160

62-
If the `-mode` parameter is set to `kernel`, no other parameter documented above are valid,
63-
except the `klog` logging related parameters.
64-
`kernel` mode implements resource allocation based on system configured [logical instances][7] and
65-
it does not guarantee full device isolation between containers. Therefore, it's not recommended.
66-
67-
> **Note**: `-mode` parameter is deprecated and it is also not made available as an option to
68-
> the operator based deployment. Furthermore, `kernel` mode is excluded by default from all builds (including those hosted on the Docker hub),
69-
> by default. See the [Build the plugin image](#build-the-plugin-image) section for more details.
70-
7161
## Installation
7262

7363
The below sections cover how to obtain, build and install this component.

0 commit comments

Comments
 (0)