]> www.infradead.org Git - users/hch/misc.git/commit
nvme-pci: use a better encoding for small prp pool allocations
authorChristoph Hellwig <hch@lst.de>
Mon, 12 May 2025 15:16:04 +0000 (17:16 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 May 2025 15:19:49 +0000 (17:19 +0200)
commit1cc8985b3c19dc3487d2e663dfd3473f5e64afdc
tree343293e37d413e61f563caa6374781dee1d1dfa6
parente81a8778876e7f9635f6bee1303271ae093108a9
nvme-pci: use a better encoding for small prp pool allocations

Add a separate flag to encode that the transfer is using the small
page sized pool, and use a normal 0..n count for the number of
descriptors.

Contains improvements and suggestions from Kanchan Joshi
<joshi.k@samsung.com> and Leon Romanovsky <leonro@nvidia.com>.

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