On Tue, Dec 03, 2024 at 07:30:53PM +0530, Anumula Murali Mohan Reddy wrote: > If traffic is over vlan, cma_validate_port() fails to match > net_device ifindex with bound_if_index and results in ENODEV error. > As iWARP gid table is static, it contains entry corresponding to > only one net device which is either real netdev or vlan netdev for > cases like siw attached to a vlan interface. > This patch fixes the issue by assigning bound_if_index with net > device index, if real net device obtained from bound if index matches > with net device retrieved from gid table > > Fixes: f8ef1be816bf ("RDMA/cma: Avoid GID lookups on iWARP devices") > Link: https://lore.kernel.org/all/ZzNgdrjo1kSCGbRz@xxxxxxxxxxx/ > Signed-off-by: Anumula Murali Mohan Reddy <anumula@xxxxxxxxxxx> > Signed-off-by: Potnuri Bharat Teja <bharat@xxxxxxxxxxx> > --- > Changes since v1: > Addressed previous review comments > --- > drivers/infiniband/core/cma.c | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) I added this patch to our regression run, if everything works, I will merge it next week. Thanks