Fix configuring mellanox VFs for ConnectX-4 LX cards
Added a parsing fix for configuring mellanox vfs script to handle LX ConnectX-4 cards. Change-Id: I9e1202eae1d1bc72faf3af0df0fb238b388dfc02
This commit is contained in:
parent
650b396bf4
commit
df713aecad
|
@ -85,7 +85,8 @@ class MellanoxVfsSettings(object):
|
|||
vf_dict['vf_num'] = count;
|
||||
vf_dict['pci_address'] = vf_info[0]
|
||||
vf_dict['port_module'] = vf_info[1]
|
||||
vf_dict['port_num'] = vf_info[12]
|
||||
index_port_num = vf_info.index("port")
|
||||
vf_dict['port_num'] = vf_info[index_port_num + 1]
|
||||
vf_dict['mac'] = mac_list[count]
|
||||
cls.mellanox_vfs.append(vf_dict)
|
||||
count += 1;
|
||||
|
|
|
@ -5,7 +5,7 @@ name: mellanox-plugin
|
|||
title: Mellanox ConnectX-4 Openstack Features
|
||||
|
||||
# Plugin version
|
||||
version: 3.1.17
|
||||
version: 3.1.18
|
||||
|
||||
# Description
|
||||
description: Enable features over Mellanox ConnectX-4 Adapters
|
||||
|
|
Loading…
Reference in New Issue