]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Support extended number of strides for Striding RQ
authorMark Zhang <markz@mellanox.com>
Fri, 15 Nov 2019 15:45:55 +0000 (17:45 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 Nov 2019 20:05:41 +0000 (16:05 -0400)
commit71a292968b159daaa0b5c6ca8a79eee24592760b
tree54d953ba52e5dd34df4f3ae41dd78d14d79aab44
parent98030ddeded2a3fecb6ede67d42e459c93c48e45
IB/mlx5: Support extended number of strides for Striding RQ

Extends the minimum single WQE strides from 64 to 8, which is exposed
by the "min_single_wqe_log_num_of_strides" field of striding_rq_caps.
Choose right number of strides based on FW capability.

Link: https://lore.kernel.org/r/20191115154555.247856-1-leon@kernel.org
Signed-off-by: Mark Zhang <markz@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c