IB/mlx5: Expose TIR ICM address to user space
authorAriel Levkovich <lariel@mellanox.com>
Sun, 31 Mar 2019 16:44:50 +0000 (19:44 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 25 Apr 2019 13:03:19 +0000 (10:03 -0300)
commit1f1d6abbf0bebe4b1fc33b80730a1b4bfbc8f7bb
tree72db798d120072819dd4bfb6888730d6672ed644
parent96780e4f46b2fc0fc5ae2b95957002e2c42b11d3
IB/mlx5: Expose TIR ICM address to user space

This patch exposes the TIR ICM address of raw packet and RSS
QPs to user space.

In order to pass the new field, the patch extends the mlx5
specific QP creation response structure and fills it with
the icm address returned by the FW command, if available.

Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c
include/uapi/rdma/mlx5-abi.h