diff options
author | 2016-11-13 16:15:47 +0200 | |
---|---|---|
committer | 2016-11-13 16:15:47 +0200 | |
commit | 96e76821cccae0ff6fb4aa660cd6b38ec81c1262 (patch) | |
tree | a8a845caee310fe0496001b9ed912ac924334c4c /scripts | |
parent | 49608a299299861e215bcf37a4cbabd8a1191485 (diff) |
dpdk_set_up minor fix
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dpdk_setup_ports.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/dpdk_setup_ports.py b/scripts/dpdk_setup_ports.py index 2cfeec26..c5e92a71 100755 --- a/scripts/dpdk_setup_ports.py +++ b/scripts/dpdk_setup_ports.py @@ -364,9 +364,10 @@ Other network devices Mellanox_cnt=Mellanox_cnt+1 - if ((Mellanox_cnt>0) and (Mellanox_cnt!= len(if_list))): - err=" All driver should be from one vendor. you have at least one driver from Mellanox but not all "; - raise DpdkSetup(err) + if not map_driver.dump_interfaces : + if ((Mellanox_cnt>0) and (Mellanox_cnt!= len(if_list))): + err=" All driver should be from one vendor. you have at least one driver from Mellanox but not all "; + raise DpdkSetup(err) if only_check_all_mlx: |