Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/
Dmacvlan.c60 struct macvlan_dev *vlan;
66 const struct macvlan_dev *src;
124 static struct macvlan_dev *macvlan_hash_lookup(const struct macvlan_port *port, in macvlan_hash_lookup()
127 struct macvlan_dev *vlan; in macvlan_hash_lookup()
138 const struct macvlan_dev *vlan, in macvlan_hash_lookup_source()
153 static int macvlan_hash_add_source(struct macvlan_dev *vlan, in macvlan_hash_add_source()
177 static void macvlan_hash_add(struct macvlan_dev *vlan) in macvlan_hash_add()
192 static void macvlan_hash_del(struct macvlan_dev *vlan, bool sync) in macvlan_hash_del()
199 static void macvlan_hash_change_addr(struct macvlan_dev *vlan, in macvlan_hash_change_addr()
229 const struct macvlan_dev *vlan, in macvlan_broadcast_one()
[all …]
Dmacvtap.c28 struct macvlan_dev vlan;
57 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_count_tx_dropped()
65 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_count_rx_dropped()
74 struct macvlan_dev *vlan = &vlantap->vlan; in macvtap_update_features()
/Linux-v4.19/include/linux/
Dif_macvlan.h18 struct macvlan_dev { struct
39 static inline void macvlan_count_rx(const struct macvlan_dev *vlan, in macvlan_count_rx() argument
72 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_dev_real_dev()
87 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_accel_priv()
94 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_supports_dest_filter()
103 struct macvlan_dev *macvlan = netdev_priv(dev); in macvlan_release_l2fw_offload()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c6493 const struct net_device *macvlan_dev, in mlxsw_sp_rif_macvlan_add() argument
6496 struct macvlan_dev *vlan = netdev_priv(macvlan_dev); in mlxsw_sp_rif_macvlan_add()
6506 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, macvlan_dev->dev_addr, in mlxsw_sp_rif_macvlan_add()
6512 macvlan_dev->dev_addr, true); in mlxsw_sp_rif_macvlan_add()
6520 rif->ops->fdb_del(rif, macvlan_dev->dev_addr); in mlxsw_sp_rif_macvlan_add()
6525 mlxsw_sp_rif_fdb_op(mlxsw_sp, macvlan_dev->dev_addr, in mlxsw_sp_rif_macvlan_add()
6531 const struct net_device *macvlan_dev) in mlxsw_sp_rif_macvlan_del() argument
6533 struct macvlan_dev *vlan = netdev_priv(macvlan_dev); in mlxsw_sp_rif_macvlan_del()
6542 mlxsw_sp_rif_vrrp_op(mlxsw_sp, rif->rif_index, macvlan_dev->dev_addr, in mlxsw_sp_rif_macvlan_del()
6544 mlxsw_sp_rif_fdb_op(mlxsw_sp, macvlan_dev->dev_addr, in mlxsw_sp_rif_macvlan_del()
[all …]
Dspectrum.h390 const struct net_device *macvlan_dev);
Dspectrum.c4858 static int mlxsw_sp_netdevice_macvlan_event(struct net_device *macvlan_dev, in mlxsw_sp_netdevice_macvlan_event() argument
4861 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_lower_get(macvlan_dev); in mlxsw_sp_netdevice_macvlan_event()