diff options
author | Noa Osherovich <noaos@mellanox.com> | 2016-06-10 00:07:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-09 22:06:26 -0700 |
commit | 23898c763f4af6f5c80b0230b1ea788a0ce3cf73 (patch) | |
tree | 1ad21f9e3aeffb8d302f4e68dd729a078e9e20ff /include/linux/mtd/pismo.h | |
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 <noaos@mellanox.com>
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mtd/pismo.h')
0 files changed, 0 insertions, 0 deletions