]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: consider also host_iface when checking ip options
authorDaniel Wagner <dwagner@suse.de>
Fri, 29 Jul 2022 14:26:30 +0000 (16:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 Sep 2022 15:55:24 +0000 (17:55 +0200)
commit71520335bad8928ac7f7d14195290e8163b22327
treea53fa8b3478112a689bf08098cbd6550aa22c150
parent10f8ad53c44261dad3f1dac7bdc1842ae381d789
nvme: consider also host_iface when checking ip options

It's perfectly fine to use the same traddr and trsvcid more than once
as long we use different host interface. This is used in setups where
the host has more than one interface but the target exposes only one
traddr/trsvcid combination.

Use the same acceptance rules for host_iface as we have for
host_traddr.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Chao Leng <lengchao@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.c