From nobody Thu Dec 23 15:04:53 2021 X-Original-To: freebsd-stable@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 692D91901C62 for ; Thu, 23 Dec 2021 15:05:01 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (gvr.gvr.org [62.251.117.91]) (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 RSA-PSS (2048 bits) client-digest SHA256) (Client CN "gvr.gvr.org", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JKYQN34nFz3BtJ for ; Thu, 23 Dec 2021 15:05:00 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (localhost [127.0.0.1]) by gvr.gvr.org (Postfix) with ESMTP id 2756FC883B for ; Thu, 23 Dec 2021 16:04:53 +0100 (CET) X-Virus-Scanned: amavisd-new at gvr.org Received: from gvr.gvr.org ([127.0.0.1]) by gvr.gvr.org (gvr.gvr.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3Qv3ALSLHNox for ; Thu, 23 Dec 2021 16:04:53 +0100 (CET) Received: by gvr.gvr.org (Postfix, from userid 657) id 08FA1C86BD; Thu, 23 Dec 2021 16:04:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gvr.org; s=20190204; t=1640271893; bh=3UcdBj3J6cel7GUBzMVYyy9ZYkdeeIgBJQ+TX2sMlDA=; h=Date:From:To:Subject; b=KsI0Rp/3fYqgYW6CL2+laHCLywSXCXIL40fERSNXnOdxEU2HQDQi+0HMYWT395RnE zrxd4wPNVkb8ye2jWdZZPLBlw29fWnZYauIrav5t0t++0m72KVyuWvYovDXb14RWUe E9XFF3gcAB9NI3Criy252IBBW58FTGTa0h4VvN+JfHpqvwoMWkE8OvPIaP42kX8l0+ ncj+0BIv5AYKWQxqGDEOOfJrB5O3VdOTIu6wd+ks0WF+VzQaCuf/zZPrtsxRaheqO4 zyvAdaGdPADEiyo9pCK4HEMgLEMs+vQQ9RBAjeyAPIuQkqcSrJGsT3C5CiVSEWFrns uOrghrKQYFsgQ== Date: Thu, 23 Dec 2021 16:04:53 +0100 From: Guido van Rooij To: freebsd-stable@freebsd.org Subject: igb/vlan problem after upgrading from 12.2 to 12.3 Message-ID: List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4JKYQN34nFz3BtJ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gvr.org header.s=20190204 header.b="KsI0Rp/3"; dmarc=pass (policy=none) header.from=gvr.org; spf=pass (mx1.freebsd.org: domain of guido@gvr.org designates 62.251.117.91 as permitted sender) smtp.mailfrom=guido@gvr.org X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gvr.org:s=20190204]; FREEFALL_USER(0.00)[guido]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gvr.org:+]; DMARC_POLICY_ALLOW(-0.50)[gvr.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:3265, ipnet:62.251.0.0/17, country:NL] X-ThisMailContainsUnwantedMimeParts: N Hi, I have an APU2 system with intel I210 nics. After upgrading from 12.2 to 12.3 I noticed problems. It seems like larger packets somehow fail on igb0. This happens persistently, but when I bring the interface down and up again, the problem goes away. Here is the relavant config: # WAN interface ifconfig_igb0="mtu 1508 up -wol -arp" vlans_igb0="vlan4 vlan6" create_args_vlan4="vlan 4" create_args_vlan6="vlan 6 -arp" # Internet VLAN ifconfig_igb0_ipv6="inet6 ifdisabled -nud -auto_linklocal -accept_rtadv" ifconfig_vlan6_ipv6="inet6 ifdisabled -nud -auto_linklocal -accept_rtadv" # IPTV VLAN ifconfig_vlan4="SYNCDHCP" Here is relevant part of the ifconfig output: igb0: flags=8ac3 metric 0 mtu 1508 options=e507bb ether 00:0d:b9:4c:8b:e0 inet6 fe80::20d:b9ff:fe4c:8be0%igb0 prefixlen 64 tentative scopeid 0x1 media: Ethernet autoselect (1000baseT ) status: active nd6 options=8 vlan4: flags=8a43 metric 0 mtu 1508 options=600703 ether 00:0d:b9:4c:8b:e0 inet xx.xx.xxx.xx netmask 0xfffff800 broadcast xx.xx.xxx.255 groups: vlan vlan: 4 vlanpcp: 0 parent interface: igb0 media: Ethernet autoselect (1000baseT ) status: active nd6 options=69 vlan6: flags=88c3 metric 0 mtu 1508 options=600703 ether 00:0d:b9:4c:8b:e0 groups: vlan vlan: 6 vlanpcp: 0 parent interface: igb0 media: Ethernet autoselect (1000baseT ) status: active nd6 options=48 ng0: flags=88d1 metric 0 mtu 1500 inet xx.xxx.xxx.xx --> xxx.xxx.x.xxx netmask 0xffffffff inet6 fe80::20d:b9ff:fe4c:8be0%ng0 prefixlen 64 scopeid 0xc nd6 options=22 I do have two additional nics: igb2 is unused and igb1 has two vlan's (vlan100 and vlan200) but the settings on that interface do not have to be changed to get things working. Note that on vlan6 we run PPPoE via mpd5. After the PPPoE link comes up, I can ssh into my colo box (on the internet). A ping -s 1460 back does work, but ping -s 1480 does not. After bringing down and up igb0, ping -s 1480 does work again. (bringing down and up vlan6 does not let he ing come through) My gut feeling tells me this has to do with the mtu being 1508 on igb0. Perhaps this somehow does not get set correctly in the vlans initially but does so when bringing the iterface down and up again. Note again that this problem does not occur on 12.2. Perhaps PR 260260 is related? Hope you can help me debugging this further and get to a solution. Thanks. -Guido -- Guido van Rooij | Phone: ++31 653 994 773 Gonz Beheer | guido@gvr.org | FreeBSD dinosaur