summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@nvidia.com>2021-10-19 18:17:19 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-10-25 13:51:20 -0700
commit2deda2f1bf4e4778dc6ff62e37cedee92098cc2c (patch)
tree40f6f0a3b30eb4bbe3c6c72d33a98b9edbc711d3 /tools/perf/scripts/python/export-to-sqlite.py
parent5a1023deeed02a2078bcc11eec1c4be31e85892d (diff)
net/mlx5: Bridge, extract code to lookup and del/notify entry
Following two patterns in bridge code are used in multiple places where similar code is duplicated: - Lookup FDB entry from hashtable by address+vid pair. - Notify software bridge and then delete existing FDB entry. In order to improve code quality and prepare for following patch series that also uses described patterns, extract the codes to dedicated helper functions. This commit doesn't change functionality. Signed-off-by: Vlad Buslov <vladbu@nvidia.com> Reviewed-by: Paul Blakey <paulb@nvidia.com> Reviewed-by: Roi Dayan <roid@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