Skip to content

Commit 236f255

Browse files
committed
Merge tag 'nvme-6.5-2023-06-16' of git://git.infradead.org/nvme into for-6.5/block
Pull NVMe updates from Keith: "nvme updates for Linux 6.5 - Various cleanups all around (Irvin, Chaitanya, Christophe) - Better struct packing (Christophe JAILLET) - Reduce controller error logs for optional commands (Keith) - Support for >=64KiB block sizes (Daniel Gomez) - Fabrics fixes and code organization (Max, Chaitanya, Daniel Wagner)" * tag 'nvme-6.5-2023-06-16' of git://git.infradead.org/nvme: (27 commits) nvme: forward port sysfs delete fix nvme: skip optional id ctrl csi if it failed nvme-core: use nvme_ns_head_multipath instead of ns->head->disk nvmet-fcloop: Do not wait on completion when unregister fails nvme-fabrics: open code __nvmf_host_find() nvme-fabrics: error out to unlock the mutex nvme: Increase block size variable size to 32-bit nvme-fcloop: no need to return from void function nvmet-auth: remove unnecessary break after goto nvmet-auth: remove some dead code nvme-core: remove redundant check from nvme_init_ns_head nvme: move sysfs code to a dedicated sysfs.c file nvme-fabrics: prevent overriding of existing host nvme-fabrics: check hostid using uuid_equal nvme-fabrics: unify common code in admin and io queue connect nvmet: reorder fields in 'struct nvmefc_fcp_req' nvmet: reorder fields in 'struct nvme_dhchap_queue_context' nvmet: reorder fields in 'struct nvmf_ctrl_options' nvme: reorder fields in 'struct nvme_ctrl' nvmet: reorder fields in 'struct nvmet_sq' ...
2 parents f085448 + 1c606f7 commit 236f255

File tree

14 files changed

+903
-915
lines changed

14 files changed

+903
-915
lines changed

drivers/nvme/host/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ obj-$(CONFIG_NVME_FC) += nvme-fc.o
1010
obj-$(CONFIG_NVME_TCP) += nvme-tcp.o
1111
obj-$(CONFIG_NVME_APPLE) += nvme-apple.o
1212

13-
nvme-core-y += core.o ioctl.o
13+
nvme-core-y += core.o ioctl.o sysfs.o
1414
nvme-core-$(CONFIG_NVME_VERBOSE_ERRORS) += constants.o
1515
nvme-core-$(CONFIG_TRACING) += trace.o
1616
nvme-core-$(CONFIG_NVME_MULTIPATH) += multipath.o

drivers/nvme/host/auth.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ struct nvme_dhchap_queue_context {
3030
u32 s2;
3131
u16 transaction;
3232
u8 status;
33+
u8 dhgroup_id;
3334
u8 hash_id;
3435
size_t hash_len;
35-
u8 dhgroup_id;
3636
u8 c1[64];
3737
u8 c2[64];
3838
u8 response[64];
3939
u8 *host_response;
4040
u8 *ctrl_key;
41-
int ctrl_key_len;
4241
u8 *host_key;
43-
int host_key_len;
4442
u8 *sess_key;
43+
int ctrl_key_len;
44+
int host_key_len;
4545
int sess_key_len;
4646
};
4747

0 commit comments

Comments
 (0)