/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_mac.c | 25 bool lag; member in struct:lan966x_mac_entry 217 mac_entry->lag = port->bond ? true : false; 346 mac_entry->lag) { 369 mac_entry->lag) {
|
H A D | lan966x_main.h | 624 bool lan966x_lag_first_port(struct net_device *lag, struct net_device *dev);
|
/linux-master/drivers/infiniband/core/ |
H A D | lag.c | 8 #include <rdma/lag.h>
|
H A D | verbs.c | 53 #include <rdma/lag.h>
|
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 2034 int i, port, lag; local 2062 for (lag = 0; lag < ocelot->num_phys_ports; lag++) { 2063 struct net_device *bond = ocelot->ports[lag]->bond; 2068 if (!bond || (visited & BIT(lag))) 2100 for (port = lag; port < ocelot->num_phys_ports; port++) { 2130 int lag = ocelot_bond_get_id(ocelot, bond); local 2133 ANA_PORT_PORT_CFG_PORTID_VAL(lag), 2218 int lag) 2216 ocelot_migrate_lag_fdbs(struct ocelot *ocelot, struct net_device *bond, int lag) argument 2315 int lag, err; local [all...] |
/linux-master/drivers/net/dsa/ocelot/ |
H A D | felix.c | 50 int lag; local 54 lag = ocelot_bond_get_id(ocelot, conduit); 57 return lag; 825 static int felix_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag lag, argument 835 return ocelot_lag_fdb_add(ocelot, lag.dev, addr, vid, bridge_dev); 838 static int felix_lag_fdb_del(struct dsa_switch *ds, struct dsa_lag lag, argument 848 return ocelot_lag_fdb_del(ocelot, lag.dev, addr, vid, bridge_dev); 941 struct dsa_lag lag, 948 err = ocelot_port_lag_join(ocelot, port, lag.dev, info, extack); 956 return felix_port_change_conduit(ds, port, lag 940 felix_lag_join(struct dsa_switch *ds, int port, struct dsa_lag lag, struct netdev_lag_upper_info *info, struct netlink_ext_ack *extack) argument 959 felix_lag_leave(struct dsa_switch *ds, int port, struct dsa_lag lag) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 4272 struct mlxsw_sp_lag *lag; local 4293 lag = &mlxsw_sp->lags[lag_id]; 4294 lag->lag_id = lag_id; 4295 lag->dev = lag_dev; 4296 refcount_set(&lag->ref_count, 1); 4298 return lag; 4302 mlxsw_sp_lag_destroy(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_lag *lag) argument 4306 lag->dev = NULL; 4308 mlxsw_reg_sldr_lag_destroy_pack(sldr_pl, lag->lag_id); 4376 struct mlxsw_sp_lag *lag; local 4388 mlxsw_sp_lag_put(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_lag *lag) argument 4513 struct mlxsw_sp_lag *lag; local 4582 struct mlxsw_sp_lag *lag; local [all...] |
H A D | core.c | 85 } lag; member in struct:mlxsw_core 2151 alloc_size = sizeof(*mlxsw_core->lag.mapping) * max_lag * 2153 mlxsw_core->lag.mapping = kzalloc(alloc_size, GFP_KERNEL); 2154 if (!mlxsw_core->lag.mapping) { 2228 kfree(mlxsw_core->lag.mapping); 2301 kfree(mlxsw_core->lag.mapping); 2956 * so just get the local_port for the lag port and push it up. 3011 mlxsw_core->lag.mapping[index] = local_port; 3021 return mlxsw_core->lag.mapping[index]; 3034 if (mlxsw_core->lag [all...] |
H A D | spectrum_router.c | 107 bool lag; member in struct:mlxsw_sp_rif_params 119 bool lag; member in struct:mlxsw_sp_rif_subport 1159 .common.lag = false, 8903 params->lag = mlxsw_sp_port->lagged; 8904 if (params->lag) 8925 *is_lag = rif_subport->lag; 10396 rif_subport->lag = params->lag; 10397 if (params->lag) 10417 mlxsw_reg_ritr_sp_if_pack(ritr_pl, rif_subport->lag, [all...] |
H A D | spectrum_span.c | 12 #include <net/lag.h>
|
H A D | reg.h | 6973 * Port unique indentifier. When lag bit is set, this field holds the 7127 static inline void mlxsw_reg_ritr_sp_if_pack(char *payload, bool lag, argument 7130 mlxsw_reg_ritr_sp_if_lag_set(payload, lag);
|
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | tunnel_conf.c | 494 struct nfp_tun_neigh_lag *lag; local 515 lag = &payload->lag; 526 lag = &payload->lag; 536 memcpy(lag, &lag_info, sizeof(struct nfp_tun_neigh_lag));
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_virtchnl.c | 1647 struct ice_lag *lag; local 1652 lag = pf->lag; 1656 if (lag && lag->bonded && lag->primary) { 1657 act_prt = lag->active_port; 1659 lag->upper_netdev) 1660 ice_lag_move_vf_nodes_cfg(lag, act_prt, pri_prt); 1788 if (lag [all...] |
H A D | ice.h | 651 struct ice_lag *lag; /* Link Aggregation information */ member in struct:ice_pf
|
H A D | ice_main.c | 641 if (pf->lag && pf->lag->bonded && reset_type == ICE_RESET_PFR) { 731 if (pf->lag && pf->lag->bonded) {
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 1785 if (dp && dp->lag) { 1830 if (dsa_to_port(chip->ds, port)->lag) 6716 struct dsa_lag lag, 6729 if (!lag.id) 6732 dsa_lag_foreach_port(dp, ds->dst, &lag) 6758 static int mv88e6xxx_lag_sync_map(struct dsa_switch *ds, struct dsa_lag lag) argument 6766 id = lag.id - 1; 6772 dsa_lag_foreach_port(dp, ds->dst, &lag) 6818 struct dsa_lag *lag; local 6828 if (!dp->lag) 6715 mv88e6xxx_lag_can_offload(struct dsa_switch *ds, struct dsa_lag lag, struct netdev_lag_upper_info *info, struct netlink_ext_ack *extack) argument 6876 mv88e6xxx_lag_sync_masks_map(struct dsa_switch *ds, struct dsa_lag lag) argument 6900 mv88e6xxx_port_lag_join(struct dsa_switch *ds, int port, struct dsa_lag lag, struct netdev_lag_upper_info *info, struct netlink_ext_ack *extack) argument 6934 mv88e6xxx_port_lag_leave(struct dsa_switch *ds, int port, struct dsa_lag lag) argument 6959 mv88e6xxx_crosschip_lag_join(struct dsa_switch *ds, int sw_index, int port, struct dsa_lag lag, struct netdev_lag_upper_info *info, struct netlink_ext_ack *extack) argument 6983 mv88e6xxx_crosschip_lag_leave(struct dsa_switch *ds, int sw_index, int port, struct dsa_lag lag) argument [all...] |
/linux-master/drivers/net/dsa/qca/ |
H A D | qca8k.h | 589 int qca8k_port_lag_join(struct dsa_switch *ds, int port, struct dsa_lag lag, 593 struct dsa_lag lag);
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera.h | 136 struct prestera_lag *lag; member in struct:prestera_port 262 /* the interface is of lag type (lag-id) */
|
H A D | prestera_switchdev.c | 893 if (pr_port->lag->lag_id == lag_id) { 1775 struct prestera_lag *lag; local 1784 lag = prestera_lag_by_id(sw, evt->fdb_evt.dest.lag_id); 1785 if (lag) 1786 dev = lag->dev;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | bond.c | 6 #include <net/lag.h> 259 netdev_dbg(netdev, "%sslave vport(%d) lag(%s)\n",
|
/linux-master/net/dsa/ |
H A D | user.c | 2898 if (!dp->lag) 2930 if (!dp->lag) 3472 else if (dp->lag) 3488 else if (dp->lag) 3558 if (dp->lag && !host_addr) {
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | lag.c | 42 #include "lag.h" 204 mlx5_core_info(dev, "lag map active ports: %s\n", buf); 216 mlx5_core_info(dev, "lag map:%s\n", buf); 275 mlx5_core_err(dev, "Failed to init multipath lag err=%d\n", 410 "Failed to create lag drop rule, error: %d", err); 937 mlx5_core_err(dev0, "Failed to enable lag\n"); 1055 * of the same lag master, and only them. 1223 dev->priv.lag = ldev; 1239 dev->priv.lag = NULL; 1256 mlx5_core_err(dev, "Failed to alloc lag de [all...] |
/linux-master/include/linux/mlx5/ |
H A D | driver.h | 625 struct mlx5_lag *lag; member in struct:mlx5_priv
|
/linux-master/kernel/sched/ |
H A D | fair.c | 572 * Fair schedulers conserve lag: 621 * maximal (virtual) lag induced in the system due to quantisation. 688 * and end up with a larger lag than we started with. 695 * -r_max < lag < max(r_max, q) 718 * eg. lag >= 0. 3696 * adjusted if re-weight at !0-lag point. 3699 * re-weight without changing vruntime at !0-lag point. 3705 * Since lag needs to be preserved through re-weight: 3707 * lag = (V - v)*w = (V'- v')*w', where v = v' 3722 * Since we are doing at !0-lag poin 5173 s64 lag = 0; local [all...] |
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | main.c | 31 #include <rdma/lag.h>
|