From nobody Mon May 16 11:24:09 2022 X-Original-To: bugs@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 C8DDB1AD4521 for ; Mon, 16 May 2022 11:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L1xj54DNDz4Wj6 for ; Mon, 16 May 2022 11:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 718621F2A2 for ; Mon, 16 May 2022 11:24:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24GBO9pi050835 for ; Mon, 16 May 2022 11:24:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24GBO9TI050834 for bugs@FreeBSD.org; Mon, 16 May 2022 11:24:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264014] QinQ not working with a lot of switches Date: Mon, 16 May 2022 11:24:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: i.c.h@will-hier-weg.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652700249; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=odR1hORVChBj+Em7/hF4/lljygwxQknqeU4Hc+/YunE=; b=lOE1ykyb1sV0i4QFu6eEpeLSA2a3UfVXl/IYu1r9boz8iKOkPxTaQMIc8f6Dg6wu823+G9 H/K2gWJAGF4HFg0F76CxkCESwnpKdW9lvSVO6MHcnaDRgLp+HoZmcZ5uu0l7XmjhrvqLad P9KgRGFLcn0koZy4G07RMA0eQs2v43fvtX5mnesWt854Xc4J7qnQ5uXHSvzKOuUEkAe53V imC+sV+NgrrVsoeQzk74BYJs0tp8PDelcpiBBtoJRTbS2spDm2veT78/hb5VykChLMZ3a5 XSqqfh1uyar2r71r1jki68GH/wn9WCg4VgsIhe8e42aP85rJ+qBhFBJ1aVJn2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652700249; a=rsa-sha256; cv=none; b=uWAXhpc+ODWyuH2XtyLNMQZu4ZUbUh8Hq0eR445YMVQbaVmrPvEbpLORakP1n+dv0BznrE ukumohR3LcL2YQkLUMU17AhyeKxp5CAHuRgMu6Yjg6KOQYP60OOwzzhUQEv0SDUdQ4p9mx LqCKCi6t3hvtupIOgYTdAgsfGTfHyeRJf3bQh4qdZ0eh2ZD0rn4XAjl/5pFlP2daX5P7R8 M/bL1f/0r6fJIY+LljzhWEdfprxvxiM9n9dWRwB866P3hLLlVfuXWwF5niuDafruhZ0gMG Hpj/PCbZ5L62UopEZ9jaf6O85R5lYE8/M2L4g9ikbDkUBFz5ok9G/RfJyRF82Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264014 Bug ID: 264014 Summary: QinQ not working with a lot of switches Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: i.c.h@will-hier-weg.de There are a lot of switches on the market with QinQ support, but not all support QinQ according to IEEE 802.1AD. This is because of historical reaso= ns. Before IEEE finished 802.1AD, vendores implemented pre-802.1AD standards, o= ften called 802.1QinQ or something like that.=20 Today, you can still buy modern switches with legacy/proprietary QinQ-implementation. Those use EhterTypes like 0x9100 for example. Some but= not much switches allow to modify the EtherType to 0x88A8 according to 802.1AD= or set the EtherType of QinQ to custom values (for example Dell OS6 allows bot= h). Because FreeBSDs QinQ-implementation only listen to 0x88A8, all switches wi= th legacy/proprietary EhterTypes are incompatible. The good thing is, most of these proprietary implementations only differ in= the EtherType, so if FreeBSD would not only listen to 0x88A8 but also to legacy QinQ-EtherTypes, it would be compatible to such switches as well.=20 As far as i can see, legacy EtherTypes are already listed in head/sys/net/ethernet.h See the following discussion: https://reviews.freebsd.org/D21846 I suggest to support those "legacy"-EtherTypes in FreeBSD. In detail, it would be nice - to change the EtherType per interface to one of those listed head/sys/net/ethernet.h - to define custom EtherTypes per interface, which are not listed in head/sys/net/ethernet.h FYI: I also started a threat about this topic in the FreeBSD community foru= m: https://forums.freebsd.org/threads/which-ethertypes-are-recognized-for-802-= 1ad-qinq.85152/ --=20 You are receiving this mail because: You are the assignee for the bug.=