diff options
author | Roi Dayan <roid@mellanox.com> | 2020-04-30 09:16:01 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-23 03:28:44 +0300 |
commit | a16b8e0dcf7043bee46174bed0553cc9e36b63a5 (patch) | |
tree | e54ff1538791d08cb518567d765a79135569d2e1 /tools/perf/scripts/python/stackcollapse.py | |
parent | 16736e11f43b80a38f98f6add54fab3b8c297df3 (diff) | |
download | linux-a16b8e0dcf7043bee46174bed0553cc9e36b63a5.tar.xz |
net/mlx5e: Fix inner tirs handling
In the cited commit inner_tirs argument was added to create and destroy
inner tirs, and no indication was added to mlx5e_modify_tirs_hash()
function. In order to have a consistent handling, use
inner_indir_tir[0].tirn in tirs destroy/modify function as an indication
to whether inner tirs are created.
Inner tirs are not created for representors and before this commit,
a call to mlx5e_modify_tirs_hash() was sending HW commands to
modify non-existent inner tirs.
Fixes: 46dc933cee82 ("net/mlx5e: Provide explicit directive if to create inner indirect tirs")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions