From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 593F63570D6 for ; Wed, 14 Jan 2026 23:06:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768431978; cv=none; b=UZOMSv7HbtJVH+0Y3myezHb4zmLq8CDPHPjo3bquBlj0WYwx33NA0TH5XfYV/BU/Z1RRissRV4EWLFyUou6Ns3Hju9gTbxkEejq0olhFQ+ZbrUlx3J/krSJfTj66K6rEVbGktj9WhT+SZR5e+Tu43BP774n/ExR1+6sRAHBtXdc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768431978; c=relaxed/simple; bh=yXyXXMkGXgX/+j8OXbBzs7zSFMrvi0JAqRQZRSKvjmE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sNRrzG+2XQ22dRvgIG3c9uFJqUnF5Y8Y8auYZHllAS8aLSxNhGgCy7scajT6aGyue+dn+Z4xTpFICcgHWn/5oicOeVUsLGDtmFVdXrG4+DwWtUoSnqRs/ubVZ8DnZZc5MfZ5VAqiMPrSvj46vD+yEWCZDOyNyhvr678Bv10L3l0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PpXkHHlw; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PpXkHHlw" Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-b87266fdf56so6078066b.2 for ; Wed, 14 Jan 2026 15:06:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768431973; x=1769036773; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HYlvGQ0gpZ80d7V+/NVQkDzV9DkFwwQ8dyp8b917UHg=; b=PpXkHHlw0+xGGLzcizu6LkVnl+g1mzOWTe7iN9pLCTIGNkaVpn5ytJZrV2S9KLtiqK Y4s0TzGHcCb9mqp/Qowa7D/wiyL4jOgXRgZ4IeWpHhDRMn6HE12zcxrqvx8XB8DSedGv FSCPbyBpDDEfmrihVEjP6nrMf4hA+KkGprW8i3B0c6tVgkMBJhmEb4mTpv6QDwp72OEK CyDqhAbdjzB2KZNsYaI4TRH/omKjRQKQgOVA+zGQs4BbWlelHWbBDoFT1iih5zp1/8UP Wn08g8waBoJYqqvrybgAeaqwNEqj1g9R9imGwF/JQMkno/TKZzhMUV13nraFb/Sa/ac1 GDZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768431973; x=1769036773; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HYlvGQ0gpZ80d7V+/NVQkDzV9DkFwwQ8dyp8b917UHg=; b=pgUKpMvmYCjJnfdj7narvDJwoCrdXJU7lo7V8gsUa9Gf8GeT5+zHyjStzW7za/70My tgVvPLokZRbwW4crAbyl6xUhXsN1A8SpCgSEQzhhfVmfqzkCIsid8qJUWGUWDDAp16YV e9OkITfU7H123GCm3Z3l36JMSXSZajMgvVrsgaJySLKWoJoMdUZ0FjxhY/aK0Xig4LJ7 Ql9SedOfA4N92ZDVg7yiH15EiWZCHWOLGWqfBup8gGjvROKlbwK8TkhByDo9BkFsHh+k iD6bHXZXXxAuBfTjG8MhnWI0LyGW2VKHGaQrlOp3rj7ZjwoIGRWh8t8gUNMSXB2KLJkS wAgQ== X-Forwarded-Encrypted: i=1; AJvYcCVWumw8ZesD+D+Wv3gBstixa5nL1w6kagm8VN/+3DX/aD+g7oLxpwGmD9dUL1lvI8OhSSvvwFk=@vger.kernel.org X-Gm-Message-State: AOJu0Yx28iSWv+/drpqiWfVftFJcGVLiuDaZk4vmVJDg2vV1UcZ08+fL +4W021v+DpCrZfLv2r0b85dHx/wauBAMeaniRzMVRFCsbVa3BgEkgYkh X-Gm-Gg: AY/fxX7XdosXmb3EFpE0v100NM5BipawlQMrq5yNKEfTDUpM9Y56/vpyiiv2i4rwvyg MTf84ZSnSf6KDlPMGpsMCsILXS+7++VsorlhyLSFABjK+VgROwYE8GMPP4yMVvSFyH1xcvF/iL/ 1gM0ZFN5qy3tfFDJuKDRpiOOSs5rOpdPiquc4gZQ7LG20v/2t/gbhNviKu68mtBZ6sj1Lsvd4cJ P1wlkgheoWuN1rhI08FnboXT3wmKaDqp6lMRY19YCbPOXJS68P+pYEDwffwopfENq9SkceYwZeB uFxjQ77YocgmRi8pBwmuPzgFaAUWiGQhVD+l81KBpuIGFW5m74LKhpsFQ/OlRZEounwfzzIP+59 49CvAoOExBP3rRvkbrE1vtWeMV+nJ/ZlsZxne6mSUdGm1pnPS/Aj8kfIt4RWgq5+TS1nBFIH46F cXgA== X-Received: by 2002:a17:907:1c25:b0:b87:1eaf:3762 with SMTP id a640c23a62f3a-b87615a948bmr202658366b.7.1768431972629; Wed, 14 Jan 2026 15:06:12 -0800 (PST) Received: from skbuf ([2a02:2f04:d703:5400:d5b0:b41:b5b3:8c4d]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b842a27c0casm2615825266b.19.2026.01.14.15.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jan 2026 15:06:11 -0800 (PST) Date: Thu, 15 Jan 2026 01:06:08 +0200 From: Vladimir Oltean To: Daniel Golle Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiner Kallweit , Russell King , Simon Horman , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Frank Wunderlich , Chad Monroe , Cezary Wilmanski , Avinash Jayaraman , Bing tao Xu , Liang Xu , Juraj Povazanec , "Fanni (Fang-Yi) Chan" , "Benny (Ying-Tsan) Weng" , "Livia M. Rosu" , John Crispin Subject: Re: [PATCH RFC net-next v3 2/4] net: dsa: add tag formats for MxL862xx switches Message-ID: <20260114230608.qoojzz332jubiaqg@skbuf> References: <20251216203935.z5ss4sxbt6xc2444@skbuf> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jan 06, 2026 at 02:57:56AM +0000, Daniel Golle wrote: > On Tue, Dec 16, 2025 at 10:39:35PM +0200, Vladimir Oltean wrote: > > On Mon, Dec 15, 2025 at 12:11:43AM +0000, Daniel Golle wrote: > > > the actual tag format differs significantly, hence we need a dedicated > > > tag driver for that. > > > > Reusing the same EtherType for two different DSA tagging protocols is > > very bad news, possibly with implications also for libpcap. Is the > > EtherType configurable in the MXL862xx family? > > Only the egress EtherType can be configured, there is currently no way > to configure the ingress EtherType the switch expects to receive on > special-tag packets on the CPU port. MaxLinear, however, said they could > in theory release a new firmware changing the EtherType to any suggested > value, but it would be incompatible with existing downstream drivers in > the field, obviously. Sorry for the late response. I don't think it is a deal breaker. For all I know so far, we can probably live with the same EtherType being used for multiple protocols, and the distinction is made by the /sys/class/net/eth0/dsa/tagging string.