diff options
author | Noa Osherovich <[email protected]> | 2016-06-10 00:07:37 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-09 22:06:26 -0700 |
commit | 23898c763f4af6f5c80b0230b1ea788a0ce3cf73 (patch) | |
tree | 1ad21f9e3aeffb8d302f4e68dd729a078e9e20ff /tools/perf/util/trace-event-scripting.c | |
parent | 25fff58cb24c8880090d8b8ef7746001a135e876 (diff) |
net/mlx5: E-Switch, Modify node guid on vf set MAC
In RoCE, the RDMA-CM needs the node guid to establish connection
between nodes.
Today, the node guid exposed to mlx5 Ethernet VFs is zero, therefore
RDMA-CM on the VF is broken.
Whenever the administrator sets a MAC for a VF, derive the node guid
from it and set it as well in the following way:
MAC: e4:1d:2d:b3:f4:01 -> node_guid: e4:1d:2d:ff:fe:b3:f4:01
Fixes: 77256579c6b43 ('net/mlx5: E-Switch, Introduce Vport...')
Signed-off-by: Noa Osherovich <[email protected]>
Signed-off-by: Majd Dibbiny <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions