From nobody Sun Dec 12 11:24:28 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 B437A18CA3C8 for ; Sun, 12 Dec 2021 11:24:39 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-ua1-x929.google.com (mail-ua1-x929.google.com [IPv6:2607:f8b0:4864:20::929]) (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 4JBj3C4Yz8z4SrD for ; Sun, 12 Dec 2021 11:24:39 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: by mail-ua1-x929.google.com with SMTP id n6so24539656uak.1 for ; Sun, 12 Dec 2021 03:24:39 -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:content-transfer-encoding; bh=HQY6ZQrBqQ1KafKziD69fiQyKN/OdLv8NMURKG47dF4=; b=DLjNHOgZBR4C6fFdN6uXS8ObaF9mjyBpYV6VOSjjcaxEUsAHzw4q3yonb+1KWD7CQ4 9cHxD6hbOPPeuU69VraxNLCA81jYtqaKcw48QRjFVd1XK6UgXAyDqww92GC+5OBvGJam ZGNtg7oLxsHCofNOj028SZLfDp+KqBH7wEaSaJP+FzujoRXAVsDXTWvc17LKDg4BsVDe CDMvKwM8GJbnUbVTZNZn9OhDiGBfNtMnyYFrHqah3K6wGk9OssepYLeBsouALAv8T8S8 QKdnXXyXA2yYuWk0iY02S4PNp5bA/tzx6P0rlzqwe5XOhfWlIamiWWbOC5qFDFegMW+j f75Q== 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:content-transfer-encoding; bh=HQY6ZQrBqQ1KafKziD69fiQyKN/OdLv8NMURKG47dF4=; b=LrGEjC7qbYALLAX/MGfT74iXXWD30J2xiXAgdpQk1SM/iZDNUIKZ4sNgGLSoI5qm8C xAxHs3JXR6MVvA6TQR87CbvCF8pF/vGkXUmKnMGxYwiJWa+yioLcaKJlvXKdSpR3IGvV 5iieQrXnoxKXMPuHtbGSGG6i27EmxFlusfOKMiw94hVbFA2Fd09pIyhZFwdJb1tL0pJX N4In+VmImN569Dt5Uk9qrtRda+mWqbBngmlfHQqZotThgdAgbEV9CwmwOEn1Yc0IOmoi mUdVN09eceasvOWpwKCLS3zPVY/2GiX52ARyuvDVLvKCbDJPr1yxj+gYNbmkhnGe5oy2 VdYA== X-Gm-Message-State: AOAM532uUTB9rWu7DCDborF9z09ZwCCueERtxT0sZOl36r6IB83Y5TeT EfarOG0SUgYxKOtgQ3M1SW6kxYitMiDCcXNayewlzOHM X-Google-Smtp-Source: ABdhPJwbET/c4v5mIlr2hjaoXWCagSohJ3cNY/915qImr7FGJBsEuixgVzSFazRwNKssttrIyIMaogCCzxQqqUWXs9E= X-Received: by 2002:a05:6102:548f:: with SMTP id bk15mr22012202vsb.31.1639308279077; Sun, 12 Dec 2021 03:24:39 -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: Sun, 12 Dec 2021 14:24:28 +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" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4JBj3C4Yz8z4SrD 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 I'm glad to hear good news from you. On Sun, Dec 12, 2021 at 2:09 PM Peter wrote: > > Hi =C3=96zkan, > > 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, =C3=96zkan 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=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. > ! > ! regards > ! Ozkan > ! > ! On Sat, Dec 4, 2021 at 1:54 PM Peter wrot= e: > ! > > ! > 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 wor= k > ! > 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 > ! > > > -- > Peter Much * Fichtenstr. 28 * 65527 Niedernhausen > home +49-6127-967111 * road +49-151-21416768