Skip to Content.
Sympa Menu

rare-dev - [rare-dev] initialization of mgmt0 and bf_pci0

Subject: Rare project developers

List archive

[rare-dev] initialization of mgmt0 and bf_pci0


Chronological Thread 
  • From: mc36 <>
  • To: Alexander Gall <>, "" <>
  • Subject: [rare-dev] initialization of mgmt0 and bf_pci0
  • Date: Fri, 25 Mar 2022 10:42:41 +0100

hi alex,
carmen complained that her freerouter have quite low tcp performance...
i installed your latest build to par0001 and checked on what's going
on and found that you're not initializing the ethernet ports...
i see a lot of this when i do a bigger transfer from freerouter:
info prtTcp.parseTCPheader:prtTcp.java:290 got bad checksum from 193.224.23.58
attaching you the capture that what's going on... the issue is that linux
internally reassembles the consecutive packets... the endpoint in this case
is my p4deb.nop.hu server also running freerouter and as such, it never emits
a tcp segment longer than 1024 to fit to any tunneling... moreover, the mgmt0
interface have the mtu 1500, moreover the whole tcp running over the
internet...
now in the capture we have packet 8, 15 and 20 which are 2048 bytes long,
and as freerouter states it correctly, have a bad tcp checksum...
so long story short, please initialize all the ports,
mgmt0 and bf_pci0 with the script below...
thanks,
cs

ip link set <port> up multicast on promisc on mtu 8192
ethtool -K <port> rx off
ethtool -K <port> tx off
ethtool -K <port> sg off
ethtool -K <port> tso off
ethtool -K <port> ufo off
ethtool -K <port> gso off
ethtool -K <port> gro off
ethtool -K <port> lro off
ethtool -K <port> rxvlan off
ethtool -K <port> txvlan off
ethtool -K <port> ntuple off
ethtool -K <port> rxhash off
ethtool --set-eee <port> eee off

Attachment: zzz.pcap
Description: application/vnd.tcpdump.pcap




Archive powered by MHonArc 2.6.19.

Top of Page