]> git.baikalelectronics.ru Git - kernel.git/commit
IB: Report using RoCE IP based gids in port caps
authorMoni Shoua <monis@mellanox.co.il>
Sun, 9 Feb 2014 09:54:34 +0000 (11:54 +0200)
committerRoland Dreier <roland@purestorage.com>
Thu, 13 Feb 2014 22:46:03 +0000 (14:46 -0800)
commit036520b77c2f835d4a3b400ecdd52aeaeb135467
treea9090b1f8deb04e0ec20dcd19286349130f91e62
parented4c0e42e851d5178cd0d1dc05de408325576e1c
IB: Report using RoCE IP based gids in port caps

For userspace RoCE UD QPs we need to know the GID format that the
kernel uses, e.g when working over older kernels. For that end, add a
new port capability IB_PORT_IP_BASED_GIDS and report it when query
port is issued.

Signed-off-by: Moni Shoua <monis@mellanox.co.il>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
include/rdma/ib_verbs.h