Home
last modified time | relevance | path

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

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_nve_vxlan.c282 mlxsw_sp_nve_vxlan_fdb_replay(const struct net_device *nve_dev, __be32 vni, in mlxsw_sp_nve_vxlan_fdb_replay() argument
285 if (WARN_ON(!netif_is_vxlan(nve_dev))) in mlxsw_sp_nve_vxlan_fdb_replay()
287 return vxlan_fdb_replay(nve_dev, vni, &mlxsw_sp_switchdev_notifier, in mlxsw_sp_nve_vxlan_fdb_replay()
292 mlxsw_sp_nve_vxlan_clear_offload(const struct net_device *nve_dev, __be32 vni) in mlxsw_sp_nve_vxlan_clear_offload() argument
294 if (WARN_ON(!netif_is_vxlan(nve_dev))) in mlxsw_sp_nve_vxlan_clear_offload()
296 vxlan_fdb_clear_offload(nve_dev, vni); in mlxsw_sp_nve_vxlan_clear_offload()
H A Dspectrum_nve.h46 int (*fdb_replay)(const struct net_device *nve_dev, __be32 vni,
48 void (*fdb_clear_offload)(const struct net_device *nve_dev, __be32 vni);
H A Dspectrum_nve.c777 const struct net_device *nve_dev, in mlxsw_sp_nve_fdb_clear_offload() argument
787 ops->fdb_clear_offload(nve_dev, vni); in mlxsw_sp_nve_fdb_clear_offload()
842 struct net_device *nve_dev; in mlxsw_sp_nve_fid_disable() local
853 nve_dev = dev_get_by_index(mlxsw_sp_net(mlxsw_sp), nve_ifindex); in mlxsw_sp_nve_fid_disable()
854 if (!nve_dev) in mlxsw_sp_nve_fid_disable()
857 mlxsw_sp_nve_fdb_clear_offload(mlxsw_sp, fid, nve_dev, vni); in mlxsw_sp_nve_fid_disable()
858 mlxsw_sp_fid_fdb_clear_offload(fid, nve_dev); in mlxsw_sp_nve_fid_disable()
860 dev_put(nve_dev); in mlxsw_sp_nve_fid_disable()
H A Dspectrum_fid.c90 const struct net_device *nve_dev);
294 const struct net_device *nve_dev) in mlxsw_sp_fid_fdb_clear_offload() argument
300 ops->fdb_clear_offload(fid, nve_dev); in mlxsw_sp_fid_fdb_clear_offload()
650 const struct net_device *nve_dev) in mlxsw_sp_fid_8021d_fdb_clear_offload() argument
652 br_fdb_clear_offload(nve_dev, 0); in mlxsw_sp_fid_8021d_fdb_clear_offload()
715 const struct net_device *nve_dev) in mlxsw_sp_fid_8021q_fdb_clear_offload() argument
717 br_fdb_clear_offload(nve_dev, mlxsw_sp_fid_8021q_vid(fid)); in mlxsw_sp_fid_8021q_fdb_clear_offload()
H A Dspectrum_switchdev.c2648 struct net_device **nve_dev, in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process() argument
2667 *nve_dev = dev; in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2702 struct net_device *nve_dev; in mlxsw_sp_fdb_notify_mac_uc_tunnel_process() local
2725 &nve_dev, &vid, &vni); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2735 mlxsw_sp_fdb_nve_call_notifiers(nve_dev, mac, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2741 mlxsw_sp_fdb_call_notifiers(type, mac, vid, nve_dev, adding); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
H A Dspectrum.h1205 const struct net_device *nve_dev);
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_nve_vxlan.c282 mlxsw_sp_nve_vxlan_fdb_replay(const struct net_device *nve_dev, __be32 vni, in mlxsw_sp_nve_vxlan_fdb_replay() argument
285 if (WARN_ON(!netif_is_vxlan(nve_dev))) in mlxsw_sp_nve_vxlan_fdb_replay()
287 return vxlan_fdb_replay(nve_dev, vni, &mlxsw_sp_switchdev_notifier, in mlxsw_sp_nve_vxlan_fdb_replay()
292 mlxsw_sp_nve_vxlan_clear_offload(const struct net_device *nve_dev, __be32 vni) in mlxsw_sp_nve_vxlan_clear_offload() argument
294 if (WARN_ON(!netif_is_vxlan(nve_dev))) in mlxsw_sp_nve_vxlan_clear_offload()
296 vxlan_fdb_clear_offload(nve_dev, vni); in mlxsw_sp_nve_vxlan_clear_offload()
H A Dspectrum_nve.h46 int (*fdb_replay)(const struct net_device *nve_dev, __be32 vni,
48 void (*fdb_clear_offload)(const struct net_device *nve_dev, __be32 vni);
H A Dspectrum_nve.c777 const struct net_device *nve_dev, in mlxsw_sp_nve_fdb_clear_offload() argument
787 ops->fdb_clear_offload(nve_dev, vni); in mlxsw_sp_nve_fdb_clear_offload()
842 struct net_device *nve_dev; in mlxsw_sp_nve_fid_disable() local
853 nve_dev = dev_get_by_index(mlxsw_sp_net(mlxsw_sp), nve_ifindex); in mlxsw_sp_nve_fid_disable()
854 if (!nve_dev) in mlxsw_sp_nve_fid_disable()
857 mlxsw_sp_nve_fdb_clear_offload(mlxsw_sp, fid, nve_dev, vni); in mlxsw_sp_nve_fid_disable()
858 mlxsw_sp_fid_fdb_clear_offload(fid, nve_dev); in mlxsw_sp_nve_fid_disable()
860 dev_put(nve_dev); in mlxsw_sp_nve_fid_disable()
H A Dspectrum_fid.c90 const struct net_device *nve_dev);
294 const struct net_device *nve_dev) in mlxsw_sp_fid_fdb_clear_offload() argument
300 ops->fdb_clear_offload(fid, nve_dev); in mlxsw_sp_fid_fdb_clear_offload()
650 const struct net_device *nve_dev) in mlxsw_sp_fid_8021d_fdb_clear_offload() argument
652 br_fdb_clear_offload(nve_dev, 0); in mlxsw_sp_fid_8021d_fdb_clear_offload()
715 const struct net_device *nve_dev) in mlxsw_sp_fid_8021q_fdb_clear_offload() argument
717 br_fdb_clear_offload(nve_dev, mlxsw_sp_fid_8021q_vid(fid)); in mlxsw_sp_fid_8021q_fdb_clear_offload()
H A Dspectrum_switchdev.c2648 struct net_device **nve_dev, in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process() argument
2667 *nve_dev = dev; in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2702 struct net_device *nve_dev; in mlxsw_sp_fdb_notify_mac_uc_tunnel_process() local
2725 &nve_dev, &vid, &vni); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2735 mlxsw_sp_fdb_nve_call_notifiers(nve_dev, mac, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2741 mlxsw_sp_fdb_call_notifiers(type, mac, vid, nve_dev, adding); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
H A Dspectrum.h1205 const struct net_device *nve_dev);
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_nve_vxlan.c282 mlxsw_sp_nve_vxlan_fdb_replay(const struct net_device *nve_dev, __be32 vni, in mlxsw_sp_nve_vxlan_fdb_replay() argument
285 if (WARN_ON(!netif_is_vxlan(nve_dev))) in mlxsw_sp_nve_vxlan_fdb_replay()
287 return vxlan_fdb_replay(nve_dev, vni, &mlxsw_sp_switchdev_notifier, in mlxsw_sp_nve_vxlan_fdb_replay()
292 mlxsw_sp_nve_vxlan_clear_offload(const struct net_device *nve_dev, __be32 vni) in mlxsw_sp_nve_vxlan_clear_offload() argument
294 if (WARN_ON(!netif_is_vxlan(nve_dev))) in mlxsw_sp_nve_vxlan_clear_offload()
296 vxlan_fdb_clear_offload(nve_dev, vni); in mlxsw_sp_nve_vxlan_clear_offload()
H A Dspectrum_nve.h46 int (*fdb_replay)(const struct net_device *nve_dev, __be32 vni,
48 void (*fdb_clear_offload)(const struct net_device *nve_dev, __be32 vni);
H A Dspectrum_nve.c777 const struct net_device *nve_dev, in mlxsw_sp_nve_fdb_clear_offload() argument
787 ops->fdb_clear_offload(nve_dev, vni); in mlxsw_sp_nve_fdb_clear_offload()
842 struct net_device *nve_dev; in mlxsw_sp_nve_fid_disable() local
853 nve_dev = dev_get_by_index(mlxsw_sp_net(mlxsw_sp), nve_ifindex); in mlxsw_sp_nve_fid_disable()
854 if (!nve_dev) in mlxsw_sp_nve_fid_disable()
857 mlxsw_sp_nve_fdb_clear_offload(mlxsw_sp, fid, nve_dev, vni); in mlxsw_sp_nve_fid_disable()
858 mlxsw_sp_fid_fdb_clear_offload(fid, nve_dev); in mlxsw_sp_nve_fid_disable()
860 dev_put(nve_dev); in mlxsw_sp_nve_fid_disable()
H A Dspectrum_fid.c90 const struct net_device *nve_dev);
294 const struct net_device *nve_dev) in mlxsw_sp_fid_fdb_clear_offload() argument
300 ops->fdb_clear_offload(fid, nve_dev); in mlxsw_sp_fid_fdb_clear_offload()
650 const struct net_device *nve_dev) in mlxsw_sp_fid_8021d_fdb_clear_offload() argument
652 br_fdb_clear_offload(nve_dev, 0); in mlxsw_sp_fid_8021d_fdb_clear_offload()
715 const struct net_device *nve_dev) in mlxsw_sp_fid_8021q_fdb_clear_offload() argument
717 br_fdb_clear_offload(nve_dev, mlxsw_sp_fid_8021q_vid(fid)); in mlxsw_sp_fid_8021q_fdb_clear_offload()
H A Dspectrum_switchdev.c2648 struct net_device **nve_dev, in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process() argument
2667 *nve_dev = dev; in __mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2702 struct net_device *nve_dev; in mlxsw_sp_fdb_notify_mac_uc_tunnel_process() local
2725 &nve_dev, &vid, &vni); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2735 mlxsw_sp_fdb_nve_call_notifiers(nve_dev, mac, in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
2741 mlxsw_sp_fdb_call_notifiers(type, mac, vid, nve_dev, adding); in mlxsw_sp_fdb_notify_mac_uc_tunnel_process()
H A Dspectrum.h1205 const struct net_device *nve_dev);