Add command id quirk for fabrics
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | nvme-fabrics: add command id quirk for fabrics controllersdrivers/ drivers/ | +8 | 0 replies | |
| 2/4 | nvme-rdma: add command id quirk for RDMA controllersdrivers/ | +5 | 0 replies | |
| 3/4 | nvme-tcp: add command id quirk for TCP controllersdrivers/ | +5 | 0 replies | |
| 4/4 | nvme-fc: add command id quirk for FC controllersdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/4] Add command id quirk for fabrics
Hi all,
Commit a2941f6aa71a ("nvme: add command id quirk for apple controllers") was merged to fix a regression in apple controllers that was introduced after merging commit e7006de6c238 ("nvme: code command_id with a genctr for use-after-free validation").
This series is comming to enable the same quirk for fabrics controllers that used the command id index in the same way that was probably used in apple controllers.
This series is a complementary series to NVMe-CLi and libnvme patches that will introduce a new flag for "nvme connect" command:
"--skip-cid-gen". Using this flag will cause enabling NVME_QUIRK_SKIP_CID_GEN quirk and will actually add the ability to ignore the command id generation for other transport alongside PCI transport.
default value of the flag is false.
Usage:
nvme connect -t <transport> -n <nqn> -a <addr> -s <sid> --skip-cid-gen or
nvme connect -t <transport> -n <nqn> -a <addr> -s <sid> -p
Max Gurtovoy (4):
nvme-fabrics: add command id quirk for fabrics controllers
nvme-rdma: add command id quirk for RDMA controllers
nvme-tcp: add command id quirk for TCP controllers
nvme-fc: add command id quirk for FC controllers
drivers/nvme/host/fabrics.c | 7 ++++++- drivers/nvme/host/fabrics.h | 2 ++ drivers/nvme/host/fc.c | 6 +++++- drivers/nvme/host/rdma.c | 7 +++++-- drivers/nvme/host/tcp.c | 6 +++++- 5 files changed, 23 insertions(+), 5 deletions(-)
Signature · 1 line
2.18.1