[PATCH rdma-next V1 0/4] ConnectX-3 RSS Implementation

Leon Romanovsky
2017-07-04T13:24:23Z

Hi Doug,

This patch set adds to ConnectX-3 devices the ability to use RSS
feature, which was initially implemented in mlx5-based devices [1].

The backport of RSS feature to ConnectX-3 hardware was a challenge
task due to differences in architectures between mlx4 and mlx5 based
devices.

It caused to a limited number of usage limitations, mentioned in the relevant
commit messages where it applies.

This series supports all RSS related verbs.

Thanks.

Changelog:
v0->v1:
* Removed limitation of number of WQs per context which was 128.
* Added unlimited number of ranges of WQs according to provided user data.

[1] https://www.spinics.net/lists/linux-rdma/msg36526.html

---
We based this series on our previous mlx4 submissions to reduce merge conflicts.
For your convenience, I prepared the branch with the following merge sequence:
"topic/no-io" -> "topic/mlx4-resource-utilization" -> "topic/mlx4-receive-inline"

Available in the "topic/mlx4-rss-v1" topic branch of this git repo:
git://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git

Or for browsing:
https://git.kernel.org/cgit/linux/kernel/git/leon/linux-rdma.git/log/?h=topic/mlx4-rss-v1

Thanks

Guy Levi (4):
IB/mlx4: Add support for WQ related verbs
IB/mlx4: Add support for WQ indirection table related verbs
IB/mlx4: Add support for RSS QP
IB/mlx4: Expose RSS capabilities

drivers/infiniband/hw/mlx4/main.c | 35 ++
drivers/infiniband/hw/mlx4/mlx4_ib.h | 39 +-
drivers/infiniband/hw/mlx4/qp.c | 994 ++++++++++++++++++++++++++++++++---
include/uapi/rdma/mlx4-abi.h | 51 ++
4 files changed, 1057 insertions(+), 62 deletions(-)