summaryrefslogtreecommitdiffstats
path: root/vnet
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-03-17 12:46:57 +0100
committerDamjan Marion <damarion@cisco.com>2016-03-17 12:46:57 +0100
commitaaf2acddb333d40b376ade61c2a92a989b63ff93 (patch)
treedaf20c033a06ca921dab8c1aa4a65204cfc3de00 /vnet
parente6f9023ff020cf8faacef17007a19de51e03e30d (diff)
Don't stop binding pci device if write to new_id fails
In some cases write to new_id fails but binding is still possible. Change-Id: I1944eab4326a08e85e83cd5cd7379c6a4d03d98d Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet')
-rw-r--r--vnet/vnet/devices/dpdk/init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/vnet/vnet/devices/dpdk/init.c b/vnet/vnet/devices/dpdk/init.c
index 47b5153d00c..eed54098410 100644
--- a/vnet/vnet/devices/dpdk/init.c
+++ b/vnet/vnet/devices/dpdk/init.c
@@ -884,8 +884,6 @@ static clib_error_t * dpdk_bind_eth_kernel_drivers (vlib_main_t * vm,
_vec_len (path) = 0;
path = format (path, "/sys/bus/pci/drivers/%s/new_id%c", driver_name, 0);
error = write_sys_fs ((char *) path, "%s %s", pci_vid, pci_did);
- if (error)
- continue;
_vec_len (path) = 0;
path = format (path, "/sys/bus/pci/drivers/%s/bind%c", driver_name, 0);