Re: 12.3: igb driver does not receive vlan-tagged packets

From: Peter <pmc_at_citylink.dinoex.sub.org>
Date: Sun, 12 Dec 2021 10:58:37 UTC
Hi Özkan,

 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, Özkan KIRIK wrote:
! Hi,
! 
! 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=260068
! 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.
! 
! regards
! Ozkan
! 
! 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="vlan0"
! > > ifconfig_vlan0="vlan 7 vlandev igb0"
! > > ifconfig_vlan0_alias0="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
! >

-- 
Peter Much * Fichtenstr. 28 * 65527 Niedernhausen
home +49-6127-967111 * road +49-151-21416768