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

Chao Leng lengchao at huawei.com
Fri Jul 22 02:55:40 PDT 2022



On 2022/7/22 17:46, Daniel Wagner wrote:
> On Fri, Jul 22, 2022 at 05:37:42PM +0800, Chao Leng wrote:
> 
>> Maybe we should not check the host_iface, because it is not used in the controller
>> management code. If some users uses these parameters incorrectly, it may result in
>> unexpected behavior.
> 
> Currently we only allow 1:1 setups. Checking if we use different network
> interfaces allows n:1 setups.
> 
> Obviously, if the user has a invalid IP configuration etc things will
> break apart but this is true for almost anything.
We should add the N:1 related controller management first, and then add
the host_iface cheching. Thus it might be better.
> .
> 



More information about the Linux-nvme mailing list