android_kernel_samsung_sm8650/include/linux/mlx5
Noa Osherovich 23898c763f 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: 77256579c6 ('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>
2016-06-09 22:06:26 -07:00
..
cmd.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
cq.h net/mlx5_core: Use tasklet for user-space CQ completion events 2016-05-18 10:45:49 -04:00
device.h net/mlx5: Fix flow steering NIC capabilities check 2016-06-09 22:06:25 -07:00
doorbell.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
driver.h Primary 4.7 merge window changes 2016-05-20 14:35:07 -07:00
fs.h net/mlx5_core: Flow counters infrastructure 2016-05-16 13:43:51 -04:00
mlx5_ifc.h net/mlx5: E-Switch, Modify node guid on vf set MAC 2016-06-09 22:06:26 -07:00
port.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-04-27 15:43:10 -04:00
qp.h net/mlx5: Fix the size of modify QP mailbox 2016-06-09 22:06:25 -07:00
srq.h net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
transobj.h IB/mlx5: Support setting Ethernet priority for Raw Packet QPs 2016-01-21 12:01:09 -05:00
vport.h net/mlx5: E-Switch, Modify node guid on vf set MAC 2016-06-09 22:06:26 -07:00