mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
qat_plugin: use vfio-pci as the default driver
vfio-pci uses IOMMU memory protection and is a safer default. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
This commit is contained in:
parent
a7cc698666
commit
187f8040f0
@ -59,6 +59,8 @@ By default, the device plugin supports these QuickAssist devices: DH895xCC, C62
|
||||
|
||||
Use the `kernel-vf-drivers flag` to specify the vf Device Driver for the particular QAT device. For more information, refer to [Intel QAT Crypto Poll Mode Driver](https://dpdk.org/doc/guides/cryptodevs/qat.html).
|
||||
|
||||
`-dpdk-driver` is set to `vfio-pci` by default since it is more robust and secure driver compared with `igb_uio`. See [DPDK Linux Driver Guide](http://dpdk.org/doc/guides/linux_gsg/linux_drivers.html) for more information.
|
||||
|
||||
### Build QAT device plugin Docker image:
|
||||
```
|
||||
$ cd $GOPATH/src/github.com/intel/intel-device-plugins-for-kubernetes
|
||||
|
@ -272,7 +272,7 @@ func (dp *devicePlugin) scan() (deviceplugin.DeviceTree, error) {
|
||||
}
|
||||
|
||||
func main() {
|
||||
dpdkDriver := flag.String("dpdk-driver", "igb_uio", "DPDK Device driver for configuring the QAT device")
|
||||
dpdkDriver := flag.String("dpdk-driver", "vfio-pci", "DPDK Device driver for configuring the QAT device")
|
||||
kernelVfDrivers := flag.String("kernel-vf-drivers", "dh895xccvf,c6xxvf,c3xxxvf,d15xxvf", "Comma separated VF Device Driver of the QuickAssist Devices in the system. Devices supported: DH895xCC,C62x,C3xxx and D15xx")
|
||||
maxNumDevices := flag.Int("max-num-devices", 32, "maximum number of QAT devices to be provided to the QuickAssist device plugin")
|
||||
debugEnabled := flag.Bool("debug", false, "enable debug output")
|
||||
|
@ -3,7 +3,7 @@ kind: ConfigMap
|
||||
metadata:
|
||||
name: intel-qat-plugin-config
|
||||
data:
|
||||
DPDK_DRIVER: "igb_uio"
|
||||
DPDK_DRIVER: "vfio-pci"
|
||||
KERNEL_VF_DRIVERS: "dh895xccvf,c6xxvf,c3xxxvf,d15xxvf"
|
||||
MAX_NUM_DEVICES: "32"
|
||||
DEBUG: "false"
|
||||
|
Loading…
Reference in New Issue
Block a user