]> 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)
commit0badab2096f019b0d22a0319bfc0ceabdf596a10
treea9090b1f8deb04e0ec20dcd19286349130f91e62
parent6333ef0a6d756a72c48035feae2450b64f0372e4
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