aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-11-21 08:02:45 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-21 17:10:31 -0800
commit5d44a712e6af87842b6d3a01481ff020d1d2fddd (patch)
tree956e7bba3aa055bdbe8cbc5f0b65a09dd5ee6cff /net/lapb/lapb_timer.c
parentmlxsw: spectrum_fid: Store ifindex of NVE device in FID (diff)
downloadlinux-dev-5d44a712e6af87842b6d3a01481ff020d1d2fddd.tar.xz
linux-dev-5d44a712e6af87842b6d3a01481ff020d1d2fddd.zip
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions