diff options
author | Vijay Immanuel <vijayi@attalasystems.com> | 2018-07-05 18:43:47 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-08-30 16:31:50 -0400 |
commit | d3c04a3a6870a4b96ee213d99b4f4ca723e64025 (patch) | |
tree | 39ae0cd303cf2792ba98138cdf96c388ce428f5d /drivers/infiniband/sw/rxe/rxe_verbs.h | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) | |
download | linux-rt-d3c04a3a6870a4b96ee213d99b4f4ca723e64025.tar.gz |
IB/rxe: vary the source udp port for receive scaling
Select the source udp port number for a QP based on the
source QPN. This provides a better spread of traffic
across NIC RX queues for RC/UC QPs.
Signed-off-by: Vijay Immanuel <vijayi@attalasystems.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_verbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h index af1470d29391..0d920087811a 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.h +++ b/drivers/infiniband/sw/rxe/rxe_verbs.h @@ -248,6 +248,7 @@ struct rxe_qp { struct socket *sk; u32 dst_cookie; + u16 src_port; struct rxe_av pri_av; struct rxe_av alt_av; |