Displaying 2 results from an estimated 2 matches for "low_ageing_tim".
Did you mean:
low_ageing_time
2023 Mar 18
1
[Bridge] [PATCH v2 net-next 6/6] selftests: forwarding: add dynamic FDB test
Test FDB ageing of user entry created by
bridge fdb replace ADDR dev <DEV> master dynamic
Use LOW_AGEING_TIME variable in forwarding.config to set a low ageing time.
Beware, DSA might not accept the ageing time you want. Check the
age_time_coeff value for your driver.
Signed-off-by: Hans J. Schultz <netdev at kapio-technology.com>
---
.../net/forwarding/bridge_locked_port.sh | 36 ++++++++++++...
2023 Mar 20
1
[Bridge] [PATCH v2 net-next 6/6] selftests: forwarding: add dynamic FDB test
...z wrote:
> +# Test of dynamic FDB entries.
> +locked_port_dyn_fdb()
> +{
> + local mac=00:01:02:03:04:05
> + local ageing_time
> +
> + RET=0
> + ageing_time=$(bridge_ageing_time_get br0)
> + tc qdisc add dev $swp2 clsact
> + ip link set dev br0 type bridge ageing_time $LOW_AGEING_TIME
> + bridge link set dev $swp1 learning on locked on
> +
> + bridge fdb replace $mac dev $swp1 master dynamic
> + tc filter add dev $swp2 egress protocol ip pref 1 handle 1 flower \
> + dst_ip 192.0.2.2 ip_proto udp dst_port 12345 action pass
> +
> + $MZ $swp1 -c 1 -p 128 -t u...