Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3003427pxa; Tue, 25 Aug 2020 08:54:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5b+OdQtn9642wcqGsFGCMsOlW88i/B8yiEMB4ktVLiq037FBd3oPqjBWmMR/w5N2lm1aA X-Received: by 2002:a05:6402:1016:: with SMTP id c22mr11257253edu.89.1598370876241; Tue, 25 Aug 2020 08:54:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598370876; cv=none; d=google.com; s=arc-20160816; b=wy7X/zEVAV2RuZkUOchvf7qrFv1TDsfJ3KRpab9nksLyWIdXPTExPYpTOW0Mb2/bfJ 1ZQlGajWJWiiDD8MTNDkr16kV1BUhreMSEuXkVxTNjqvzPKfdL5X0UjwJEHyLpK3aIyd 7yjXe9RPAi7tcpnFBtOi4/k8FMmrG3RF9lg5u3BNyezk1rrc2XOJ5XFpLd7N4XjVoJBm AqacyMa51ILe2HvWrqSLasT3RIrFx9dhzKD8F+/VUHXuupm6Ukco03i2ivEWG0ap01dI uGngyLHIDW693gigy6VHeQy8VlN5L+N0OBr5j+Tr4JyX2ukW1JTKSi0eLpaZ1wzfoxz1 AYrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=cXV7T5xRQOKOI9cr1dm9JGAXnHTZKkxwgSgzZi8uzx0=; b=byElVVljKWJ1xhCZEG6h1kLn1izwnD1X4jGDkAFyYWjtjueHDR/gz8Bta0Tzz0ZT+3 9IRmdw21lRhxQMHjtKums6muneV/XoY7EJwloqOR9BiiJnZxbzYHXJSsw47Lqgc3Y2ty S4kQ2ZcSMGSC0DaeJBgp8QCpx3qsRf7BkB9P/waTBKMoSgEcSdq0kFCL68n6zw/qnUoK LgR+cMLLNm00bLR7M9scstQmKOsdSxV3RIRYUzUDm3bvl/xmIgInnvNKfdVeWXvKiGaK EtkVmF+FfSDuPvDs1EW9T8xt5vUcu2wl3PbTgUm8pAJUJcEMTfSqL4+jiYFfff7A66A9 s7mA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c3si9421309ejm.314.2020.08.25.08.54.12; Tue, 25 Aug 2020 08:54:36 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727001AbgHYPvL (ORCPT + 99 others); Tue, 25 Aug 2020 11:51:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726988AbgHYPvG (ORCPT ); Tue, 25 Aug 2020 11:51:06 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BCB0C061574; Tue, 25 Aug 2020 08:51:06 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 54D9F1344473D; Tue, 25 Aug 2020 08:34:19 -0700 (PDT) Date: Tue, 25 Aug 2020 08:51:05 -0700 (PDT) Message-Id: <20200825.085105.471804029075197026.davem@davemloft.net> To: m-karicheri2@ti.com Cc: kuba@kernel.org, grygorii.strashko@ti.com, nsekhar@ti.com, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net v3 PATCH 2/2] net: ethernet: ti: cpsw_new: fix clean up of vlan mc entries for host port From: David Miller In-Reply-To: <20200824151053.18449-2-m-karicheri2@ti.com> References: <20200824151053.18449-1-m-karicheri2@ti.com> <20200824151053.18449-2-m-karicheri2@ti.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 25 Aug 2020 08:34:19 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Murali Karicheri Date: Mon, 24 Aug 2020 11:10:53 -0400 > To flush the vid + mc entries from ALE, which is required when a VLAN > interface is removed, driver needs to call cpsw_ale_flush_multicast() > with ALE_PORT_HOST for port mask as these entries are added only for > host port. Without this, these entries remain in the ALE table even > after removing the VLAN interface. cpsw_ale_flush_multicast() calls > cpsw_ale_flush_mcast which expects a port mask to do the job. > > Fixes: ed3525eda4c4 ("net: ethernet: ti: introduce cpsw switchdev based driver part 1 - dual-emac") > Signed-off-by: Murali Karicheri Applied and queued up for -stable.