Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2023 15:06:03 +0100
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        Olivier =?iso-8859-1?Q?Cochard-Labb=E9?= <olivier@freebsd.org>
Cc:        tuexen@freebsd.org, current@freebsd.org, net@freebsd.org
Subject:   Re: Request for Testing: TCP RACK
Message-ID:  <ZVdzS_XfJ1fz0MUN@mail.bsd4all.net>
In-Reply-To: <CA%2Bq%2BTcoX9%2BP8SM=oZvY=WSPBBKiHC_WSmpw=74nNJ4U8ZF%2B=DQ@mail.gmail.com>
References:  <42C327BD-6CE4-43AA-A1AE-3BEC08D623DB@freebsd.org> <87pm09ykb8.wl-herbert@gojira.at> <87o7ftyhkp.wl-herbert@gojira.at> <CA%2Bq%2BTcoU21yisYDuCkYtAkJE-WXLdtohZi893zMP%2BNMG0WUh3Q@mail.gmail.com> <87msvdy0v4.wl-herbert@gojira.at> <867DC224-F0B1-4C9C-8EB7-C9F7BE1C029A@freebsd.org> <87edgo33s9.wl-herbert@gojira.at> <CA%2Bq%2BTcoX9%2BP8SM=oZvY=WSPBBKiHC_WSmpw=74nNJ4U8ZF%2B=DQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Fri, Nov 17, 2023 at 02:46:52PM +0100, Olivier Cochard-Labbé wrote:
> On Fri, Nov 17, 2023 at 2:31 PM Herbert J. Skuhra <herbert@gojira.at> wrote:
> 
> >
> > 1. It even fails with a simple pf.conf:
> >    pass in all
> >    pass out all
> >
> > 2. Fetching port distfiles also failed.
> >
> > 3. If I disable rxcsum on the ethernet adapter (igb0) it works.
> >
> >
> I can't reproduce it with pfctl too (same igb drivers with default RXCSUM
> enabled).
> 
> $ cat /etc/pf.conf
> pass in all
> pass out all
> $ service pf onestart
> Enabling pf
> .
> $ pfctl -sr
> pass in all flags S/SA keep state
> pass out all flags S/SA keep state
> $ sysctl net.inet.tcp.functions_default
> net.inet.tcp.functions_default: rack
> $ ifconfig igb0 | grep option
> 
> options=4e523bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> 
> $ git clone -q git@github.com:freebsd/freebsd-src.git && echo working
> working
> 
> What is your igb chipset exactly  ? (pciconf -lv | grep -B 3 -F "network")

igb0@pci0:41:0:0:       class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x1533 subvendor=0x1849 subdevice=0x1533
    vendor     = 'Intel Corporation'
    device     = 'I210 Gigabit Network Connection'
    class      = network

> What is your netstat -ss output ?

tcp:
	946 packets sent
		933 data packets (41681 bytes)
		7946 ack-only packets (2 delayed)
		1 control packet
	999 packets received
		860 acks (for 41681 bytes)
		910 packets (118790 bytes) received in-sequence
		12 completely duplicate packets (17136 bytes)
	1 connection request
	1 connection established (including accepts)
		1 time used RTT from hostcache
		1 time used RTT variance from hostcache
	1 connection closed (including 1 drop)
		1 connection updated cached RTT on close
		1 connection updated cached RTT variance on close
	862 segments updated rtt (of 847 attempts)
	71 correct ACK header predictions
	124 correct data packet header predictions
	7910 SACK options (SACK blocks) sent
TCP connection count by state:
	7 connections in LISTEN state
	1 connection  in ESTABLISHED state
udp:
	39 datagrams received
	39 delivered
	39 datagrams output
ip:
	80 total packets received
	23 packets for this host
	23 packets sent from this host
icmp:
	ICMP address mask responses are disabled
igmp:
arp:
ip6:
	933 total packets received
	931 packets for this host
	8891 packets sent from this host
	Input histogram:
		TCP: 915
		UDP: 16
		ICMP6: 2
	Mbuf statistics:
		870 one mbuf
		63 one ext mbuf
		0 two or more ext mbuf
	source addresses on an outgoing I/F
		2 link-locals
		3 globals
	source addresses of same scope
		2 link-locals
		3 globals
	Source addresses selection rule applied:
		5 first candidate
		3 appropriate scope
icmp6:
	Output histogram:
		neighbor solicitation: 2
	Input histogram:
		neighbor advertisement: 2
	Histogram of error messages to be generated:
rip6:


Thanks.

-- 
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZVdzS_XfJ1fz0MUN>