summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2017-02-27 20:42:59 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2017-02-27 20:42:59 +0200
commite6a2086bad99e9b717ab9f9d4e68d4c594a8be7d (patch)
treef447ae255c53e71b1d7041cc6e2add763f14ba2c /scripts
parenta7fbd337035d5a5b1ca59ae290d995232a3adc22 (diff)
Fix for dump interfaces @ Mellanox
Change-Id: Ieeadd3607e0b887156c12b7adc9862192c747d2f Signed-off-by: Yaroslav Brustinov <ybrustin@cisco.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dpdk_setup_ports.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/dpdk_setup_ports.py b/scripts/dpdk_setup_ports.py
index 72d91de3..a1fbc3d0 100755
--- a/scripts/dpdk_setup_ports.py
+++ b/scripts/dpdk_setup_ports.py
@@ -488,7 +488,7 @@ Other network devices
if_list = map_driver.parent_args.dump_interfaces
if not if_list:
for dev in self.m_devices.values():
- if dev.get('Driver_str') in dpdk_nic_bind.dpdk_drivers:
+ if dev.get('Driver_str') in dpdk_nic_bind.dpdk_drivers + dpdk_nic_bind.dpdk_and_kernel:
if_list.append(dev['Slot'])
if_list = list(map(self.pci_name_to_full_name, if_list))
@@ -1052,6 +1052,9 @@ def main ():
except DpdkSetup as e:
print(e)
exit(-1)
+ except Exception:
+ traceback.print_exc()
+ exit(-1)