Skip to content

Generate UDP src port with flow label or lqpn/rqpn

[email protected] linux-rdma 3 versions – Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied
  2. v25 patches 13 repliesSuperseded
  3. v14 patches 8 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4RDMA/core: Calculate UDP source port based on flow label or lqpn/rqpninclude/rdma/ib_verbs.h+17 -00 replies
2/4RDMA/hns: Replace get_udp_sport with rdma_get_udp_sportdrivers/infiniband/hw/hns/hns_roce_hw_v2.c+2 -101 reply
3/4RDMA/irdma: Make the source udp port varydrivers/infiniband/hw/irdma/verbs.c+4 -00 replies
4/4RDMA/rxe: Use the standard method to produce udp source portdrivers/infiniband/sw/rxe/rxe_verbs.c+6 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchLeon RomanovskyShiraz SaleemWenpeng Liang
1/4R-b
2/4R-b A-b
3/4R-b A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/4] Generate UDP src port with flow label or lqpn/rqpn

From: Zhu Yanjun <[email protected]>

Follow the advice from Leon Romanovsky, rdma_get_udp_sport is moved to ib_verbs.h. several drivers generate udp source port with this function.

---
v2->v3:Because in-subnet communications, GRH is optional. Without thei
randomization for src_port done in rxe_qp_init_req, udp source port will be 0xC000 in that case.
v1->v2:Remove the local variables in commits "RDMA/irdma: Make the source
udp port vary" and "RDMA/rxe: Use the standard method to produce udp source port". A new commit is added to remove the redundant randomization for UDP source port in RXE.
---

Zhu Yanjun (4):
RDMA/core: Calculate UDP source port based on flow label or lqpn/rqpn RDMA/hns: Replace get_udp_sport with rdma_get_udp_sport RDMA/irdma: Make the source udp port vary
RDMA/rxe: Use the standard method to produce udp source port

 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 12 ++----------
 drivers/infiniband/hw/irdma/verbs.c        |  4 ++++
 drivers/infiniband/sw/rxe/rxe_verbs.c      |  6 ++++++
 include/rdma/ib_verbs.h                    | 17 +++++++++++++++++
 4 files changed, 29 insertions(+), 10 deletions(-)
Signature · 1 line
2.27.0