diff options
author | Yuval Shaia <yuval.shaia@oracle.com> | 2018-12-21 16:40:28 +0200 |
---|---|---|
committer | Marcel Apfelbaum <marcel.apfelbaum@gmail.com> | 2018-12-22 11:09:56 +0200 |
commit | 028c3f93d61d33f7335ebef475aa2ab1faa8b20a (patch) | |
tree | 64b6bc99951be9b4d4cdfb580e18e8ab5690b39d /hw/9pfs | |
parent | d961ead16edc03b850f906451bb995fe1a6513f1 (diff) | |
download | qemu-028c3f93d61d33f7335ebef475aa2ab1faa8b20a.zip qemu-028c3f93d61d33f7335ebef475aa2ab1faa8b20a.tar.gz qemu-028c3f93d61d33f7335ebef475aa2ab1faa8b20a.tar.bz2 |
hw/rdma: Initialize node_guid from vmxnet3 mac address
node_guid should be set once device is load.
Make node_guid be GID format (32 bit) of PCI function 0 vmxnet3 device's
MAC.
A new function was added to do the conversion.
So for example the MAC 56:b6:44:e9:62:dc will be converted to GID
54b6:44ff:fee9:62dc.
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'hw/9pfs')
0 files changed, 0 insertions, 0 deletions