]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb18a7e4773aac5e8daa1aa9e8cf800b5916f1f0
tree72db798d120072819dd4bfb6888730d6672ed644
parent811be957f8efd871f6888d2efe31efbb18fe2864
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