]> www.infradead.org Git - users/hch/block.git/commit
nvme-pci: use a smarter encoding for small prp pool allocations
authorChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 17:21:33 +0000 (19:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 17:21:33 +0000 (19:21 +0200)
commit12f024ef5c78fa8592b65b2bad99c3f02b24e9ad
treef364f0f30b705b69ae46f8370584dfa746bf082b
parent628a75d1efaae4d061c6857d53c3e9cdf5496084
nvme-pci: use a smarter encoding for small prp pool allocations

Make 0 mean no allocations and -1 "small pool" instead of vice versa.
With that only the small pool needs special casing.

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