From 02767e9f2eaf7ccfc4079f83d467ad2d3faee203 Mon Sep 17 00:00:00 2001 From: Radu Nicolau Date: Thu, 23 Feb 2017 14:28:49 +0000 Subject: Fixed QAT device binding and device unbinding when vpp package is removed Change-Id: I35ad6a42093cad0945df1df09a39c63c4560dce6 Signed-off-by: Radu Nicolau --- src/vnet/devices/dpdk/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vnet/devices/dpdk/init.c b/src/vnet/devices/dpdk/init.c index 7249cc52..c50c0659 100755 --- a/src/vnet/devices/dpdk/init.c +++ b/src/vnet/devices/dpdk/init.c @@ -858,7 +858,7 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf) vec_reset_length (pci_addr); pci_addr = format (pci_addr, "%U%c", format_vlib_pci_addr, &d->bus_address, 0); - if (d->device_class != PCI_CLASS_NETWORK_ETHERNET) + if (d->device_class != PCI_CLASS_NETWORK_ETHERNET && d->device_class != PCI_CLASS_PROCESSOR_CO) continue; if (num_whitelisted) -- cgit 1.2.3-korg