aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorMark Bloch <[email protected]>2018-03-05 18:09:47 +0000
committerJason Gunthorpe <[email protected]>2018-03-07 03:08:38 +0000
commit210b1f78076f88cad25b333fffafbac6ae870fcc (patch)
treeb9369b5c1485f04320159585aadf68734a304dbc /scripts/gcc-plugins/cyc_complexity_plugin.c
parentIB/mlx4: Include GID type when deleting GIDs from HW table under RoCE (diff)
downloadkernel-210b1f78076f88cad25b333fffafbac6ae870fcc.tar.gz
kernel-210b1f78076f88cad25b333fffafbac6ae870fcc.zip
IB/mlx5: When not in dual port RoCE mode, use provided port as native
The series that introduced dual port RoCE mode assumed that we don't have a dual port HCA that use the mlx5 driver, this is not the case for Connect-IB HCAs. This reasoning led to assigning 1 as the native port index which causes issue when the second port is used. For example query_pkey() when called on the second port will return values of the first port. Make sure that we assign the right port index as the native port index. Fixes: 32f69e4be269 ("{net, IB}/mlx5: Manage port association for multiport RoCE") Reviewed-by: Daniel Jurgens <[email protected]> Signed-off-by: Mark Bloch <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions