[PATCH] nbft: use the correct interfaces for NBFT connections
Keith Busch
kbusch at kernel.org
Tue Jun 2 05:15:20 PDT 2026
On Thu, May 28, 2026 at 04:45:10PM -0500, stuart hayes wrote:
> On 5/7/2026 3:23 PM, Stuart Hayes wrote:
> > The NBFT specifies which network interface should be used to connect to
> > each namespace (using the HFI descriptor), but that is currently ignored
> > when "nvme connect-all --nbft" is used. If there are namespaces on
> > different interfaces, some namespaces can fail to connect, unless the IP
> > tables were already set up to route these in the desired way when the
> > interface isn't specified.
> >
> > Add a bit of logic to look at the HFI descriptors in the NBFT and find the
> > network interface to use when connecting each namespace.
> >
> > Signed-off-by: Stuart Hayes<stuart.w.hayes at gmail.com>
>
> Should I submit this as a PR, rather than sending the patch to this list?
Maybe the PR is a quicker route. The mailing list historically picked up
these things too, but you normally need to alter the subject to
[PATCH nvme-cli] or something like that so it stands out separately from
the usual kernel patches.
More information about the Linux-nvme
mailing list