diff options
| author | Ido Schimmel <idosch@mellanox.com> | 2018-11-21 11:02:45 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-11-22 04:10:31 +0300 |
| commit | 5d44a712e6af87842b6d3a01481ff020d1d2fddd (patch) | |
| tree | 956e7bba3aa055bdbe8cbc5f0b65a09dd5ee6cff /tools/perf/scripts/python/netdev-times.py | |
| parent | 5bae63d9b7627939eb67a7720548c82562ef7fa3 (diff) | |
| download | linux-5d44a712e6af87842b6d3a01481ff020d1d2fddd.tar.xz | |
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 <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
