Skip to content

Conversation

mrgolin
Copy link
Contributor

@mrgolin mrgolin commented Sep 14, 2025

Return the CQ reverse doorbell to give external data path implementations (GPU, etc.) an option to notify the device of polled entries.

uint8_t *buffer;
uint32_t entry_size;
uint32_t num_entries;
uint32_t *doorbell;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it is address, why is it uint32_t and not uint64_t?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The doorbell is 32 bits and I prefer returning a relevant pointer type rather than an address, in similar to what we do in efadv_query_qp_wqs.
Changed the commit message to better reflect on this.

Return the CQ reverse doorbell to give external data path
implementations (GPU, etc.) an option to notify the device of
polled entries.

Reviewed-by: Yonatan Nachum <[email protected]>
Signed-off-by: Michael Margolin <[email protected]>
@mrgolin mrgolin changed the title efa: Extend DV query CQ to return doorbell address efa: Extend DV query CQ to return doorbell Sep 15, 2025
@mrgolin
Copy link
Contributor Author

mrgolin commented Oct 6, 2025

@rleon if there are no further comments, can you please merge this change?

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.

2 participants