Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6294163rwd; Mon, 19 Jun 2023 05:25:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4sAm0qpG9qo4lYDTOhqNlmUvgAsa+lH1zvT+IBVC86+RmWfQ5Y92HcDnWPCAys+uBvrfxP X-Received: by 2002:a05:6870:703:b0:1a6:8fa1:10b3 with SMTP id ea3-20020a056870070300b001a68fa110b3mr8171675oab.6.1687177552937; Mon, 19 Jun 2023 05:25:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687177552; cv=none; d=google.com; s=arc-20160816; b=wpRgvfSYAXWwM320VvAtlCq4NHjSXNHD9uMKogG9NbSJF71HDM0t07VOZKC0/R8nwo 80MxYkN4gO+XRhC6FjLZHwRm706cv46/+UzaswhRuCHADo6T3Wz6SU72zAxvVMugu5l9 ZWRSFll+z3BkYnHDIDYk7/w1R0JUiVUijHC8b5DX/3JoGEwUWP+liqJOdRT0lRkNkIzO YHGWa3KeYlJb3IQCUtStd+anwIE80s+BZ9U3T8Pak1tvczU8REpt5A1PTXEGR2bUASKN q7MyxrAHCSjbzenqa6opLi/JN52qoJ1hdOl26SPD1UuJVpvdjES8+L4O8XFZTKimQjaI 1+7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Up4jJYc04onqJVjn/jduw0AxLdn5KV2b68agsfpNuv0=; b=y98UImPjySqOXh5ddJ4hpMae7t9o6h0qb8CcltGn4R4vG8FXL41+VakJGkqHyXjn9/ n5jymAb7lL0lYatUKkqL+JAZnO4FhNzjUkqoc+GaIBNkxIwttjKDEooFjz4FdEj/S6GN QZEs87MzdZ3PMClKspJxdsyB+Ziqdd3yVA66rrwPYu1ETZ8+INH3MKLhEZYX9QbyFFSY KAsFTQz922s8UySGHLVJ1G/IscUwf1e9CM+/dys1T/GbW3ay6Vc/ZMZBXh3Qzffu0GhV xuSllANfsewW+Ej6rKXryui9hjjASkliH3WcqY7t4IGaDH806dCbDxNU6lvYVsFcQaLo l6Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=WZhfMEOl; 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 y187-20020a638ac4000000b0054fd9e9b862si11502542pgd.232.2023.06.19.05.25.39; Mon, 19 Jun 2023 05:25:52 -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=WZhfMEOl; 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 S230321AbjFSL5G (ORCPT + 99 others); Mon, 19 Jun 2023 07:57:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229916AbjFSL5F (ORCPT ); Mon, 19 Jun 2023 07:57:05 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46FECB3; Mon, 19 Jun 2023 04:57:04 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-987341238aeso386127866b.3; Mon, 19 Jun 2023 04:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687175823; x=1689767823; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=Up4jJYc04onqJVjn/jduw0AxLdn5KV2b68agsfpNuv0=; b=WZhfMEOl6W4eSeONkArOXbFdMsxwAX0hnyfh6JfAdn0t9zqPB2eycMsQhkfbJ5ZlIC ouot1OhvI1zBxDFbitYy7/+PKqJ/gj4X3oltatjV712V6Oeghb5DfPlUnMK+ZZDypqAq sYU6cZvCfd9ULAiY23tmTWsxKUxwmDwpkqB8HK7/4iA86XkWFSxoiynpt89JVcc6fjBe XfLv8N1QJk8NLjDaVK3zidz4oMmxFZWziX+t4L6b+oEW2LqZ35xppflwZsndWd5B43IR 13dA3pBRd0s+GAunRsJ+EgZ8s84ooKBteBvGDlMAPKA5aFxRKYF+zmyY+Wy/18q75PWa Xb7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687175823; x=1689767823; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Up4jJYc04onqJVjn/jduw0AxLdn5KV2b68agsfpNuv0=; b=Wd5CkWVfzENn9siLzfvqX4QpqgiF20HBvqvxDS1N13P/hv/yQDWdRsvp19Jv8DhMTX A+KAb2adB7kMlp4dSTcSfqrAQtUV66nRiNzGQ5PXHYcZSZdlsMhVaJSLuxdHAcvHqAia dO/tFp5o7D62N9TDDIISCQx0v3nis9BfbZmAO0tgvTUzsdKwY+5Pn+OfIahBuzJ9FttO /NBJYo7ZtDtot6JnVcSJjIJqGSMSTo9i99bx3s+ovTi8VgW/0J83WA3P0lN2lj/2n/Vk 2rgT52s94B3/frYqBZ0Scwzz3uk2AnKoPmVzNs2JdvYjSmyB+VEMk897UUZvJYQn+uKG YQtQ== X-Gm-Message-State: AC+VfDzVX+J7ppS+w0fAoDnfUdSL9sr9/UYtpsUHA3+wflsQqIg3SV1g rOJRdL5GSaP+Mp0swGty9Gg= X-Received: by 2002:a17:906:ef0e:b0:978:adad:fe18 with SMTP id f14-20020a170906ef0e00b00978adadfe18mr7848960ejs.21.1687175822554; Mon, 19 Jun 2023 04:57:02 -0700 (PDT) Received: from skbuf ([188.25.159.134]) by smtp.gmail.com with ESMTPSA id r20-20020a1709064d1400b00988a6421831sm1444511eju.93.2023.06.19.04.57.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 04:57:02 -0700 (PDT) Date: Mon, 19 Jun 2023 14:56:59 +0300 From: Vladimir Oltean To: arinc9.unal@gmail.com Cc: =?utf-8?B?QXLEsW7DpyDDnE5BTA==?= , Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , 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 Subject: Re: [PATCH net v6 4/6] net: dsa: mt7530: fix handling of LLDP frames Message-ID: <20230619115659.7dpve4uoodqts4ok@skbuf> References: <20230617062649.28444-1-arinc.unal@arinc9.com> <20230617062649.28444-1-arinc.unal@arinc9.com> <20230617062649.28444-5-arinc.unal@arinc9.com> <20230617062649.28444-5-arinc.unal@arinc9.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230617062649.28444-5-arinc.unal@arinc9.com> <20230617062649.28444-5-arinc.unal@arinc9.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 Sat, Jun 17, 2023 at 09:26:47AM +0300, 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: Vladimir Oltean