File: 0ba59aab27e17cce9897cc6bb8b15983f98d220c

package info (click to toggle)
rdma-core 56.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,196 kB
  • sloc: ansic: 171,361; python: 13,724; sh: 2,774; perl: 1,465; makefile: 73
file content (38 lines) | stat: -rw-r--r-- 914 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "mlx5dv_modify_qp_udp_sport" "3" "" "" ""
.hy
.SH NAME
.PP
mlx5dv_modify_qp_udp_sport - Modify the UDP source port of a given QP
.SH SYNOPSIS
.IP
.nf
\f[C]
#include <infiniband/mlx5dv.h>

int mlx5dv_modify_qp_udp_sport(struct ibv_qp *qp, uint16_t udp_sport)
\f[R]
.fi
.SH DESCRIPTION
.PP
The UDP source port is used to create entropy for network routers
(ECMP), load balancers and 802.3ad link aggregation switching that are
not aware of RoCE IB headers.
.PP
This API enables modifying the configured UDP source port of a given
RC/UC QP when QP is in RTS state.
.SH ARGUMENTS
.TP
\f[I]qp\f[R]
The ibv_qp object to issue the action on.
.TP
\f[I]udp_sport\f[R]
The UDP source port to set for the QP.
.SH RETURN VALUE
.PP
Returns 0 on success, or the value of errno on failure (which indicates
the failure reason).
.SH AUTHOR
.PP
Maor Gottlieb <maorg@nvidia.com>