From: Ondrej Lichtner <olichtne(a)redhat.com>
The default for all devices should be that bulk mode is disabled,
however it's required for SoftDevices to be enabled while they're being
created. After the creation is done it should be disabled again.
Thanks to Christos who noticed the issue.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
---
lnst/Slave/InterfaceManager.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/lnst/Slave/InterfaceManager.py b/lnst/Slave/InterfaceManager.py
index 3801bdb..b5d0091 100644
--- a/lnst/Slave/InterfaceManager.py
+++ b/lnst/Slave/InterfaceManager.py
@@ -244,6 +244,7 @@ class InterfaceManager(object):
except KeyError as e:
raise DeviceConfigError("%s is a mandatory argument" % e)
device._create()
+ device._bulk_enabled = False
devs = scan_netdevs()
for dev in devs:
--
2.19.0