Hi,
I tried to make simple bridging between fm1-mac2 and fm1-mac5 gigabit ports. I used this comand
flex-installer -i auto -m ls1043ardb -d /dev/mmcblk0 -r rootfs_lsdk2108_ubuntu_main_arm64.tgz
to generate SD card image. After succesfull boot from SD card and login i run this commands:
ip addr add 192.168.3.80/24 dev fm1-mac1
ip route add default via 192.168.3.1
ip link add br0 type bridge
brctl setfd br0 0 #at to jede rovnou
ip link set fm1-mac2 master br0
ip link set fm1-mac5 master br0
ip link set fm1-mac6 master br0
ip link set up dev br0
ip link set up dev fm1-mac2
ip link set up dev fm1-mac5
ip link set up dev fm1-mac6
sysctl net.bridge.bridge-nf-call-iptables=0
to set up ip access on port fm1-mac1 and bridge between fm1-mac2,5,6.
Then I measured bidirectional performance via smartbits SMB200 gigabit cards RFC-1242 & RFC-2544 between fm1-mac2 and fm1-mac5 ports.
This is my results:
| | | | | |
| Frame Size | Passed Rate(%) | (01,01,01) to (01,03,01) (pks/sec) | (01,03,01) to (01,01,01) (pks/sec) | Total |
| | | 1GB -1GB | 1GB -1GB | |
| 64 | 7,98 | 118821 | 118821 | 237642 |
| 128 | 8,01 | 67641 | 67641 | 135282 |
| 256 | 10,99 | 49761 | 49761 | 99522 |
| 512 | 59,11 | 138889 | 138889 | 277778 |
| 1518 | 71,94 | 58466 | 58466 | 116932 |
Is it normal, that for 64B and 128B frame size is throughput only 80MBitsps?
Can I achieve full 1Gbit performance somehow (using DPAA/DPDK)?
Is somewhere some simple example how to set it up on this board? I tried to read some manuals about DPAA/DPDK, but I am not understand it much.
Is possible to configure fm1-macX ports like L2 switch without need much CPU power?
Thanks.