diff options
| author | Vu Pham <vuhuong@mellanox.com> | 2019-08-02 16:13:10 -0700 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-05-27 18:13:48 -0700 |
| commit | 553f9328385d954644d74dedb655f85b687a9470 (patch) | |
| tree | 1d5e8f42f30cfb7627f8df8f9f98e7639e9ec2ab /tools/perf/scripts/python | |
| parent | net/mlx5e: Use netdev events to set/del egress acl forward-to-vport rule (diff) | |
| download | linux-553f9328385d954644d74dedb655f85b687a9470.tar.gz linux-553f9328385d954644d74dedb655f85b687a9470.zip | |
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 <vuhuong@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
