]> www.infradead.org Git - users/hch/block.git/commit
nvme-rdma: initialize max_hw_sectors earlier
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 18:09:26 +0000 (13:09 -0500)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Feb 2024 15:23:08 +0000 (07:23 -0800)
commit2f17005236642ae08d56c0edc4e1aefbbc641e2c
tree8862c5fcebe98d15bcc121d0c65f64dddba0562d
parenteb58ebef34cf569debe02c25105347a4cbfd879c
nvme-rdma: initialize max_hw_sectors earlier

Initialize max_fr_pages and the values depending on it a little earlier
so that nvme_alloc_admin_tag_set can rely on it to set the initial
queue limits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c