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
f3b25854
Commit
f3b25854
authored
Feb 14, 2024
by
Titouan Soulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libcapulet: increase maximum Send/Recv count
parent
b1145888
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
libcapulet/rdma_ib.c
libcapulet/rdma_ib.c
+6
-6
libtrx/trx_rdma.c
libtrx/trx_rdma.c
+1
-1
No files found.
libcapulet/rdma_ib.c
View file @
f3b25854
...
...
@@ -44,8 +44,8 @@ bool capulet_rdma_ib_initialize_qp(struct CapuletRdmaIbContext *ctx, int access)
int
result
;
ctx
->
send_cq
=
ibv_create_cq
(
ctx
->
ib_ctx
,
16
,
NULL
,
NULL
,
0
);
ctx
->
recv_cq
=
ibv_create_cq
(
ctx
->
ib_ctx
,
16
,
NULL
,
NULL
,
0
);
ctx
->
send_cq
=
ibv_create_cq
(
ctx
->
ib_ctx
,
32
,
NULL
,
NULL
,
0
);
ctx
->
recv_cq
=
ibv_create_cq
(
ctx
->
ib_ctx
,
32
,
NULL
,
NULL
,
0
);
if
(
!
ctx
->
send_cq
||
!
ctx
->
recv_cq
)
{
return
false
;
}
...
...
@@ -60,10 +60,10 @@ bool capulet_rdma_ib_initialize_qp(struct CapuletRdmaIbContext *ctx, int access)
ibv_dev_qp_request
.
send_cq
=
ctx
->
send_cq
;
ibv_dev_qp_request
.
recv_cq
=
ctx
->
recv_cq
;
ibv_dev_qp_request
.
cap
.
max_send_wr
=
16
;
ibv_dev_qp_request
.
cap
.
max_recv_wr
=
16
;
ibv_dev_qp_request
.
cap
.
max_send_sge
=
16
;
ibv_dev_qp_request
.
cap
.
max_recv_sge
=
16
;
ibv_dev_qp_request
.
cap
.
max_send_wr
=
32
;
ibv_dev_qp_request
.
cap
.
max_recv_wr
=
32
;
ibv_dev_qp_request
.
cap
.
max_send_sge
=
32
;
ibv_dev_qp_request
.
cap
.
max_recv_sge
=
32
;
ibv_dev_qp
=
ibv_create_qp
(
ctx
->
pd
,
&
ibv_dev_qp_request
);
...
...
libtrx/trx_rdma.c
View file @
f3b25854
...
...
@@ -122,7 +122,7 @@ int trx_rdma_start(TRXState *s, const TRXDriverParams2 *p) {
if
(
!
result
)
return
-
1
;
// Fill the Recv queue
for
(
int
i
=
0
;
i
<
16
;
i
++
)
{
for
(
int
i
=
0
;
i
<
32
;
i
++
)
{
capulet_rdma_ib_post_recv
(
&
sdr_context
->
ib_ctx
,
sdr_context
->
in_mr
,
sizeof
(
struct
SDRMemoryRegion
));
}
...
...
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