linux_dsm_epyc7002/drivers/net/ethernet/netronome/nfp
Ido Schimmel 5ff4ff4fe8 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 <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-10-17 17:45:07 -07:00
..
abm nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
bpf nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
flower net: Add netif_is_vxlan() 2018-10-17 17:45:07 -07:00
nfpcore nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nic nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
Makefile nfp: flower: monitor and offload LAG groups 2018-05-24 23:10:57 -04:00
nfp_abi.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_app_nic.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_app.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_app.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_asm.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_asm.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_devlink.c nfp: devlink port split support for 1x100G CXP NIC 2018-10-15 22:29:55 -07:00
nfp_hwmon.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_main.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_main.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_common.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_ctrl.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_ctrl.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_debugdump.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_debugfs.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_ethtool.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_main.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_repr.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_repr.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_sriov.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_sriov.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_netvf_main.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_port.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_port.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_shared_buf.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00