-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-9.7
-
No
-
None
-
rhel-ps-drivers
-
ssg_platform_storage
-
4
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
-
All
-
None
Link-local IPv6 addresses need an explicit interface suffix for the connection to succeed. There is an HFI index in the NBFT table however this needs to be translated to actual interface name.
connect ctrl, 'nqn=nqn.2014-08.org.nvmexpress.boot.poc:rhel10,transport=tcp,traddr=fe80::42a6:b7ff:fec0:8a11,host_traddr=fe80::42a6:b7ff:fec0:8ac9,trsvcid=4420,hostnqn=nqn.2014-08.org.nvmexpress:uuid:12345678-aaaa-bbbb-cccc-123456789012,hostid=78563412-aaaa-bbbb-cccc-123456789012,ctrl_loss_tmo=600' Failed to write to /dev/nvme-fabrics: Invalid argument
[root@rhel-storage-108 ~]# echo 'nqn=nqn.2014-08.org.nvmexpress.boot.poc:rhel10,transport=tcp,traddr=fe80::42a6:b7ff:fec0:8a11,host_traddr=fe80::42a6:b7ff:fec0:8ac9%nbft1,trsvcid=4420,hostnqn=nqn.2014-08.org.nvmexpress:uuid:12345678-aaaa-bbbb-cccc-123456789012,hostid=78563412-aaaa-bbbb-cccc-123456789012,ctrl_loss_tmo=600' > /dev/nvme-fabrics [root@rhel-storage-108 ~]#
TODO: there are additional HFI Transport Flags (HFITFLAGS) specified for each HFI record, might need to take in account some of them, such as the Global Route vs. Link Local Override Flag (GRLLOF). This will involve slight libnvme NBFT API break since these flags are not currently exposed publicly.
Related: https://blog.apnic.net/2020/03/30/whats-the-deal-with-ipv6-link-local-addresses/