> Subject: [PATCHv3 1/1] RDMA/irdma: Make the source udp port vary > > From: Zhu Yanjun <yanjun.zhu@xxxxxxxxx> > > Based on the link https://www.spinics.net/lists/linux-rdma/msg73735.html, > get the source udp port number for a QP based on the grh.flow_label or > lqpn/rqrpn. This provides a better spread of traffic across NIC RX queues. > The method in the commit 2b880b2e5e03 ("RDMA/mlx5: Define RoCEv2 udp > source port when set path") is a standard way. So it is also adopted in this > commit. > > Signed-off-by: Zhu Yanjun <yanjun.zhu@xxxxxxxxx> > --- > V2->V3: Move to the block of IB_QP_AV in the mask and IB_AH_GRH in > V2->ah_flags > V1->V2: Adopt a standard method to get udp source port. > --- > drivers/infiniband/hw/irdma/verbs.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > Reviewed-by: Mustafa Ismail <mustafa.ismail@xxxxxxxxx>