Date: Sun, 12 Dec 2021 11:58:37 +0100 From: Peter <pmc@citylink.dinoex.sub.org> To: =?iso-8859-1?Q?=D6zkan?= KIRIK <ozkan.kirik@gmail.com> Cc: freebsd-stable <freebsd-stable@freebsd.org> Subject: Re: 12.3: igb driver does not receive vlan-tagged packets Message-ID: <YbXV3eOCQfcrWynL@gate.intra.daemon.contact> In-Reply-To: <CAAcX-AEgQyFUXfjgshEkPMaCzrH49hyUbREbAV4UDDSgX=1dFw@mail.gmail.com> References: <YatGhsksdMK/fqfy@gate.intra.daemon.contact> <CAAcX-AEgQyFUXfjgshEkPMaCzrH49hyUbREbAV4UDDSgX=1dFw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <pmc@citylink.dinoex.sub.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YbXV3eOCQfcrWynL>