From nobody Thu Jan 04 14:22:03 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T5TLp0vtkz56VN4; Thu, 4 Jan 2024 14:22:26 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T5TLm4tbxz4Dp9; Thu, 4 Jan 2024 14:22:24 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=LLScMogI; dmarc=none; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 94.130.200.20 as permitted sender) smtp.mailfrom=herbert@gojira.at Date: Thu, 04 Jan 2024 15:22:03 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1704378136; bh=s22LBXQciBYHac0Wd0G56XRXa1aUi3rtEqv8zOgcAA0=; h=Date:Message-ID:From:To:Cc:Subject:MIME-Version:Content-Type; b=LLScMogIsdyLGt37kjDSwiWjLvsXFH7oVVd2Byz8sINiUjhFUd0lmLM6XT2nDvxdJ aPTZE0f9B/bXCgQgJQlTk7/y4WpawiPO+8qSCrJWae/y2XKhffOkYA4jLZoKBbvy0w GWLLYDe6TccgLluPgbN323cKULzpO7q0EhsNZOEHpQFn+FrvKUlphBb74//Q5ZBZ6E 7534QAb6DtpHxObcFWr5pVNZibl3BXtAahDXi7dU+jByH9wngG5bTTGOxuZ5awLbiv lrJjcrRGUeK5ZHNL68wBEP0alkTc4O03PAPhckBNALDnUuGhh2HxgPGETRG5LzJKNU 7hVyU7SNGUB5g== Message-ID: <87mstlrxf8.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: tuexen@fh-muenster.de Cc: current@freebsd.org, net@freebsd.org Subject: Re: Request for Testing: TCP RACK In-Reply-To: References: <42C327BD-6CE4-43AA-A1AE-3BEC08D623DB@freebsd.org> <87pm09ykb8.wl-herbert@gojira.at> <87o7ftyhkp.wl-herbert@gojira.at> <87msvdy0v4.wl-herbert@gojira.at> <867DC224-F0B1-4C9C-8EB7-C9F7BE1C029A@freebsd.org> <87edgo33s9.wl-herbert@gojira.at> <87o7e1s7oc.wl-herbert@gojira.at> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/29.1 Mule/6.0 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; R_SPF_ALLOW(-0.20)[+ip4:94.130.200.20]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[gojira.at]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org,net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gojira.at:+] X-Rspamd-Queue-Id: 4T5TLm4tbxz4Dp9 On Thu, 04 Jan 2024 14:57:59 +0100, tuexen@fh-muenster.de wrote: >=20 > > On Jan 4, 2024, at 11:40, Herbert J. Skuhra wrote: > >=20 > > On Fri, 17 Nov 2023 14:31:02 +0100, "Herbert J. Skuhra" wrote: > >>=20 > >> Hi, > >>=20 > >> On Fri, 17 Nov 2023 00:15:13 +0100, tuexen@freebsd.org wrote: > >>>=20 > >>>> On Nov 16, 2023, at 20:06, Herbert J. Skuhra wro= te: > >>>>=20 > >>>> On Thu, 16 Nov 2023 19:07:29 +0100, Olivier Cochard-Labb=C3=A9 wrote: > >>>>>=20 > >>>>> On Thu, Nov 16, 2023 at 5:10=E2=80=AFPM Herbert J. Skuhra wrote: > >>>>>=20 > >>>>>>=20 > >>>>>> OK, I am now running GENERIC-NODEBUG + "options TCPHPTS". > >>>>>>=20 > >>>>>> After setting "sysctl net.inet.tcp.functions_default=3Drack" git no > >>>>>> longer works: > >>>>>>=20 > >>>>>>=20 > >>>>> Are you using a fresh 15 head or a specific network setup ? > >>>>>=20 > >>>>> Because I'm not able to reproduce your problem on my system: > >>>>>=20 > >>>>> $ uname -a > >>>>> FreeBSD bigone 15.0-CURRENT FreeBSD 15.0-CURRENT #0 > >>>>> main-n266452-070d9e3540e6: Thu Nov 16 17:53:15 CET 2023 > >>>>> root@bigone:/usr/obj/usr/src/amd64.amd64/sys/TCPHPTS > >>>>> amd64 > >>>>> $ cat /usr/src/sys/amd64/conf/TCPHPTS > >>>>> include GENERIC-NODEBUG > >>>>> ident TCPHPTS > >>>>> options TCPHPTS > >>>>> $ sysctl net.inet.tcp.functions_default > >>>>> net.inet.tcp.functions_default: rack > >>>>> $ git clone -q git@github.com:freebsd/freebsd-src.git && echo worki= ng > >>>>> working > >>>>> $ > >>>>=20 > >>>> OK, (g)it works if I disable pf. Do you use pf? > >>> Can you share your pf config such that I can reproduce the problem lo= cally? > >>=20 > >> 1. It even fails with a simple pf.conf: > >> pass in all > >> pass out all > >>=20 > >> 2. Fetching port distfiles also failed. > >>=20 > >> 3. If I disable rxcsum on the ethernet adapter (igb0) it works. > >=20 > > Disabling lro also resolves the issue. > >=20 > > Not OK: > >=20 > > igb0: flags=3D1008843 = metric 0 mtu 1500 > > options=3D4e527bb > >=20 > > OK: > >=20 > > igb0: flags=3D1008843 = metric 0 mtu 1500 > > options=3D4e523bb > What kind of NIC do you have? Can you post the output of > dmesg | grep igb0 igb0: port 0xf000-0xf01f mem 0xfc200000-0xfc27ffff= ,0xfc280000-0xfc283fff irq 28 at device 0.0 on pci3 igb0: EEPROM V3.16-0 eTrack 0x800004d6 igb0: Using 1024 TX descriptors and 1024 RX descriptors igb0: Using 4 RX queues 4 TX queues igb0: Using MSI-X interrupts with 5 vectors igb0: Ethernet address: aa:bb:cc:dd:ee:ff igb0: netmap queues/slots: TX 4/1024, RX 4/1024 igb0: link state changed to UP igb0: link state changed to DOWN igb0: link state changed to UP -- Herbert