Skip to content

IB/mlx4: Add RoCEv2 support

Moni Shoua linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12net/mlx4: Query RoCE supportdrivers/net/ethernet/mellanox/mlx4/fw.c include/linux/mlx4/device.h+30 -30 replies
2/12IB/mlx4: Add gid_type to GID propertiesdrivers/infiniband/hw/mlx4/main.c drivers/infiniband/hw/mlx4/mlx4_ib.h+14 -40 replies
3/12net/mlx4_core: Configure mlx4 hardware for mixed RoCE v1/v2 modesdrivers/net/ethernet/mellanox/mlx4/mlx4.h drivers/net/ethernet/mellanox/mlx4/port.c+11 -10 replies
4/12IB/mlx4: Add support for setting RoCEv2 gids in hardwaredrivers/infiniband/hw/mlx4/main.c include/linux/mlx4/cmd.h+62 -40 replies
5/12net/mlx4_core: Add support for configuring RoCE v2 UDP portdrivers/net/ethernet/mellanox/mlx4/fw.c include/linux/mlx4/device.h+16 -10 replies
6/12net/mlx4_core: Add support for RoCE v2 entropydrivers/net/ethernet/mellanox/mlx4/qp.c include/linux/mlx4/qp.h+38 -10 replies
7/12IB/core: Add definition for the standard RoCE V2 UDP portinclude/rdma/ib_verbs.h+1 -00 replies
8/12IB/mlx4: Support modify_qp for RoCE v2drivers/infiniband/hw/mlx4/qp.c include/linux/mlx4/qp.h+35 -40 replies
9/12IB/mlx4: Enable RoCE v2 when the IB device is addeddrivers/infiniband/hw/mlx4/main.c+8 -10 replies
10/12IB/mlx4: Enable send of RoCE QP1 packets with IP/UDP headersdrivers/infiniband/core/ud_header.c drivers/infiniband/hw/mlx4/qp.c include/rdma/ib_pack.h+54 -120 replies
11/12IB/mlx4: Create and use another QP1 for RoCEv2drivers/infiniband/hw/mlx4/mlx4_ib.h drivers/infiniband/hw/mlx4/qp.c+147 -190 replies
12/12IB/mlx4: Advertise RoCE v2 supportdrivers/infiniband/hw/mlx4/main.c+9 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] IB/mlx4: Add RoCEv2 support

RoCEv2 is the InfiniBand transport protocol encapsulated in ETH/IP/UDP link and network protocols.
The implementation to the IB/core driver was added by Matan Barak as an infrastructure for any vendor driver and this patch set uses it to add RoCEv2 support for ConnectX-3Pro NICs

Matan Barak (1):
IB/mlx4: Advertise RoCE v2 support

Moni Shoua (11):
net/mlx4: Query RoCE support
IB/mlx4: Add gid_type to GID properties
net/mlx4_core: Configure mlx4 hardware for mixed RoCE v1/v2 modes IB/mlx4: Add support for setting RoCEv2 gids in hardware net/mlx4_core: Add support for configuring RoCE v2 UDP port net/mlx4_core: Add support for RoCE v2 entropy IB/core: Add definition for the standard RoCE V2 UDP port IB/mlx4: Support modify_qp for RoCE v2
IB/mlx4: Enable RoCE v2 when the IB device is added IB/mlx4: Enable send of RoCE QP1 packets with IP/UDP headers IB/mlx4: Create and use another QP1 for RoCEv2

 drivers/infiniband/core/ud_header.c       |   2 +-
 drivers/infiniband/hw/mlx4/main.c         | 101 ++++++++++--
 drivers/infiniband/hw/mlx4/mlx4_ib.h      |   8 +
 drivers/infiniband/hw/mlx4/qp.c           | 256 ++++++++++++++++++++++++++----
 drivers/net/ethernet/mellanox/mlx4/fw.c   |  39 ++++-
 drivers/net/ethernet/mellanox/mlx4/mlx4.h |   5 +-
 drivers/net/ethernet/mellanox/mlx4/port.c |   7 +
 drivers/net/ethernet/mellanox/mlx4/qp.c   |  26 +++
 include/linux/mlx4/cmd.h                  |   3 +-
 include/linux/mlx4/device.h               |  11 +-
 include/linux/mlx4/qp.h                   |  15 +-
 include/rdma/ib_pack.h                    |   4 +-
 include/rdma/ib_verbs.h                   |   1 +
 13 files changed, 425 insertions(+), 53 deletions(-)
Signature · 6 lines
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html