Re: [PATCH net-next] net: dsa: hellcreek: Print warning only once
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2022-09-03 16:44:10
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2022-09-03 16:44:10
On Sat, Sep 03, 2022 at 03:24:33PM +0200, Kurt Kanzenbach wrote:
quoted
Yes, some IP forwarding of 60 byte frames at line rate gigabit or higher should do the trick. Testing with MTU sized packets is probably not going to show much of a difference.Well, I don't see much of a difference. However, running iperf3 with small packets is nowhere near line rate of 100Mbit/s.
Try something smarter than iperf3, like CONFIG_NET_PKTGEN=y on a link partner as traffic generator. I had this command lying around, I forget exactly what it does. /root/git/net-next/samples/pktgen/pktgen_sample03_burst_single_flow.sh \ -i eth1 -s 64 -m 00:04:9f:05:de:0a -d 20.0.0.2 -t 2 -f 13 -c 4 -p 400 -n 0 -b 4