Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp7182243pxv; Fri, 30 Jul 2021 12:03:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUfE8p0B5cihwaG2wMtwteLRgBv6Nv9YEJHH76ngpfcoFFHhYmzT+akdXYKRXPB+RkiWqZ X-Received: by 2002:a05:6e02:154b:: with SMTP id j11mr2882284ilu.96.1627671790576; Fri, 30 Jul 2021 12:03:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627671790; cv=none; d=google.com; s=arc-20160816; b=VsSDZq4ru5AzhQLFuLrJWo/LIf8UPeAgmcWzKXpoWmqmUkyLZyu77XhxAUcMyo07mo IkAc5awqE2smAsbqYbAe3v/7sfFFcuU/PQeZocaqTnxr4CZGm2OgXgtgoI7YB3buYQ5b UU0uPiXeqsfHKlRgXvYZ6ArxyQvB8Q6xUBaejIATFEdQptRPHdU+YSg4DtZvBLeyGiFj Sak/ERL5EM8SSga8ZWKphI7qvmb3nwD11u6ePGuVB7HuQTyKEtGouryzSVbVeA9hUrFV p2Vuu5FzuBv1QokCFTiJgv9rsTcmWgDDh9e6mv4LSeiVHI6xlljuTqj9tEFt1SwIotW4 IpDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LW9Axg6PO2+fAhkVIielz/2kuUe/8kVjL2M0TRJoppw=; b=QrKNvlvetlTZ9wisAAqdWS6YnN8XmeQhZmDrZSMaYC79FqoH05RlgEJ3IoXiBFRCpv G3bLseHKwPe3FLUzy0BnOgiNbDB+WctY5qdpSlifAojY3Oy+z9U910Y+5A6bbS3Yyu4s CGCexlgNuIbVq/BxlXZSgqfu19FupnAlC4Im0PDyh5GWwMhH6XRODs61HNRhOx82mwK8 1/d5Gvdox13g+yftDTGHwMfBQmWTv3xjWQkZkQho5r8igiDlrwiC9Qf1RogeR0fe7aD4 kxqYITnLy/MiH//EptwX0ZKbRtk0mb29kUiDunDnmmkDRJQbAS6PiGJj0EtE+lqTxaWP DoiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=h7Wff98s; 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 v19si2785702jat.76.2021.07.30.12.02.54; Fri, 30 Jul 2021 12:03: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=20161025 header.b=h7Wff98s; 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 S231140AbhG3TAo (ORCPT + 99 others); Fri, 30 Jul 2021 15:00:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230428AbhG3TAe (ORCPT ); Fri, 30 Jul 2021 15:00:34 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 125EFC061765; Fri, 30 Jul 2021 12:00:30 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id y200so12670291iof.1; Fri, 30 Jul 2021 12:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-disposition:content-transfer-encoding; bh=LW9Axg6PO2+fAhkVIielz/2kuUe/8kVjL2M0TRJoppw=; b=h7Wff98sS/D3hYcTAQd9yf/JkVaCdiSHAqFI7XGUFgQn0PsjpPMP6lFqvGDPX+GUx3 tV9rgybUcmKNS1+Im0jIqkUUZsfNKGKTQ9Pb1udvrIdAP6k6wAoZCXF40YOIkDtxRhnJ AcyCyYuqEonB/Xfe/i7796npkV50tMNLbPEuN2K2R7BRrMSb3HKS66QYfe/tiQI46E6C lS68qjy8vANHhH47BAiRcX72HhDn1oMpfDzGuvAQanZ8ihb7Rl9U6msuPixBqOuGjzX2 AkKBNhokvZ0rrRJIdp64lpJBKSOkgqX+dC6osTkB7mTvi+XVJduQNDWM3MCeCylnLCsV bOwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-disposition :content-transfer-encoding; bh=LW9Axg6PO2+fAhkVIielz/2kuUe/8kVjL2M0TRJoppw=; b=RgpGXTsXiDtzxJGu8sS3bCuA3w8+hHbZ6AVBiyofu6JRK0YC+4Qi+Y5uvkw/Bn5SHm 6GXWPC+u+Ybc4My/AWULrEyz8bURIhrNYOaA56XQkbQPpxaHNfWYbMI8ZNfFNyOfSMQu UFrnrwOQmWWkqZ8LoPPXeFoeiJre6ITHkufandggp+lGkE7LdzgqM8IBWoMkbvVCsFJJ nz4XCPZwzLP+g1ixDwT4K1l4TjbAk2Q5A0eSBkfDSjDsWXasDaEgGx9EQ1EkhF0JyZQl UGglzE2I8GCXmW0B9st4Z6UQe1GhG0Y/KzFoItSJDjJBAriLhPF+3U35CqG9dlgPaMN4 t7Gw== X-Gm-Message-State: AOAM532F256D24kTGQ99Uo0hXskc1jvSIxm66fHCZSRWu35nCt3evWyE kD+eXC3HUbD0ZqfWLf/ye34= X-Received: by 2002:a05:6602:2d10:: with SMTP id c16mr2254956iow.40.1627671629552; Fri, 30 Jul 2021 12:00:29 -0700 (PDT) Received: from haswell-ubuntu20.lan ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id x4sm1336069ilj.52.2021.07.30.12.00.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jul 2021 12:00:28 -0700 (PDT) From: DENG Qingfang To: Vladimir Oltean Cc: Sean Wang , Landen Chao , Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Jakub Kicinski , Matthias Brugger , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RFC net-next 1/2] net: dsa: tag_mtk: skip address learning on transmit to standalone ports Date: Sat, 31 Jul 2021 03:00:20 +0800 Message-Id: <20210730190020.638409-1-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210730162403.p2dnwvwwgsxttomg@skbuf> References: <20210728175327.1150120-1-dqfext@gmail.com> <20210728175327.1150120-2-dqfext@gmail.com> <20210728183705.4gea64qlbe64kkpl@skbuf> <20210730162403.p2dnwvwwgsxttomg@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 30, 2021 at 07:24:03PM +0300, Vladimir Oltean wrote: > Considering that you also have the option of setting > ds->assisted_learning_on_cpu_port = true and this will have less false > positives, what are the reasons why you did not choose that approach? After enabling it, I noticed .port_fdb_{add,del} are called with VID=0 (which it does not use now) unless I turn on VLAN filtering. Is that normal?