Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rdma-mwe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
rdma-mwe
Commits
5baa2247
Commit
5baa2247
authored
Feb 14, 2024
by
Titouan Soulard
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libcapulet: use 4096-byte MTU
parent
549f091e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
libcapulet/rdma_ib.c
libcapulet/rdma_ib.c
+3
-2
No files found.
libcapulet/rdma_ib.c
View file @
5baa2247
...
...
@@ -146,11 +146,12 @@ bool capulet_rdma_ib_set_peer_from_udp(struct CapuletRdmaIbContext *ctx, struct
// Change state from Init to RTR (Ready To Receive)
memset
(
&
ibv_dev_qp_params
,
0
,
sizeof
(
struct
ibv_qp_attr
));
ibv_dev_qp_params
.
qp_state
=
IBV_QPS_RTR
;
ibv_dev_qp_params
.
path_mtu
=
IBV_MTU_
1024
;
ibv_dev_qp_params
.
path_mtu
=
IBV_MTU_
4096
;
ibv_dev_qp_params
.
dest_qp_num
=
udp_ctx
->
remote
->
qpn
;
ibv_dev_qp_params
.
rq_psn
=
udp_ctx
->
remote
->
psn
;
ibv_dev_qp_params
.
max_dest_rd_atomic
=
1
;
ibv_dev_qp_params
.
min_rnr_timer
=
12
;
// 0xd = 960 μs delay
ibv_dev_qp_params
.
min_rnr_timer
=
0xd
;
ibv_dev_qp_params
.
ah_attr
.
is_global
=
1
;
ibv_dev_qp_params
.
ah_attr
.
dlid
=
udp_ctx
->
remote
->
lid
;
...
...
Titouan Soulard
@tsoulard
mentioned in commit
337cebd1
·
Feb 19, 2024
mentioned in commit
337cebd1
mentioned in commit 337cebd15d188f39ecaed82b0c05cb437f7516e7
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment