/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | am65_nuss_cpsw_switchdev.rst | 59 ip link set dev br0 type bridge ageing_time 1000
|
H A 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
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 3637 unsigned int ageing_time) in mv88e6xxx_set_ageing_time() argument 3643 err = mv88e6xxx_g1_atu_set_age_time(chip, ageing_time); in mv88e6xxx_set_ageing_time()
|
/linux/drivers/net/dsa/ocelot/ |
H A D | felix.c | 755 unsigned int ageing_time) in felix_set_ageing_time() argument 759 ocelot_set_ageing_time(ocelot, ageing_time); in felix_set_ageing_time()
|
/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 2786 unsigned int ageing_time) in sja1105_set_ageing_time() argument 2796 maxage = SJA1105_AGEING_TIME_MS(ageing_time); in sja1105_set_ageing_time()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_eswitch_br.c | 846 br_port->bridge->ageing_time = in ice_eswitch_br_port_obj_attr_set() 847 clock_t_to_jiffies(attr->u.ageing_time); in ice_eswitch_br_port_obj_attr_set() 1024 bridge->ageing_time = clock_t_to_jiffies(BR_DEFAULT_AGEING_TIME); in ice_eswitch_br_init() 1263 bridge->ageing_time)) in ice_eswitch_br_update()
|
H A D | ice_eswitch_br.h | 65 unsigned long ageing_time; member
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_switchdev.c | 1181 attr->u.ageing_time); in prestera_port_obj_attr_set()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | bridge.c | 312 attr->u.ageing_time, br_offloads); in mlx5_esw_bridge_port_obj_attr_set()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | bridge.c | 863 bridge->ageing_time = clock_t_to_jiffies(BR_DEFAULT_AGEING_TIME); in mlx5_esw_bridge_create() 1450 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 1459 bridge->ageing_time = clock_t_to_jiffies(ageing_time); in mlx5_esw_bridge_ageing_time_set() 1842 time_is_before_jiffies(entry->lastuse + bridge->ageing_time)) in mlx5_esw_bridge_update()
|
H A D | bridge.h | 75 int mlx5_esw_bridge_ageing_time_set(u16 vport_num, u16 esw_owner_vhca_id, unsigned long ageing_time,
|
H A D | bridge_priv.h | 218 unsigned long ageing_time; member
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_switchdev.c | 38 u32 ageing_time; member 946 static int mlxsw_sp_ageing_set(struct mlxsw_sp *mlxsw_sp, u32 ageing_time) in mlxsw_sp_ageing_set() argument 951 mlxsw_reg_sfdat_pack(sfdat_pl, ageing_time); in mlxsw_sp_ageing_set() 955 mlxsw_sp->bridge->ageing_time = ageing_time; in mlxsw_sp_ageing_set() 964 u32 ageing_time = jiffies_to_msecs(ageing_jiffies) / 1000; in mlxsw_sp_port_attr_br_ageing_set() local 966 if (ageing_time < MLXSW_SP_MIN_AGEING_TIME || in mlxsw_sp_port_attr_br_ageing_set() 967 ageing_time > MLXSW_SP_MAX_AGEING_TIME) in mlxsw_sp_port_attr_br_ageing_set() 970 return mlxsw_sp_ageing_set(mlxsw_sp, ageing_time); in mlxsw_sp_port_attr_br_ageing_set() 1307 attr->u.ageing_time); in mlxsw_sp_port_attr_set()
|
/linux/drivers/net/ethernet/microchip/lan966x/ |
H A 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/drivers/net/ethernet/microchip/sparx5/ |
H A 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/drivers/net/ethernet/mscc/ |
H A D | ocelot_net.c | 1014 u32 ageing_time = jiffies_to_msecs(ageing_jiffies); in ocelot_port_attr_ageing_set() local 1016 ocelot_set_ageing_time(ocelot, ageing_time); in ocelot_port_attr_ageing_set() 1050 ocelot_port_attr_ageing_set(ocelot, port, attr->u.ageing_time); in ocelot_port_attr_set() 1262 clock_t ageing_time; in ocelot_switchdev_sync() local 1270 ageing_time = br_get_ageing_time(bridge_dev); in ocelot_switchdev_sync() 1271 ocelot_port_attr_ageing_set(ocelot, port, ageing_time); in ocelot_switchdev_sync()
|
/linux/drivers/net/ethernet/rocker/ |
H A D | rocker.h | 112 u32 ageing_time);
|
H A D | rocker_main.c | 1612 u32 ageing_time) in rocker_world_port_attr_bridge_ageing_time_set() argument 1619 return wops->port_attr_bridge_ageing_time_set(rocker_port, ageing_time); in rocker_world_port_attr_bridge_ageing_time_set() 2057 attr->u.ageing_time); in rocker_port_attr_set()
|
H A D | rocker_ofdpa.c | 189 unsigned long ageing_time; member 202 unsigned long ageing_time; member 1989 unsigned long next_timer = jiffies + ofdpa->ageing_time; in ofdpa_fdb_cleanup() 2002 expires = entry->touched + ofdpa_port->ageing_time; in ofdpa_fdb_cleanup() 2371 ofdpa->ageing_time = BR_DEFAULT_AGEING_TIME; in ofdpa_init() 2428 ofdpa_port->ageing_time = BR_DEFAULT_AGEING_TIME; in ofdpa_port_pre_init() 2520 u32 ageing_time) in ofdpa_port_attr_bridge_ageing_time_set() argument 2525 ofdpa_port->ageing_time = clock_t_to_jiffies(ageing_time); in ofdpa_port_attr_bridge_ageing_time_set() 2526 if (ofdpa_port->ageing_time < ofdpa->ageing_time) in ofdpa_port_attr_bridge_ageing_time_set() 2527 ofdpa->ageing_time = ofdpa_port->ageing_time; in ofdpa_port_attr_bridge_ageing_time_set()
|
/linux/drivers/net/ |
H A D | tun.c | 203 unsigned long ageing_time; member 446 unsigned long delay = tun->ageing_time; in tun_flow_cleanup() 480 unsigned long delay = tun->ageing_time; in tun_flow_update() 1354 tun->ageing_time = TUN_FLOW_EXPIRE; in tun_flow_init() 1357 round_jiffies_up(jiffies + tun->ageing_time)); in tun_flow_init()
|
/linux/include/net/ |
H A D | dsa.h | 291 unsigned int ageing_time; member
|
H A D | switchdev.h | 62 clock_t ageing_time; /* BRIDGE_AGEING_TIME */ member
|
/linux/include/uapi/linux/ |
H A D | if_bridge.h | 69 __u32 ageing_time; member
|
/linux/net/bridge/ |
H A D | br_device.c | 524 br->bridge_ageing_time = br->ageing_time = BR_DEFAULT_AGEING_TIME; in br_dev_setup()
|
H A D | br_fdb.c | 65 return br->topology_change ? br->forward_delay : br->ageing_time; in hold_time()
|