Skip to content

Set recv side SGE to null if verb is write with imm#387

Merged
sshaulnv merged 1 commit into
linux-rdma:masterfrom
SreevatsaAnantharamu:anantharamus/null-sge-wimm
Apr 14, 2026
Merged

Set recv side SGE to null if verb is write with imm#387
sshaulnv merged 1 commit into
linux-rdma:masterfrom
SreevatsaAnantharamu:anantharamus/null-sge-wimm

Conversation

@SreevatsaAnantharamu
Copy link
Copy Markdown

In write with imm, the recv side SGE is not used. Setting this to NULL and num_sge to 0.

@sshaulnv sshaulnv merged commit 2acfd77 into linux-rdma:master Apr 14, 2026
1 check passed
@mrgolin
Copy link
Copy Markdown
Contributor

mrgolin commented Apr 14, 2026

This change breaks EFA that currently doesn't support num_sge = 0. What is the purpose of this change?

@sshaulnv
Copy link
Copy Markdown
Contributor

@mrgolin for write with immediate you dont really need the recv SGE, since the immediate data is part of the cqe.
there are verbs implementation that setting the recv side SGE can break them.

but you are right that we cant assume all support num_sge=0.

@SreevatsaAnantharamu can you please focus the condition?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants