aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMustafa Ismail <[email protected]>2022-11-21 18:44:10 -0600
committerLeon Romanovsky <[email protected]>2022-11-22 16:13:44 +0200
commit9907526d25c4ad8a6e3006487a544140776ba005 (patch)
tree1830c1a7e372e5492f3d2d2d3c6545288235d2bb /tools/perf/scripts/python/sctop.py
parent9b51d072da1d27e1193e84708201c48e385ad912 (diff)
RDMA/irdma: Initialize net_type before checking it
The av->net_type is not initialized before it is checked in irdma_modify_qp_roce. This leads to an incorrect update to the ARP cache and QP context. RoCEv2 connections might fail as result. Set the net_type using rdma_gid_attr_network_type. Fixes: 80005c43d4c8 ("RDMA/irdma: Use net_type to check network type") Signed-off-by: Mustafa Ismail <[email protected]> Signed-off-by: Shiraz Saleem <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions