commit | 9aed6ae0647d8b23b5746223f376acd7de7b8868 | [log] [tgz] |
---|---|---|
author | Danit Goldberg <danitg@mellanox.com> | Tue Dec 03 17:43:36 2019 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 03 11:24:34 2019 -0800 |
tree | b568aff4936509f60763e58f4a4fad8887292308 | |
parent | c4b4c421857dc7b1cf0dccbd738472360ff2cd70 [diff] |
net/core: Populate VF index in struct ifla_vf_guid In addition to filling the node_guid and port_guid attributes, there is a need to populate VF index too, otherwise users of netlink interface will see same VF index for all VFs. Fixes: 30aad41721e0 ("net/core: Add support for getting VF GUIDs") Signed-off-by: Danit Goldberg <danitg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>