[PATCH 0/2] nvme-fc: Create Association corrections
James Smart
jsmart2021 at gmail.com
Fri Jul 7 18:08:24 PDT 2017
The FC-NVME spec changed between 1.14 and 1.15 and will again in 1.16
to adjust the Create Association LS. The main change was to reduce
the HostID field from 64bytes to 16bytes. This change was picked up in
a linux by checkin in march. However, the 1.15 spec added pad that the
checkin didn't have and added additional pad it shouldn't have, causing
it to exceed the desired 1Kbytes max payload size for FC-NVME LS's.
1.16 will revise the pad such that the overall LS is 1024 bytes in length.
This patch updates the headers for the spec mod and also modifies the
target such that it will accept a variable amount of pad. This allows
older initiators to still connect.
James Smart (2):
nvme_fc/nvmet_fc: revise Create Association descriptor length
nvmet_fc: Accept variable pad lengths on Create Association LS
drivers/nvme/target/fc.c | 20 +++++++++++++-------
include/linux/nvme-fc.h | 23 ++++++++++++++++++++++-
2 files changed, 35 insertions(+), 8 deletions(-)
--
2.11.0
More information about the Linux-nvme
mailing list