diff options
| author | Ido Schimmel <[email protected]> | 2018-11-21 08:02:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-11-21 17:10:31 -0800 |
| commit | 5d44a712e6af87842b6d3a01481ff020d1d2fddd (patch) | |
| tree | 956e7bba3aa055bdbe8cbc5f0b65a09dd5ee6cff /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 5bae63d9b7627939eb67a7720548c82562ef7fa3 (diff) | |
mlxsw: spectrum_fid: Allow FID lookup by its index
When processing a notification about a new FDB entry learned from a
VxLAN tunnel, the driver is provided with the FID index among other
parameters.
The driver potentially needs to update the bridge and VxLAN drivers
about the new entry using a pointer to the VxLAN device and the
corresponding VNI.
These two parameters are stored in the FID, so add a new function that
allows looking up a FID based on its index.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions