Skip to Content.

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

Subject: Rare project developers

List archive


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


Chronological Thread 
  • From: Frédéric LOUI <>
  • To:
  • Cc: Alexander Gall <>
  • Subject: Re: [rare-dev] initialization of mgmt0 and bf_pci0
  • Date: Fri, 25 Mar 2022 10:53:53 +0100
  • Dkim-filter: OpenDKIM Filter v2.10.3 zmtaauth03.partage.renater.fr 888CE80123

HI,

Just in case you need sample of what is effectively done at initilialization
stage, this is located in:
/opt/freertr/bin/hwdet-main.sh

All the best,
Frederic

> Le 25 mars 2022 à 10:42, mc36 <> a écrit :
>
> 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<zzz.pcap>




Archive powered by MHonArc 2.6.19.

Top of Page