nvme-fc: Create Association corrections
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | nvme_fc/nvmet_fc: revise Create Association descriptor lengthinclude/ | +22 | 1 reply | |
| 2/2 | nvmet_fc: Accept variable pad lengths on Create Association LSdrivers/ | +13 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] nvme-fc: Create Association corrections
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(-)
Signature · 1 line
2.11.0