diff options
author | Vu Pham <[email protected]> | 2019-08-02 16:13:10 -0700 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2020-05-27 18:13:48 -0700 |
commit | 553f9328385d954644d74dedb655f85b687a9470 (patch) | |
tree | 1d5e8f42f30cfb7627f8df8f9f98e7639e9ec2ab /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 7e51891a237f9ea319f53f9beb83afb0077d88e6 (diff) |
net/mlx5e: Support tc block sharing for representors
Currently offloading a rule over a tc block shared by multiple
representors fails because an e-switch global hashtable to keep
the mapping from tc cookies to mlx5e flow instances is used, and
tc block sharing offloads the same rule/cookie multiple times,
each time for different representor sharing the tc block.
Changing the implementation and behavior by acknowledging and returning
success if the same rule/cookie is offloaded again to other slave
representor sharing the tc block by setting, checking and comparing
the netdev that added the rule first.
Signed-off-by: Vu Pham <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Reviewed-by: Or Gerlitz <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions