Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4044475pxb; Wed, 13 Oct 2021 19:22:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxb8FqjzchkJtSxLuBAaEZLMqOYCozJHit57CXjmF8QhC7jd8rIIjNV0wDOyMrCajD1jjsX X-Received: by 2002:a05:6402:40d2:: with SMTP id z18mr4650240edb.362.1634178130285; Wed, 13 Oct 2021 19:22:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634178130; cv=none; d=google.com; s=arc-20160816; b=qatOk3F4NFkGXDAcf1uad6+7v+xSkY2iRMJW0TG372cqZXFVUtR0eka5ZxwYwRo4Dp FYPw1sOTZ0A6JvYHEuVV4qBvG/zDQbG0WB7OpsvP8atHlDt6aaIKPomCTH6B9EjFLsi+ MXaMM+JdNjfMa9At7Dpmm5CVgp+fH1vzfX8T5okOMLY0W1FN/XLk6n4WeQnGpUyhRQBm NUk+rUCYgGRAfXcxI5IIerKY5ZM7gmTHOeJMjU8cl+c5CLOw8Fuj7qYxuRjpOhxN4sXh /9zgRJFPPJvPCp1Ak7DLYSLKsmcxNw/AZ6lEebXJuEkdQacUvaBbtMYyhIln2JhUErhS pI6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xYsQ8sB/qKBKDNBS6QDOxoGAScTd8v2OU7Cyj2b6JzE=; b=TSoSlJF2CFIQ7fOZlM0ixLSLh7zqwbkV4VYZauzVkZQgxmox9dD/1jVxXsBQybqgq9 chCpM7baryRM+13NiTyROb3VwT136f2owpUpOh7tLCMiQ1EHxqe4N/fbi9exOFxchh6b IQlU0YxcCwQ7xvLzzIMfRC40Z/UmI2AoqaHNqB0bVNpi9zqgp5gN+AA/cpaIzeE3aLkQ v9+Kx3KIXEwuFdKIuLluP9uVEFfKJOpLngBKTUvACSMpmEtRQc0PQplc7GpvWh5PNfRZ ESuKEQGY2DSP2od4IO8crN+J8S3Kv+moJ9dDGR1x2cUhYTjK0Hqd2bbQRqjf9MFBmdx/ YOJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dYPiXmjP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v24si1932451ejc.441.2021.10.13.19.21.46; Wed, 13 Oct 2021 19:22:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dYPiXmjP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbhJNCTZ (ORCPT + 99 others); Wed, 13 Oct 2021 22:19:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbhJNCTY (ORCPT ); Wed, 13 Oct 2021 22:19:24 -0400 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4B71C061570; Wed, 13 Oct 2021 19:17:20 -0700 (PDT) Received: by mail-qt1-x82e.google.com with SMTP id t16so4527474qto.5; Wed, 13 Oct 2021 19:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=xYsQ8sB/qKBKDNBS6QDOxoGAScTd8v2OU7Cyj2b6JzE=; b=dYPiXmjPj2pvB8G5qKs+7zAHyYOeXYc7E0LOZ5f460icm2MkKEWKcnu/BwPr91yw8O cjQjhCXQuJ9TQtDGSGODEapUVVhwtD7T2LbMnEUarwPA9Q8pzoVmrokipyBpqLJJZQxa gF5P2pUmlrkwpIJ94lhG+Q5nz2U+/vfUREyOjEM4SbCzxQZfwaIRmnvbHzfei1cgT16U VcoGoc+rg0y7IOa0KPUi9QFH7gJj1hrBzi4chyqZArofMd7ZYIXXSFaA0kQ1m1nXkZXR TkLS/kef/sW/lgQnx+U6lT3uJpOMJerGbdGpNj/u+TxPTdVhG1fSYXuuk2TjdSZ73OFD GpcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=xYsQ8sB/qKBKDNBS6QDOxoGAScTd8v2OU7Cyj2b6JzE=; b=VlrtAygmzyileKrZZlt8xHfCG2iNdW1ecEVL9AfCSgchvUoakb7Dux9Bfb4CXWOc2O IArtSiw1TPsVvuaeCTG+uyB6lhnG9OHiQ3NH2rkt10hY+Pnk3exiRlQoePB+2JZLS1GH 6osbMXBCkX1HDhzzhN89tQUrG/Tv47lW4ZQbFVZm0PWtLAbVHiPoqlyGaBbC3hk6vXYc C5HiltwFggaQcJgY8TSh2NLc2iOX0KIksUzsuNWBEXSbcVCxjDtdTz0paPa/c6EpTOWt nGJi+RMoBOSsbI+Wwq2ymbltgMuljZ6rWxH2xajDSvolXW2xDqQCINl7J4ySv4Idpa08 0wHg== X-Gm-Message-State: AOAM533VbPurOSEkDapvSDWNmyrVfTyt4wAdP+/5OFG8PUe05N07zDXv uIm1ePdw00bK2x6miZHEnlsxkgPTJS8u2g== X-Received: by 2002:a05:622a:1c8:: with SMTP id t8mr3481985qtw.72.1634177839467; Wed, 13 Oct 2021 19:17:19 -0700 (PDT) Received: from ?IPV6:2600:1700:dfe0:49f0:c875:f7ef:73a9:7098? ([2600:1700:dfe0:49f0:c875:f7ef:73a9:7098]) by smtp.gmail.com with ESMTPSA id t9sm1019763qtx.47.2021.10.13.19.17.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Oct 2021 19:17:18 -0700 (PDT) Message-ID: Date: Wed, 13 Oct 2021 19:17:16 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH v2 net-next 1/6] ether: add EtherType for proprietary Realtek protocols Content-Language: en-US To: =?UTF-8?Q?Alvin_=c5=a0ipraga?= , Linus Walleij , Andrew Lunn , Vivien Didelot , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Rob Herring , Heiner Kallweit , Russell King Cc: =?UTF-8?Q?Alvin_=c5=a0ipraga?= , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20211013145040.886956-1-alvin@pqrs.dk> <20211013145040.886956-2-alvin@pqrs.dk> From: Florian Fainelli In-Reply-To: <20211013145040.886956-2-alvin@pqrs.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/13/2021 7:50 AM, Alvin Šipraga wrote: > From: Alvin Šipraga > > Add a new EtherType ETH_P_REALTEK to the if_ether.h uapi header. The > EtherType 0x8899 is used in a number of different protocols from Realtek > Semiconductor Corp [1], so no general assumptions should be made when > trying to decode such packets. Observed protocols include: > > 0x1 - Realtek Remote Control protocol [2] > 0x2 - Echo protocol [2] > 0x3 - Loop detection protocol [2] > 0x4 - RTL8365MB 4- and 8-byte switch CPU tag protocols [3] > 0x9 - RTL8306 switch CPU tag protocol [4] > 0xA - RTL8366RB switch CPU tag protocol [4] > > [1] https://lore.kernel.org/netdev/CACRpkdYQthFgjwVzHyK3DeYUOdcYyWmdjDPG=Rf9B3VrJ12Rzg@mail.gmail.com/ > [2] https://www.wireshark.org/lists/ethereal-dev/200409/msg00090.html > [3] https://lore.kernel.org/netdev/20210822193145.1312668-4-alvin@pqrs.dk/ > [4] https://lore.kernel.org/netdev/20200708122537.1341307-2-linus.walleij@linaro.org/ > > Suggested-by: Andrew Lunn > Signed-off-by: Alvin Šipraga > Reviewed-by: Vladimir Oltean Reviewed-by: Florian Fainelli -- Florian