diff options
author | Moni Shoua <monis@mellanox.com> | 2013-12-12 18:03:14 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-01-18 14:12:53 -0800 |
commit | 297e0dad720664dad44baa2cdd13f871979fb58c (patch) | |
tree | 2c14a33b5fcabd51e41335884896b5209db29de2 /drivers/infiniband/hw/ocrdma/ocrdma_hw.c | |
parent | d487ee77740ccf79d7dc1935d4daa77887283028 (diff) | |
download | op-kernel-dev-297e0dad720664dad44baa2cdd13f871979fb58c.zip op-kernel-dev-297e0dad720664dad44baa2cdd13f871979fb58c.tar.gz |
IB/mlx4: Handle Ethernet L2 parameters for IP based GID addressing
IP based RoCE gids don't store Ethernet L2 parameters, MAC and VLAN.
Therefore, we need to extract them from the CQE and place them in
struct ib_wc (to be used for cases were they were taken from the gid).
Also, when modifying a QP or building address handle, instead of
parsing the dgid to get the MAC and VLAN, take them from the address
handle attributes.
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma_hw.c')
0 files changed, 0 insertions, 0 deletions