From nobody Sun Dec 12 10:58:37 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 34C6F18E6A7C for ; Sun, 12 Dec 2021 11:09:21 +0000 (UTC) (envelope-from pmc@citylink.dinoex.sub.org) Received: from uucp.dinoex.org (uucp.dinoex.org [IPv6:2a0b:f840::12]) (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 "uucp.dinoex.sub.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JBhjX4TyKz3wLN for ; Sun, 12 Dec 2021 11:09:20 +0000 (UTC) (envelope-from pmc@citylink.dinoex.sub.org) Received: from uucp.dinoex.sub.de (uucp.dinoex.org [185.220.148.12]) by uucp.dinoex.org (8.17.1/8.17.1) with ESMTPS id 1BCB95Ag051345 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 12 Dec 2021 12:09:05 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) X-Authentication-Warning: uucp.dinoex.org: Host uucp.dinoex.org [185.220.148.12] claimed to be uucp.dinoex.sub.de Received: (from uucp@localhost) by uucp.dinoex.sub.de (8.17.1/8.17.1/Submit) with UUCP id 1BCB95Zb051344; Sun, 12 Dec 2021 12:09:05 +0100 (CET) (envelope-from pmc@citylink.dinoex.sub.org) Received: from gate.intra.daemon.contact (gate-e [192.168.98.2]) by citylink.dinoex.sub.de (8.16.1/8.16.1) with ESMTP id 1BCB0qXk071970; Sun, 12 Dec 2021 12:00:52 +0100 (CET) (envelope-from peter@gate.intra.daemon.contact) Received: from gate.intra.daemon.contact (gate-e [192.168.98.2]) by gate.intra.daemon.contact (8.16.1/8.16.1) with ESMTPS id 1BCAwbrJ071145 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 12 Dec 2021 11:58:37 +0100 (CET) (envelope-from peter@gate.intra.daemon.contact) Received: (from peter@localhost) by gate.intra.daemon.contact (8.16.1/8.16.1/Submit) id 1BCAwbrR071144; Sun, 12 Dec 2021 11:58:37 +0100 (CET) (envelope-from peter) Date: Sun, 12 Dec 2021 11:58:37 +0100 From: Peter To: =?iso-8859-1?Q?=D6zkan?= KIRIK Cc: freebsd-stable Subject: Re: 12.3: igb driver does not receive vlan-tagged packets Message-ID: References: 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Milter: Spamilter (Reciever: uucp.dinoex.sub.de; Sender-ip: 185.220.148.12; Sender-helo: uucp.dinoex.sub.de;) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (uucp.dinoex.org [185.220.148.12]); Sun, 12 Dec 2021 12:09:07 +0100 (CET) X-Rspamd-Queue-Id: 4JBhjX4TyKz3wLN X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pmc@citylink.dinoex.sub.org designates 2a0b:f840::12 as permitted sender) smtp.mailfrom=pmc@citylink.dinoex.sub.org X-Spamd-Result: default: False [0.67 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.981]; DMARC_NA(0.00)[sub.org]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.99)[0.993]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:205376, ipnet:2a0b:f840::/32, country:DE]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi =D6zkan, I want to say a (late) thank-you for this quick and helpful answer! I did now include the change as of https://reviews.freebsd.org/D33154 into my 12.3-RELEASE, and it solves the issue. cheerio, PMc On Sat, Dec 04, 2021 at 02:06:33PM +0300, =D6zkan KIRIK wrote: ! Hi, !=20 ! I hit an issue like this. The e1000 & igb driver doesn't reflect hw ! offload capabilities now. ! https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260068 ! And the differential https://reviews.freebsd.org/D33154 was created ! for the bug reported by me. ! I saw that, you need disable "vlanhwfilter" capability. With the same ! differential, it will work for you also. !=20 ! regards ! Ozkan !=20 ! On Sat, Dec 4, 2021 at 1:54 PM Peter wrote: ! > ! > Hija, ! > ! > after swapping network interface card (re0) to igb0, my networking ! > failed. ! > ! > I found that igb does send out vlan tagged packets, but not receive ! > any answers, unless a vlan* device was previousely attached with the ! > required vlan number (observed with tcpdump). ! > ! > My current workaround is this hack in rc.conf, which makes things work ! > again for now (I need vlan 7 only for ISP uplink): ! > ! > > cloned_interfaces=3D"vlan0" ! > > ifconfig_vlan0=3D"vlan 7 vlandev igb0" ! > > ifconfig_vlan0_alias0=3D"destroy" ! > ! > That vlan0 device is not needed, but it must have existed once after ! > boot in order to receive the packets at all. This was not the case ! > with the re0 driver. ! > Switching off all hw-offload stuff doesn't seem to change the issue. ! > ! > Is there a rationale for this, or am I missing some neccessary config? ! > (Not seeing any bugreports or otherwise discussion of the matter) ! > ! > ! > cheerio, ! > PMc ! > --=20 Peter Much * Fichtenstr. 28 * 65527 Niedernhausen home +49-6127-967111 * road +49-151-21416768