| /Linux-v6.1/tools/testing/selftests/drivers/net/dsa/ |
| D | bridge_vlan_aware.sh | 33 ageing_time $LOW_AGEING_TIME \ 116 local ageing_time 128 ageing_time=$(bridge_ageing_time_get br0) 129 sleep $((ageing_time + 10))
|
| D | bridge_vlan_unaware.sh | 31 ageing_time $LOW_AGEING_TIME \
|
| D | lib.sh | 898 | jq '.[]["linkinfo"]["info_data"]["ageing_time"]') 1273 ageing_time=$(bridge_ageing_time_get $bridge) 1274 sleep $((ageing_time + 10))
|
| /Linux-v6.1/tools/testing/selftests/net/forwarding/ |
| D | bridge_vlan_aware.sh | 33 ageing_time $LOW_AGEING_TIME \ 116 local ageing_time 128 ageing_time=$(bridge_ageing_time_get br0) 129 sleep $((ageing_time + 10))
|
| D | bridge_vlan_unaware.sh | 31 ageing_time $LOW_AGEING_TIME \
|
| D | lib.sh | 898 | jq '.[]["linkinfo"]["info_data"]["ageing_time"]') 1273 ageing_time=$(bridge_ageing_time_get $bridge) 1274 sleep $((ageing_time + 10))
|
| D | vxlan_bridge_1d.sh | 684 ip link set dev br1 type bridge ageing_time 1000 781 ip link set dev br1 type bridge ageing_time 30000
|
| D | vxlan_bridge_1q.sh | 800 ip link set dev br1 type bridge ageing_time 1000 824 ip link set dev br1 type bridge ageing_time 30000
|
| /Linux-v6.1/net/dsa/ |
| D | switch.c | 18 unsigned int ageing_time) in dsa_switch_fastest_ageing_time() argument 23 if (dp->ageing_time && dp->ageing_time < ageing_time) in dsa_switch_fastest_ageing_time() 24 ageing_time = dp->ageing_time; in dsa_switch_fastest_ageing_time() 26 return ageing_time; in dsa_switch_fastest_ageing_time() 32 unsigned int ageing_time = info->ageing_time; in dsa_switch_ageing_time() local 34 if (ds->ageing_time_min && ageing_time < ds->ageing_time_min) in dsa_switch_ageing_time() 37 if (ds->ageing_time_max && ageing_time > ds->ageing_time_max) in dsa_switch_ageing_time() 41 ageing_time = dsa_switch_fastest_ageing_time(ds, ageing_time); in dsa_switch_ageing_time() 44 return ds->ops->set_ageing_time(ds, ageing_time); in dsa_switch_ageing_time()
|
| D | port.c | 876 unsigned int ageing_time = jiffies_to_msecs(ageing_jiffies); in dsa_port_ageing_time() local 880 info.ageing_time = ageing_time; in dsa_port_ageing_time() 886 dp->ageing_time = ageing_time; in dsa_port_ageing_time()
|
| /Linux-v6.1/net/bridge/ |
| D | br_stp.c | 610 .u.ageing_time = jiffies_to_clock_t(t), in __set_ageing_time() 629 int br_set_ageing_time(struct net_bridge *br, clock_t ageing_time) in br_set_ageing_time() argument 631 unsigned long t = clock_t_to_jiffies(ageing_time); in br_set_ageing_time() 640 br->ageing_time = t; in br_set_ageing_time() 657 return jiffies_to_clock_t(br->ageing_time); in br_get_ageing_time() 684 br->ageing_time = t; in __br_set_topology_change()
|
| D | br_ioctl.c | 182 b.ageing_time = jiffies_to_clock_t(br->ageing_time); in br_dev_siocdevprivate()
|
| D | br_stp_if.c | 43 err = __set_ageing_time(p->dev, p->br->ageing_time); in br_init_port()
|
| /Linux-v6.1/drivers/net/ethernet/rocker/ |
| D | rocker_ofdpa.c | 189 unsigned long ageing_time; member 202 unsigned long ageing_time; member 1988 unsigned long next_timer = jiffies + ofdpa->ageing_time; in ofdpa_fdb_cleanup() 2001 expires = entry->touched + ofdpa_port->ageing_time; in ofdpa_fdb_cleanup() 2370 ofdpa->ageing_time = BR_DEFAULT_AGEING_TIME; in ofdpa_init() 2427 ofdpa_port->ageing_time = BR_DEFAULT_AGEING_TIME; in ofdpa_port_pre_init() 2519 u32 ageing_time) in ofdpa_port_attr_bridge_ageing_time_set() argument 2524 ofdpa_port->ageing_time = clock_t_to_jiffies(ageing_time); in ofdpa_port_attr_bridge_ageing_time_set() 2525 if (ofdpa_port->ageing_time < ofdpa->ageing_time) in ofdpa_port_attr_bridge_ageing_time_set() 2526 ofdpa->ageing_time = ofdpa_port->ageing_time; in ofdpa_port_attr_bridge_ageing_time_set()
|
| D | rocker.h | 112 u32 ageing_time);
|
| /Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| D | bridge.h | 61 int mlx5_esw_bridge_ageing_time_set(u16 vport_num, u16 esw_owner_vhca_id, unsigned long ageing_time,
|
| D | bridge.c | 103 unsigned long ageing_time; member 931 bridge->ageing_time = clock_t_to_jiffies(BR_DEFAULT_AGEING_TIME); in mlx5_esw_bridge_create() 1473 int mlx5_esw_bridge_ageing_time_set(u16 vport_num, u16 esw_owner_vhca_id, unsigned long ageing_time, in mlx5_esw_bridge_ageing_time_set() argument 1482 port->bridge->ageing_time = clock_t_to_jiffies(ageing_time); in mlx5_esw_bridge_ageing_time_set() 1803 time_is_before_jiffies(entry->lastuse + bridge->ageing_time)) in mlx5_esw_bridge_update()
|
| /Linux-v6.1/drivers/net/ethernet/microchip/lan966x/ |
| D | lan966x_switchdev.c | 181 u32 ageing_time = jiffies_to_msecs(ageing_jiffies) / 1000; in lan966x_port_ageing_set() local 183 lan966x_mac_set_ageing(port->lan966x, ageing_time); in lan966x_port_ageing_set() 229 lan966x_port_ageing_set(port, attr->u.ageing_time); in lan966x_port_attr_set()
|
| /Linux-v6.1/drivers/net/ethernet/microchip/sparx5/ |
| D | sparx5_switchdev.c | 89 u32 ageing_time = jiffies_to_msecs(ageing_jiffies); in sparx5_port_attr_ageing_set() local 91 sparx5_set_ageing(port->sparx5, ageing_time); in sparx5_port_attr_ageing_set() 142 sparx5_port_attr_ageing_set(port, attr->u.ageing_time); in sparx5_port_attr_set()
|
| /Linux-v6.1/tools/testing/selftests/drivers/net/bonding/ |
| D | net_forwarding_lib.sh | 898 | jq '.[]["linkinfo"]["info_data"]["ageing_time"]') 1273 ageing_time=$(bridge_ageing_time_get $bridge) 1274 sleep $((ageing_time + 10))
|
| /Linux-v6.1/tools/testing/selftests/drivers/net/team/ |
| D | net_forwarding_lib.sh | 898 | jq '.[]["linkinfo"]["info_data"]["ageing_time"]') 1273 ageing_time=$(bridge_ageing_time_get $bridge) 1274 sleep $((ageing_time + 10))
|
| /Linux-v6.1/drivers/net/ethernet/mscc/ |
| D | ocelot_net.c | 1024 u32 ageing_time = jiffies_to_msecs(ageing_jiffies); in ocelot_port_attr_ageing_set() local 1026 ocelot_set_ageing_time(ocelot, ageing_time); in ocelot_port_attr_ageing_set() 1060 ocelot_port_attr_ageing_set(ocelot, port, attr->u.ageing_time); in ocelot_port_attr_set() 1272 clock_t ageing_time; in ocelot_switchdev_sync() local 1280 ageing_time = br_get_ageing_time(bridge_dev); in ocelot_switchdev_sync() 1281 ocelot_port_attr_ageing_set(ocelot, port, ageing_time); in ocelot_switchdev_sync()
|
| /Linux-v6.1/Documentation/networking/device_drivers/ethernet/ti/ |
| D | cpsw_switchdev.rst | 109 ip link set dev br0 type bridge ageing_time 1000 212 ip link set dev br0 type bridge ageing_time 1000
|
| D | am65_nuss_cpsw_switchdev.rst | 59 ip link set dev br0 type bridge ageing_time 1000
|
| /Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_switchdev.c | 38 u32 ageing_time; member 839 static int mlxsw_sp_ageing_set(struct mlxsw_sp *mlxsw_sp, u32 ageing_time) in mlxsw_sp_ageing_set() argument 844 mlxsw_reg_sfdat_pack(sfdat_pl, ageing_time); in mlxsw_sp_ageing_set() 848 mlxsw_sp->bridge->ageing_time = ageing_time; in mlxsw_sp_ageing_set() 857 u32 ageing_time = jiffies_to_msecs(ageing_jiffies) / 1000; in mlxsw_sp_port_attr_br_ageing_set() local 859 if (ageing_time < MLXSW_SP_MIN_AGEING_TIME || in mlxsw_sp_port_attr_br_ageing_set() 860 ageing_time > MLXSW_SP_MAX_AGEING_TIME) in mlxsw_sp_port_attr_br_ageing_set() 863 return mlxsw_sp_ageing_set(mlxsw_sp, ageing_time); in mlxsw_sp_port_attr_br_ageing_set() 1198 attr->u.ageing_time); in mlxsw_sp_port_attr_set()
|