Home
last modified time | relevance | path

Searched refs:nve_dev (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve_vxlan.c284 mlxsw_sp_nve_vxlan_fdb_replay(const struct net_device *nve_dev, __be32 vni, in mlxsw_sp_nve_vxlan_fdb_replay() argument
287 if (WARN_ON(!netif_is_vxlan(nve_dev))) in mlxsw_sp_nve_vxlan_fdb_replay()
289 return vxlan_fdb_replay(nve_dev, vni, &mlxsw_sp_switchdev_notifier, in mlxsw_sp_nve_vxlan_fdb_replay()
294 mlxsw_sp_nve_vxlan_clear_offload(const struct net_device *nve_dev, __be32 vni) in mlxsw_sp_nve_vxlan_clear_offload() argument
296 if (WARN_ON(!netif_is_vxlan(nve_dev))) in mlxsw_sp_nve_vxlan_clear_offload()
298 vxlan_fdb_clear_offload(nve_dev, vni); in mlxsw_sp_nve_vxlan_clear_offload()
Dspectrum_nve.h47 int (*fdb_replay)(const struct net_device *nve_dev, __be32 vni,
49 void (*fdb_clear_offload)(const struct net_device *nve_dev, __be32 vni);
Dspectrum_nve.c787 const struct net_device *nve_dev, in mlxsw_sp_nve_fdb_clear_offload() argument
797 ops->fdb_clear_offload(nve_dev, vni); in mlxsw_sp_nve_fdb_clear_offload()
988 struct net_device *nve_dev; in mlxsw_sp_nve_fid_disable() local
1000 nve_dev = dev_get_by_index(mlxsw_sp_net(mlxsw_sp), nve_ifindex); in mlxsw_sp_nve_fid_disable()
1001 if (!nve_dev) in mlxsw_sp_nve_fid_disable()
1004 mlxsw_sp_nve_fdb_clear_offload(mlxsw_sp, fid, nve_dev, vni); in mlxsw_sp_nve_fid_disable()
1005 mlxsw_sp_fid_fdb_clear_offload(fid, nve_dev); in mlxsw_sp_nve_fid_disable()
1007 dev_put(nve_dev); in mlxsw_sp_nve_fid_disable()
Dspectrum_fid.c95 const struct net_device *nve_dev);
302 const struct net_device *nve_dev) in mlxsw_sp_fid_fdb_clear_offload() argument
308 ops->fdb_clear_offload(fid, nve_dev); in mlxsw_sp_fid_fdb_clear_offload()
1051 const struct net_device *nve_dev) in mlxsw_sp_fid_8021d_fdb_clear_offload() argument
1053 br_fdb_clear_offload(nve_dev, 0); in mlxsw_sp_fid_8021d_fdb_clear_offload()
1112 const struct net_device *nve_dev) in mlxsw_sp_fid_8021q_fdb_clear_offload() argument
1114 br_fdb_clear_offload(nve_dev, mlxsw_sp_fid_8021q_vid(fid)); in mlxsw_sp_fid_8021q_fdb_clear_offload()
Dspectrum_switchdev.c3032 struct net_device **nve_dev, in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process() argument
3051 *nve_dev = dev; in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
3086 struct net_device *nve_dev; in mlxsw_sp_fdb_notify_mac_uc_tunnel_process() local
3109 &nve_dev, &vid, &vni); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
3119 mlxsw_sp_fdb_nve_call_notifiers(nve_dev, mac, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
3125 mlxsw_sp_fdb_call_notifiers(type, mac, vid, nve_dev, adding); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
Dspectrum.h1288 const struct net_device *nve_dev);