Home
last modified time | relevance | path

Searched refs:lag_dev (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbond.c28 struct net_device *lag_dev; member
37 const struct net_device *lag_dev) in mlx5e_lookup_rep_bond_metadata() argument
43 if (cur->lag_dev == lag_dev) { in mlx5e_lookup_rep_bond_metadata()
71 netdev_dbg(mdata->lag_dev, "destroy rep_bond_metadata(%d)\n", in mlx5e_rep_bond_metadata_release()
81 struct net_device *lag_dev) in mlx5e_rep_bond_enslave() argument
92 mdata = mlx5e_lookup_rep_bond_metadata(&rpriv->uplink_priv, lag_dev); in mlx5e_rep_bond_enslave()
99 mdata->lag_dev = lag_dev; in mlx5e_rep_bond_enslave()
109 netdev_dbg(lag_dev, "create rep_bond_metadata(%d)\n", in mlx5e_rep_bond_enslave()
131 rpriv->rep->vport, lag_dev->name, mdata->metadata_reg_c_0); in mlx5e_rep_bond_enslave()
146 const struct net_device *lag_dev) in mlx5e_rep_bond_unslave() argument
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h211 struct net_device *lag_dev);
214 const struct net_device *lag_dev);
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c3405 struct net_device *lag_dev) in mlxsw_sp_port_lag_uppers_cleanup() argument
3407 struct net_device *br_dev = netdev_master_upper_dev_get(lag_dev); in mlxsw_sp_port_lag_uppers_cleanup()
3411 if (netif_is_bridge_port(lag_dev)) in mlxsw_sp_port_lag_uppers_cleanup()
3412 mlxsw_sp_port_bridge_leave(mlxsw_sp_port, lag_dev, br_dev); in mlxsw_sp_port_lag_uppers_cleanup()
3414 netdev_for_each_upper_dev_rcu(lag_dev, upper_dev, iter) { in mlxsw_sp_port_lag_uppers_cleanup()
3483 struct net_device *lag_dev, in mlxsw_sp_lag_index_get() argument
3495 if (lag->dev == lag_dev) { in mlxsw_sp_lag_index_get()
3511 struct net_device *lag_dev, in mlxsw_sp_master_lag_check() argument
3517 if (mlxsw_sp_lag_index_get(mlxsw_sp, lag_dev, &lag_id) != 0) { in mlxsw_sp_master_lag_check()
3546 struct net_device *lag_dev) in mlxsw_sp_port_lag_join() argument
[all …]
Dspectrum_span.c336 mlxsw_sp_span_entry_lag(struct net_device *lag_dev) in mlxsw_sp_span_entry_lag() argument
341 netdev_for_each_lower_dev(lag_dev, dev, iter) in mlxsw_sp_span_entry_lag()
Dspectrum_router.c6789 struct net_device *lag_dev, in __mlxsw_sp_inetaddr_lag_event() argument
6797 netdev_for_each_lower_dev(lag_dev, port_dev, iter) { in __mlxsw_sp_inetaddr_lag_event()
6811 static int mlxsw_sp_inetaddr_lag_event(struct net_device *lag_dev, in mlxsw_sp_inetaddr_lag_event() argument
6815 if (netif_is_bridge_port(lag_dev)) in mlxsw_sp_inetaddr_lag_event()
6818 return __mlxsw_sp_inetaddr_lag_event(lag_dev, lag_dev, event, in mlxsw_sp_inetaddr_lag_event()