diff options
author | 2021-09-23 09:43:06 +0300 | |
---|---|---|
committer | 2022-01-27 12:37:31 -0800 | |
commit | 39542e234b5215dc267b425f8315747849c5e520 (patch) | |
tree | ea19d09d144bfe233fc10b7409f95f2e26ad1922 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ptp: replace snprintf with sysfs_emit (diff) | |
download | linux-dev-39542e234b5215dc267b425f8315747849c5e520.tar.xz linux-dev-39542e234b5215dc267b425f8315747849c5e520.zip |
net/mlx5e: Move code chunk setting encap dests into its own function
Split setting encap dests code chunk out of mlx5e_tc_add_fdb_flow()
to make the function smaller for maintainability and reuse.
For symmetry do the same for mlx5e_tc_del_fdb_flow().
While at it refactor cleanup to first check for encap flag like
done when setting encap dests.
Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions