From nobody Sat Dec 4 11:06:33 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 5140118C806F for ; Sat, 4 Dec 2021 11:06:44 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-ua1-x935.google.com (mail-ua1-x935.google.com [IPv6:2607:f8b0:4864:20::935]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J5n2D1gsvz4sq8 for ; Sat, 4 Dec 2021 11:06:44 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: by mail-ua1-x935.google.com with SMTP id a14so10481202uak.0 for ; Sat, 04 Dec 2021 03:06:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hVOYio2/vgxgVPUwq4MNRQ+U5HXArLeJ9uTQIsNfQps=; b=D0eVh/V2AGb/6KQGkxhLCUcwdPXYrYqEenkP9odVj4ioGybbK0vNJwA4v9dVdjn0EI GIWdTaCY+TcvEDojLLa5Q25WCBGeRQ0+alXWq+aIkCMrTXpXjKWzB6z+j0DYm5UFAeAv lxuAteLyq2EjLGQicdXKldhef0ffQTlorfZsSjfSzDi1hGh7Ia8UYNfei/atgQTwF+DN cMu28d1fVQpPk0+UCEpF1RZFUaXtaBuerRbNNsI3jQODOxAzTV8jsygO97XDufE5Drnq 9OE5OrtKYdeeaG556phuQmJ6VGcRQw5RgCyXFVfo5L+YcRG2618xUlOk8X2omMwNgyPL 88LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hVOYio2/vgxgVPUwq4MNRQ+U5HXArLeJ9uTQIsNfQps=; b=yv9NzXC2BfwTOm9Fk70URdKviIgPUuoUUwtajpFQznIJv6BYZ+dRYU444ulhYNB7Qh LVq8QtZ1zWKmVXVj4wtT5KAQlYKSwc/ZuL+jsKMqcTgvzSLf9BtNIIU10KCpgkGQR3QK mGTzWxz7VqdL4Ocqppe0lzpvzoDaFe0RwWcw5LtsqRmceQ1jngxfLevWPlbkALg6JF66 KKWGJ7FXSA+sNwcQ0Xxwmx5GaRf72mmjIRxQO7Xysnj2sF12aaaHGnVJYzkV3ixxnB1W qzI7cynAM55Zbn/9gf8lxzwvN6c+bDfqwRnY9ojbFKESFsde2y+D8/fPADvf8gUzXS+5 pkJQ== X-Gm-Message-State: AOAM533KT4YuUeu3gfuGhqnVu7NQNeiRbQ67ghPW5rH0j+CHUAfvRONq PVghxf8zxA+Rx+0No/+a8FbKUR6tHmxy9Ax6YMZyocWaVF4= X-Google-Smtp-Source: ABdhPJx9Jq44uwKdzMCCvBh1ZcekjrDERK42WBlvUg6f1PrjYRjHgvzrkGlrABlYJsRhYZGw8FS4wD46TYr60kNCxAk= X-Received: by 2002:a05:6102:2922:: with SMTP id cz34mr25246587vsb.56.1638616003784; Sat, 04 Dec 2021 03:06:43 -0800 (PST) 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 References: In-Reply-To: From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Date: Sat, 4 Dec 2021 14:06:33 +0300 Message-ID: Subject: Re: 12.3: igb driver does not receive vlan-tagged packets To: Peter Cc: freebsd-stable Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4J5n2D1gsvz4sq8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N 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 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 >