aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/main.c
diff options
context:
space:
mode:
authorDanit Goldberg <danitg@mellanox.com>2018-11-30 13:22:05 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-12-07 13:22:09 -0700
commit569c665150156e44ecbd92af47a6d3fd4e2e4690 (patch)
tree4b677ff42c5c7ac6708366e75b3e387f290fabaf /drivers/infiniband/hw/mlx5/main.c
parentnet/mlx5: Expose packet based credit mode (diff)
downloadlinux-dev-569c665150156e44ecbd92af47a6d3fd4e2e4690.tar.xz
linux-dev-569c665150156e44ecbd92af47a6d3fd4e2e4690.zip
IB/mlx5: Add packet based credit mode support
The device can support two credit modes, message based (default) and packet based. In order to enable packet based mode, the QP should be created with special flag that indicates this. This patch adds support for the new DV QP creation flag that can be used for RC QPs in order to change the credit mode. Signed-off-by: Danit Goldberg <danitg@mellanox.com> Reviewed-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/main.c')
0 files changed, 0 insertions, 0 deletions