[PATCH v2] nvme: consider also host_iface when checking ip options

Daniel Wagner dwagner at suse.de
Mon Jul 25 02:25:22 PDT 2022


On Mon, Jul 25, 2022 at 08:52:27AM +0800, Chao Leng wrote:
> > What's wrong with it?
> nvme over tcp has implemented host_iface-related processing.
> But nvme over rdma(roce) do not.
> You can test with nvme over rdma(roce).

Ah, now I get your point. Indeed this will only work for the TCP
transport. But the RDMA transport doesn't set the NVMF_OPT_HOST_IFACE to
the allowed_opts so we should filter out this with the additional
NVMF_OPT_HOST_IFACE checks for the RDMA transport.



More information about the Linux-nvme mailing list