diff options
author | Vlad Buslov <[email protected]> | 2021-10-19 18:17:19 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-10-25 13:51:20 -0700 |
commit | 2deda2f1bf4e4778dc6ff62e37cedee92098cc2c (patch) | |
tree | 40f6f0a3b30eb4bbe3c6c72d33a98b9edbc711d3 /scripts/gdb/linux/lists.py | |
parent | 5a1023deeed02a2078bcc11eec1c4be31e85892d (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 <[email protected]>
Reviewed-by: Paul Blakey <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions