diff options
author | Chris Mi <[email protected]> | 2018-04-16 10:36:51 +0900 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2018-04-26 12:43:21 -0700 |
commit | 202854e9f4df99df1f79962a9e8f94a7de602f7b (patch) | |
tree | 16f437a48149487709b9668ced08e8eaa7ca69f6 /tools/perf/scripts/python/stackcollapse.py | |
parent | 99beaa22f11152e128861f1c681744ca4749e9f8 (diff) |
net/mlx5: Properly deal with flow counters when deleting rules
When deleting a flow counter, the modify mask should be the action and
the flow counter. Otherwise the flow counter is not deleted and we'll
get a firmware warning when deleting the remaining destinations on the
same FTE.
It only happens in the presence of flow counter and multiple vport
destinations. If there is only one vport destination, there is no
need to update the FTE when deleting the only vport destination,
we just delete the FTE.
Fixes: ae05831424ed ("net/mlx5: Add option to add fwd rule with counter")
Signed-off-by: Chris Mi <[email protected]>
Signed-off-by: Jianbo Liu <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions