Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6585239rwd; Mon, 19 Jun 2023 09:13:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7oe/rAMizr5Wyy6nS0AGeizUD0p9p4QCY46JxyMxB6f2WTT+zALfddnnlH/a6jqDUxUcyp X-Received: by 2002:a05:6a20:9144:b0:119:be71:1596 with SMTP id x4-20020a056a20914400b00119be711596mr14552859pzc.13.1687191213129; Mon, 19 Jun 2023 09:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687191213; cv=none; d=google.com; s=arc-20160816; b=oOmsUoijVSarw5Q0LABOpEUpisIJfrgU0Zw1ccxJ7TUdMVPZioy0fgiel0y92UwdZp 5RTQAur9W9+TmkwbFNXV0iAdqoQnZO2gbkJxz4Vteo7Gx0XdolzbcccYp07frnDGQJGH YXZFZWD8c5Z1uHauVRPkNXVvdwdnPJ+026I1hSqFadi5YY7XQUH8JAYkYRcAWVWnlAMy DV7v4t2AeKLEkcNKShdVEISbe7vucd4OY8Dz7knexerMuxPwPPAQJkJFxbw296Od64eb yJinwZf1EtJC+WrUFQSQzsos3Yi/1nV8Asv9CgIBJcnkh4XC9WE4STOgoLwVSG/mfew9 +a1Q== 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=D9AtVjETMMA0uNeWNvxbxAkGopweBCJnF41QlXnhZiE=; b=NGFAoL1yum80Ve2eisX1VblYWxBCWLsUP4508RhpGwUGcVbjJc3VhxQwFriVJpwAvp 1YJ0wP50IcAju12UVWDN7W7UjPYjRYNStKO8VthuK68j0S4OeJPSUJCaJHpgjNZ4jPxq S817DfH8OlOvk5bdmHPkZLBywGVTfdRkdTYLcODNgfSH3IHl7jNY78L9HCeETS5IVAum PsqmEGf6BrhnoPTrYCra//ufycZxJzXeQCfBXXnK7frKvRuCSKnEHLWMB6xraI5iftwk 4LoTwwH33QHO0yBNQKfxbbpZtUft3OZqW17Qmaa4ir9qp7RhNjK6gC0qZ0T7No/5P/Sc WUHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=bmewmS++; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p20-20020a637f54000000b005533d6eb7c9si6419771pgn.284.2023.06.19.09.13.18; Mon, 19 Jun 2023 09:13:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=bmewmS++; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229537AbjFSQEL (ORCPT + 99 others); Mon, 19 Jun 2023 12:04:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229654AbjFSQEK (ORCPT ); Mon, 19 Jun 2023 12:04:10 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5DB81AC; Mon, 19 Jun 2023 09:04:09 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-3f90b8acefeso16707275e9.0; Mon, 19 Jun 2023 09:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687190648; x=1689782648; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=D9AtVjETMMA0uNeWNvxbxAkGopweBCJnF41QlXnhZiE=; b=bmewmS++ipI9v33uzYlWX9qwQ0eIRZOn4GJ+uVkAj7+vKL1gdO+q4eRK9pGG67mXBk aVcza5aBb49TK5e9F+8uv+QJW/nL0vavYTkTy77G8tkgL579xEVveAkCCgY+TR6pAEF5 J0aaOEKQVHJIJ5DlFkfhyI75i1M0ZXMSfJiFsA6UxDAmIXzl/LWFyEOL1BU1HMMbtPna O/cZdB7kICixV0qrZT83J0usjilQIgPYLmA7sLqwRt0PEvBOT84Qeo2IFJiqQsnDT1Tq WVGEm99E+zytkbzm5DB7/IEHoYtHT+4s1XMvrb7d4UjO99lcml7k7ab590aP/OCcxIFZ /o9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687190648; x=1689782648; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=D9AtVjETMMA0uNeWNvxbxAkGopweBCJnF41QlXnhZiE=; b=QTvL2wZ/U4dxL8QEE3Ni2iXxgDklJm9W5PAnbnxLffpDbK22QuIg42DTU1eCzmOPcS yB9poz2Cre+P+tm5p8PxRkOU91TF8EKYTaLEGSyPZZvsMqk8HN8SHVU5K33Le0qPBchL jInEu0OVTRpwFaHU01baVgRBtE+EtNH0DUQejxyyJL4fdNIxxbc1AllxnNkzq/sWVKFW 4auH9qo6C3XshEs4uTV30cELNPtWiiohUY2zxbYp9VwF0Ge4X+5MnZ11/bAls7LrUHVA 5EpXuo7gtV0l7WD5sAFp7g/l7tZwtmaBP7jTxry64fhTjcPT2Wwrpo8A51tXrL4ULmOa uKfQ== X-Gm-Message-State: AC+VfDwePCfL9/p8Ke4G7DmCsPGjZN4OdtTN2NI/oR3yWreoHpp+pneo 4dUQJkxwa7Q6qudqOPeoeKQ= X-Received: by 2002:a05:600c:aca:b0:3f6:4cfc:79cb with SMTP id c10-20020a05600c0aca00b003f64cfc79cbmr7053432wmr.31.1687190648119; Mon, 19 Jun 2023 09:04:08 -0700 (PDT) Received: from [10.178.67.29] ([192.19.248.250]) by smtp.gmail.com with ESMTPSA id t13-20020a1c770d000000b003f91e32b1ebsm4680578wmi.17.2023.06.19.09.04.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Jun 2023 09:04:07 -0700 (PDT) Message-ID: <3889a231-5d26-e12c-748e-9199b37f5bd7@gmail.com> Date: Mon, 19 Jun 2023 17:04:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH net v6 4/6] net: dsa: mt7530: fix handling of LLDP frames Content-Language: en-US To: arinc9.unal@gmail.com, =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= , Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King Cc: Frank Wunderlich , Bartel Eerdekens , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <20230617062649.28444-1-arinc.unal@arinc9.com> <20230617062649.28444-5-arinc.unal@arinc9.com> From: Florian Fainelli In-Reply-To: <20230617062649.28444-5-arinc.unal@arinc9.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/17/2023 7:26 AM, arinc9.unal@gmail.com wrote: > From: Arınç ÜNAL > > LLDP frames are link-local frames, therefore they must be trapped to the > CPU port. Currently, the MT753X switches treat LLDP frames as regular > multicast frames, therefore flooding them to user ports. To fix this, set > LLDP frames to be trapped to the CPU port(s). > > Fixes: b8f126a8d543 ("net-next: dsa: add dsa support for Mediatek MT7530 switch") > Signed-off-by: Arınç ÜNAL Reviewed-by: Florian Fainelli -- Florian