Change-Id: Ibdc0089c323f94221130fa0c80e5fc3d12ffab10
Signed-off-by: Yaroslav Brustinov <[email protected]>
to_bind_list.append(key)
if to_bind_list:
- if Mellanox_cnt > 0:
+ if Mellanox_cnt:
ret = self.do_bind_all('mlx5_core', to_bind_list)
if ret:
raise DpdkSetup('Unable to bind interfaces to driver mlx5_core.')
ret = self.do_bind_all('igb_uio', to_bind_list)
if ret:
raise DpdkSetup('Unable to bind interfaces to driver igb_uio.')
-
+ elif Mellanox_cnt:
+ return MLX_EXIT_CODE
def do_return_to_linux(self):
if not self.m_devices: