diff options
| author | Ido Schimmel <[email protected]> | 2018-10-17 08:53:20 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-10-18 00:45:07 +0000 |
| commit | 5ff4ff4fe8c4e7d0de1d837e489056f0c470667b (patch) | |
| tree | a976cdb5ed71184295f6a4d34e219a9fdaee3bfd /net/unix/af_unix.c | |
| parent | mlxsw: spectrum_router: Configure matching local routes for NVE decap (diff) | |
| download | kernel-5ff4ff4fe8c4e7d0de1d837e489056f0c470667b.tar.gz kernel-5ff4ff4fe8c4e7d0de1d837e489056f0c470667b.zip | |
net: Add netif_is_vxlan()
Add the ability to determine whether a netdev is a VxLAN netdev by
calling the above mentioned function that checks the netdev's
rtnl_link_ops.
This will allow modules to identify netdev events involving a VxLAN
netdev and act accordingly. For example, drivers capable of VxLAN
offload will need to configure the underlying device when a VxLAN netdev
is being enslaved to an offloaded bridge.
Convert nfp to use the newly introduced helper.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Acked-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
