Lines Matching full:lag

1389 /* The logical port number of a LAG is equal to the lowest numbered physical
1390 * port ID present in that LAG. It may change if that port ever leaves the LAG.
1404 * Note that when CPU ports are in a LAG, the user ports are assigned to the
1406 * port number of the LAG.
1408 * We leave PGID_SRC poorly configured for the 'secondary' CPU port in the LAG
1436 * or the bit mask of CPU ports if said CPU port is in a LAG.
1929 int i, port, lag; in ocelot_set_aggr_pgids() local
1943 * port ID == LAG ID. So we mark as visited all further ports in the in ocelot_set_aggr_pgids()
1956 /* Now, set PGIDs for each active LAG */ in ocelot_set_aggr_pgids()
1957 for (lag = 0; lag < ocelot->num_phys_ports; lag++) { in ocelot_set_aggr_pgids()
1958 struct net_device *bond = ocelot->ports[lag]->bond; in ocelot_set_aggr_pgids()
1963 if (!bond || (visited & BIT(lag))) in ocelot_set_aggr_pgids()
1992 /* Mark all ports in the same LAG as visited to avoid applying in ocelot_set_aggr_pgids()
1995 for (port = lag; port < ocelot->num_phys_ports; port++) { in ocelot_set_aggr_pgids()
2025 int lag = ocelot_bond_get_id(ocelot, bond); in ocelot_setup_logical_port_ids() local
2028 ANA_PORT_PORT_CFG_PORTID_VAL(lag), in ocelot_setup_logical_port_ids()
2113 int lag) in ocelot_migrate_lag_fdbs() argument
2127 "failed to delete LAG %s FDB %pM vid %d: %pe\n", in ocelot_migrate_lag_fdbs()
2131 err = ocelot_mact_learn(ocelot, lag, fdb->addr, fdb->vid, in ocelot_migrate_lag_fdbs()
2135 "failed to migrate LAG %s FDB %pM vid %d: %pe\n", in ocelot_migrate_lag_fdbs()
2148 "Can only offload LAG using hash TX type"); in ocelot_port_lag_join()
2210 int lag, err; in ocelot_lag_fdb_add() local
2225 lag = ocelot_bond_get_id(ocelot, bond); in ocelot_lag_fdb_add()
2227 err = ocelot_mact_learn(ocelot, lag, addr, vid, ENTRYTYPE_LOCKED); in ocelot_lag_fdb_add()