diff options
author | Anumula Murali Mohan Reddy <anumula@chelsio.com> | 2024-12-03 19:30:53 +0530 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-12-10 03:58:03 -0500 |
commit | a4048c83fd87c65657a4acb17d639092d4b6133d (patch) | |
tree | 55b1ba7bdee18a0d2ec8b0b991be4450fbf79045 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d507d29bfde3fee6a74d098a9ac640b8fc1a549b (diff) |
RDMA/core: Fix ENODEV error for iWARP test over vlan
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@chelsio.com/
Signed-off-by: Anumula Murali Mohan Reddy <anumula@chelsio.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Link: https://patch.msgid.link/20241203140052.3985-1-anumula@chelsio.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions