diff options
| author | Christoph Hellwig <hch@lst.de> | 2023-12-26 08:58:44 +0000 | 
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2024-01-03 08:09:40 -0800 | 
| commit | 3b946fe1cc149b23dad3a233c77b1475834f4d6f (patch) | |
| tree | bfa16afc1b9a30aaae21caeb68d44311733cfd48 /drivers/fpga/fpga-mgr.c | |
| parent | f29886c249ec2ed566e423fd02f6071b8f0a3346 (diff) | |
nvme: simplify the max_discard_segments calculation
Just stash away the DMRL value in the nvme_ctrl struture, and leave
all interpretation to nvme_config_discard, where we know DSM is
supported by the time we're configuring the number of segments.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
