/Linux-v4.19/net/dsa/ |
D | switch.c | 20 unsigned int ageing_time) in dsa_switch_fastest_ageing_time() argument 27 if (dp->ageing_time && dp->ageing_time < ageing_time) in dsa_switch_fastest_ageing_time() 28 ageing_time = dp->ageing_time; in dsa_switch_fastest_ageing_time() 31 return ageing_time; in dsa_switch_fastest_ageing_time() 37 unsigned int ageing_time = info->ageing_time; in dsa_switch_ageing_time() local 41 if (ds->ageing_time_min && ageing_time < ds->ageing_time_min) in dsa_switch_ageing_time() 43 if (ds->ageing_time_max && ageing_time > ds->ageing_time_max) in dsa_switch_ageing_time() 49 ageing_time = dsa_switch_fastest_ageing_time(ds, ageing_time); in dsa_switch_ageing_time() 52 return ds->ops->set_ageing_time(ds, ageing_time); in dsa_switch_ageing_time()
|
D | port.c | 166 unsigned int ageing_time = jiffies_to_msecs(ageing_jiffies); in dsa_port_ageing_time() local 168 .ageing_time = ageing_time, in dsa_port_ageing_time() 175 dp->ageing_time = ageing_time; in dsa_port_ageing_time()
|
D | dsa_priv.h | 34 unsigned int ageing_time; member
|
D | slave.c | 293 ret = dsa_port_ageing_time(dp, attr->u.ageing_time, trans); in dsa_slave_port_attr_set()
|
/Linux-v4.19/tools/testing/selftests/net/forwarding/ |
D | lib.sh | 507 local ageing_time 510 ageing_time=$(ip -j -d link show dev $bridge \ 512 echo $((ageing_time / 100)) 809 local ageing_time 851 ageing_time=$(bridge_ageing_time_get $bridge) 852 sleep $((ageing_time + 10))
|
D | bridge_vlan_unaware.sh | 31 ip link add dev br0 type bridge ageing_time 1000 mcast_snooping 0
|
D | bridge_vlan_aware.sh | 32 ip link add dev br0 type bridge vlan_filtering 1 ageing_time 1000 \
|
/Linux-v4.19/net/bridge/ |
D | br_stp.c | 572 .u.ageing_time = jiffies_to_clock_t(t), in __set_ageing_time() 591 int br_set_ageing_time(struct net_bridge *br, clock_t ageing_time) in br_set_ageing_time() argument 593 unsigned long t = clock_t_to_jiffies(ageing_time); in br_set_ageing_time() 602 br->ageing_time = t; in br_set_ageing_time() 633 br->ageing_time = t; in __br_set_topology_change()
|
D | br_ioctl.c | 148 b.ageing_time = jiffies_to_clock_t(br->ageing_time); in old_dev_ioctl()
|
D | br_stp_if.c | 47 err = __set_ageing_time(p->dev, p->br->ageing_time); in br_init_port()
|
D | br_sysfs_br.c | 107 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->ageing_time)); in ageing_time_show() 121 static DEVICE_ATTR_RW(ageing_time);
|
D | br_device.c | 444 br->bridge_ageing_time = br->ageing_time = BR_DEFAULT_AGEING_TIME; in br_dev_setup()
|
D | br_private.h | 350 unsigned long ageing_time; member 1075 int br_set_ageing_time(struct net_bridge *br, clock_t ageing_time);
|
D | br_netlink.c | 1376 u32 ageing_time = jiffies_to_clock_t(br->ageing_time); in br_fill_info() local 1399 nla_put_u32(skb, IFLA_BR_AGEING_TIME, ageing_time) || in br_fill_info()
|
D | br_fdb.c | 77 return br->topology_change ? br->forward_delay : br->ageing_time; in hold_time()
|
/Linux-v4.19/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 192 unsigned long ageing_time; member 205 unsigned long ageing_time; member 1991 unsigned long next_timer = jiffies + ofdpa->ageing_time; in ofdpa_fdb_cleanup() 2004 expires = entry->touched + ofdpa_port->ageing_time; in ofdpa_fdb_cleanup() 2373 ofdpa->ageing_time = BR_DEFAULT_AGEING_TIME; in ofdpa_init() 2430 ofdpa_port->ageing_time = BR_DEFAULT_AGEING_TIME; in ofdpa_port_pre_init() 2536 u32 ageing_time, in ofdpa_port_attr_bridge_ageing_time_set() argument 2543 ofdpa_port->ageing_time = clock_t_to_jiffies(ageing_time); in ofdpa_port_attr_bridge_ageing_time_set() 2544 if (ofdpa_port->ageing_time < ofdpa->ageing_time) in ofdpa_port_attr_bridge_ageing_time_set() 2545 ofdpa->ageing_time = ofdpa_port->ageing_time; in ofdpa_port_attr_bridge_ageing_time_set()
|
D | rocker.h | 119 u32 ageing_time,
|
D | rocker_main.c | 1612 u32 ageing_time, in rocker_world_port_attr_bridge_ageing_time_set() argument 1624 return wops->port_attr_bridge_ageing_time_set(rocker_port, ageing_time, in rocker_world_port_attr_bridge_ageing_time_set() 2094 attr->u.ageing_time, in rocker_port_attr_set()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 38 u32 ageing_time; member 676 static int mlxsw_sp_ageing_set(struct mlxsw_sp *mlxsw_sp, u32 ageing_time) in mlxsw_sp_ageing_set() argument 681 mlxsw_reg_sfdat_pack(sfdat_pl, ageing_time); in mlxsw_sp_ageing_set() 685 mlxsw_sp->bridge->ageing_time = ageing_time; in mlxsw_sp_ageing_set() 695 u32 ageing_time = jiffies_to_msecs(ageing_jiffies) / 1000; in mlxsw_sp_port_attr_br_ageing_set() local 698 if (ageing_time < MLXSW_SP_MIN_AGEING_TIME || in mlxsw_sp_port_attr_br_ageing_set() 699 ageing_time > MLXSW_SP_MAX_AGEING_TIME) in mlxsw_sp_port_attr_br_ageing_set() 705 return mlxsw_sp_ageing_set(mlxsw_sp, ageing_time); in mlxsw_sp_port_attr_br_ageing_set() 887 attr->u.ageing_time); in mlxsw_sp_port_attr_set()
|
/Linux-v4.19/include/net/ |
D | switchdev.h | 69 clock_t ageing_time; /* BRIDGE_AGEING_TIME */ member
|
D | dsa.h | 200 unsigned int ageing_time; member
|
/Linux-v4.19/include/uapi/linux/ |
D | if_bridge.h | 69 __u32 ageing_time; member
|
/Linux-v4.19/drivers/net/ethernet/mscc/ |
D | ocelot.c | 1100 u32 ageing_time = jiffies_to_msecs(ageing_jiffies) / 1000; in ocelot_port_attr_ageing_set() local 1102 ocelot_write(ocelot, ANA_AUTOAGE_AGE_PERIOD(ageing_time / 2), in ocelot_port_attr_ageing_set() 1137 ocelot_port_attr_ageing_set(ocelot_port, attr->u.ageing_time); in ocelot_port_attr_set()
|
/Linux-v4.19/drivers/net/ |
D | tun.c | 240 unsigned long ageing_time; member 489 unsigned long delay = tun->ageing_time; in tun_flow_cleanup() 525 unsigned long delay = tun->ageing_time; in tun_flow_update() 1343 tun->ageing_time = TUN_FLOW_EXPIRE; in tun_flow_init() 1346 round_jiffies_up(jiffies + tun->ageing_time)); in tun_flow_init()
|
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 2368 unsigned int ageing_time) in mv88e6xxx_set_ageing_time() argument 2374 err = mv88e6xxx_g1_atu_set_age_time(chip, ageing_time); in mv88e6xxx_set_ageing_time()
|