Skip to content

Commit

Permalink
Merge pull request #1423 from tatyana-en/rstream-iwarp-fix
Browse files Browse the repository at this point in the history
rstream [RFC]: Set INLINE data for iWARP
  • Loading branch information
rleon committed Feb 14, 2024
2 parents 0ffe03e + fc82b15 commit 942bc24
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion librdmacm/rsocket.c
Expand Up @@ -917,8 +917,12 @@ static int rs_create_ep(struct rsocket *rs)
int i, ret;

rs_set_qp_size(rs);
if (rs->cm_id->verbs->device->transport_type == IBV_TRANSPORT_IWARP)
if (rs->cm_id->verbs->device->transport_type == IBV_TRANSPORT_IWARP) {
rs->opts |= RS_OPT_MSG_SEND;

if (rs->sq_inline < RS_MSG_SIZE)
rs->sq_inline = RS_MSG_SIZE;
}
ret = rs_create_cq(rs, rs->cm_id);
if (ret)
return ret;
Expand Down

0 comments on commit 942bc24

Please sign in to comment.