Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Dec 2021 14:06:33 +0300
From:      =?UTF-8?B?w5Z6a2FuIEtJUklL?= <ozkan.kirik@gmail.com>
To:        Peter <pmc@citylink.dinoex.sub.org>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: 12.3: igb driver does not receive vlan-tagged packets
Message-ID:  <CAAcX-AEgQyFUXfjgshEkPMaCzrH49hyUbREbAV4UDDSgX=1dFw@mail.gmail.com>
In-Reply-To: <YatGhsksdMK/fqfy@gate.intra.daemon.contact>
References:  <YatGhsksdMK/fqfy@gate.intra.daemon.contact>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAcX-AEgQyFUXfjgshEkPMaCzrH49hyUbREbAV4UDDSgX=1dFw>