mirror-linux/drivers/nvme/target
Damien Le Moal 2ba8cf918f nvmet: Use enum definitions instead of hardcoded values
Change the definition of the inline functions nvmet_cc_en(),
nvmet_cc_css(), nvmet_cc_mps(), nvmet_cc_ams(), nvmet_cc_shn(),
nvmet_cc_iosqes(), and nvmet_cc_iocqes() to use the enum difinitions in
include/linux/nvme.h instead of hardcoded values.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
2025-02-18 07:39:42 -08:00
..
Kconfig nvmet: New NVMe PCI endpoint function target driver 2025-01-10 19:30:49 -08:00
Makefile nvmet: New NVMe PCI endpoint function target driver 2025-01-10 19:30:49 -08:00
admin-cmd.c nvme fixes for Linux 6.14 2025-02-03 09:19:03 -07:00
auth.c block-6.12-20241101 2024-11-01 13:41:55 -10:00
configfs.c for-6.14/block-20250118 2025-01-20 19:38:46 -08:00
core.c nvmet: Fix crash when a namespace is disabled 2025-02-18 07:21:52 -08:00
debugfs.c nvmet: Make nvmet_debugfs static 2024-08-23 09:50:16 -07:00
debugfs.h nvmet: add debugfs support 2024-06-24 12:53:42 -07:00
discovery.c nvmet: Introduce nvmet_req_transfer_len() 2025-01-10 19:30:47 -08:00
fabrics-cmd-auth.c nvmet: Introduce nvmet_req_transfer_len() 2025-01-10 19:30:47 -08:00
fabrics-cmd.c nvmet: add a missing endianess conversion in nvmet_execute_admin_connect 2025-01-28 07:07:21 -08:00
fc.c for-6.11/block-20240710 2024-07-15 14:20:22 -07:00
fcloop.c nvme-fcloop: implement 'host_traddr' 2024-06-24 12:53:43 -07:00
io-cmd-bdev.c nvme fixes for Linux 6.14 2025-02-03 09:19:03 -07:00
io-cmd-file.c
loop.c nvme-loop: flush off pending I/O while shutting down loop controller 2024-10-17 11:07:37 -07:00
nvmet.h nvmet: Use enum definitions instead of hardcoded values 2025-02-18 07:39:42 -08:00
passthru.c block: remove bio_add_pc_page 2025-01-04 15:27:35 -07:00
pci-epf.c nvmet: pci-epf: Avoid RCU stalls under heavy workload 2025-02-18 07:25:15 -08:00
pr.c nvmet-loop: avoid using mutex in IO hotpath 2024-12-27 13:24:00 -08:00
rdma.c nvmet-rdma: recheck queue state is LIVE in state lock in recv done 2025-02-18 07:22:55 -08:00
tcp.c nvmet-tcp: fix kernel crash if commands allocation fails 2024-08-26 16:00:52 -07:00
trace.c nvmet: add tracing of reservation commands 2024-11-13 08:51:24 -08:00
trace.h nvme: trace: avoid memcpy overflow warning 2024-01-05 13:16:18 -08:00
zns.c block: remove bio_add_pc_page 2025-01-04 15:27:35 -07:00