From nobody Tue Dec 7 10:47:37 2021 X-Original-To: freebsd-net@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 64F9118C4D72 for ; Tue, 7 Dec 2021 10:47:54 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-vk1-xa2d.google.com (mail-vk1-xa2d.google.com [IPv6:2607:f8b0:4864:20::a2d]) (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 4J7cT62Dqzz4f6W for ; Tue, 7 Dec 2021 10:47:54 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: by mail-vk1-xa2d.google.com with SMTP id s17so8951096vka.5 for ; Tue, 07 Dec 2021 02:47:54 -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=/kflEdb1hB96uMhOwoX6gruvPwVnMxMSBq5/apKsSXA=; b=Ym4s68nWSwt8ZSUpvT9HbAjN9ErxH+PUtpwHyUDjZkV7HPYdOw3KOFavG5nlZxy1DV l4VkxUEUO6kufr00+tA8WY/kPfcUg3ZMv/PIUJsgF4hHY79baQDJW8ZBg2XQX4IHgXD8 eyjXuGLUOAofceWFMCMIwHje3KtbAsLFcA2km/E3IHzUCrg0A7WkGnWw9xT/a0olA+Kn HNiMbYi0wWJhmtRARyClAKzoMqQz5hDqtb1COYj45IJqpn6W8iH5qxZHE9Bsy57mU88q 45GSStCnGDrKD5yQANNQGmlHCvzUU4lmyHB44c4oH0VXL+5ODdR33gVzpGIyPvhHcdrj UmuA== 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=/kflEdb1hB96uMhOwoX6gruvPwVnMxMSBq5/apKsSXA=; b=0MP/t44kA0GysXWBDQovSpl2PdwRk1lPP4VT0r+UeNPdNskIizH1CvSpQOBlEjHk6E cGFKJxyQDM26OPBdl83ClJbNFRI2nbYNWVEtHyPc2+B8OcjGtCD3QRYgVdMPWHyueLSh 5tN2rLk8xRHtuxUwBfjNX6vHPEj5qE0hzGwUlRoS5TIaExTecIkVtl2PXM+avmTdPOqr 8AOC50UQlwxhDp4b/VniatF3Uc5duRpXvySKvGue5vCY+PpzEwnaRHx/PMU0Em1jjE06 Qt7qbxZEirKrt/RnDB+x+MOrVf3BvWV4SnjRkr2f7foL5rmwRwFX9FW2l0syL0YYBVoY cf8A== X-Gm-Message-State: AOAM53355hTJvDW/aotNUH2pUyxOe4MibDKW085kKUcdcrQcZKsUXtNt mPh8Wd66BTXcW/W7F5oSR7bFIads3mY4pZq1O98= X-Google-Smtp-Source: ABdhPJwTfKrWDfkZ+rRk2pBDwEa7vcHVIIeP3DMlylba3I595mHbgOPmpW9QsNZ+9XZljWR5nSNFcYfwFNav5+gk2O8= X-Received: by 2002:a1f:18cb:: with SMTP id 194mr50931070vky.16.1638874067914; Tue, 07 Dec 2021 02:47:47 -0800 (PST) List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 References: <20211107105130.2ccbb253@rimwks.local> <0f2883d1-80a6-29e3-46df-ab2b3ea43eaf@plan-b.pwste.edu.pl> <9AD983D7-51ED-4892-9D7F-9F9D60BED485@gmail.com> <57f47c3d-23fc-c33c-8f1f-7e66c6e2c1a6@plan-b.pwste.edu.pl> In-Reply-To: <57f47c3d-23fc-c33c-8f1f-7e66c6e2c1a6@plan-b.pwste.edu.pl> From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Date: Tue, 7 Dec 2021 13:47:37 +0300 Message-ID: Subject: Re: if_vlan allow to set incorrect mtu To: Marek Zarychta Cc: Zhenlei Huang , "freebsd-net@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4J7cT62Dqzz4f6W X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Please see the https://reviews.freebsd.org/D33154, igb driver doesn't honor the interface capabilities like vlanhwtag, vlan* and etc now. If you want, you can apply the patches from D33154 Regards, =C3=96zkan KIRIK On Tue, Dec 7, 2021 at 12:06 PM Marek Zarychta wrote: > > W dniu 7.12.2021 o 10:00, Zhenlei Huang pisze: > >> Can you please disable all vlan hardware offloading features and repea= t the test again? > >> ifconfig igb0 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso -vlanhwcsum > > Disabling the capabilities listed above doesn't solve the issue, but as= signing mtu 8996 to VLAN children does. > > Reproduced on the most recent 13-STABLE (13-n248421-3b936a8c889) while = testing the fix[1] > > > > Try disabling all vlan hardware offloading features in rc.conf. > > > > ifconfig_igb0=3D"mtu 9000 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso = -vlanhwcsum up" > > ifconfig_igb1=3D"mtu 9000 -vlanmtu -vlanhwtag -vlanhwfilter -vlanhwtso = -vlanhwcsum up" > > It doesn't change anything. I am using workaround since the early > transition to 13 branch, but recently conducted small investigation and > finally submitted the PR[1] > > [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260260 > > -- > Marek Zarychta