Skip to content

Conversation

@minwooim
Copy link
Collaborator

If application takes more than 512 sq/cq pairs, @ctrl->doorbells can't simply represent the mmio region since it has fixed size of mmio (0x1000). To support large number of qpairs, calculate the proper mmio doorbell size and map the proper size of it. To do that, &struct nvme_ctrl_opts is used to get the size of the doorbell possible.

If application takes more than 512 sq/cq pairs, @ctrl->doorbells can't
simply represent the mmio region since it has fixed size of mmio
(0x1000).  To support large number of qpairs, calculate the proper mmio
doorbell size and map the proper size of it.  To do that, &struct
nvme_ctrl_opts is used to get the size of the doorbell possible.

Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
@minwooim minwooim requested a review from birkelund January 18, 2026 13:11
@minwooim minwooim merged commit 27607a2 into SamsungDS:main Jan 18, 2026
25 checks passed
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.

1 participant