From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5ED2742B735; Thu, 26 Feb 2026 19:54:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772135661; cv=none; b=BQnbO9muxRAKUS0bX0TOZ1ebK0O5I4cHGLfiSOKjpQp6VOAzRdtUmFImxLkvMHGgFBlFg8a7sN4zf++Ra6HHxjCWI2TxS0WLwhNxnUDKCCDsqIRV8DvcZln2hVSUTZshZsM3OB3fKDqM1FrHxWLkJuFhBielMdJAqj/9X6z8uSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772135661; c=relaxed/simple; bh=ra19xZQ3U6KCpnqoVkJJ26X+RkV6l54AxB3o5a/KUT4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KIJ8rxqFHCfGtsr3GQVv7ndv3l+YKddcl9B88CTTupnorGxpVGqIM/szPiumJjAj3l9YrAfZ5S9IiJoNOC4r1VgirZK2xhk2mArreGJEiqgBPC3RUv+OpYqBW2iZtLTkRnKqB2ad5S2M4wgaByeH4xqUBg6Y7Ant5t+de82ToQQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RH0k25i0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RH0k25i0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E70BBC116C6; Thu, 26 Feb 2026 19:54:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772135660; bh=ra19xZQ3U6KCpnqoVkJJ26X+RkV6l54AxB3o5a/KUT4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RH0k25i05AyewiHg+mLoRLkocZqu1CBJgC0LIpVRtwWr98r5m1qlfIj1yrWxqxJ7i D8yrK3WqKNx0xTAiugcdYzxZNjQ4YVn3diFg4jLh9pHf/nekt6Dvhuy/QasfNp7NPd QJbXCi2HnvFWCJujt2lyUvFLIscz68PcFCjuu3sVgf8tN90f9dJkGowGIaHLG+GDIq UUlIT2HVRuXfHYptcuopoGnlIjflhPxPOK6azzYCSbZHfI1NvOAysdc7TSe80bMYvh BxS+u16/ITHxY4ufmvLVnRyBwuXebdPZFLm49lbKFn2dZPo/dIbBLaj4wedYbIVALc SNwDRqKtOhKOA== Date: Thu, 26 Feb 2026 19:54:14 +0000 From: Simon Horman To: Chintan Vankar Cc: Mugunthan V N , Richard Cochran , Stefan Wiehler , Thomas Gleixner , Ingo Molnar , Vishnu Singh , Vignesh Raghavendra , Matthias Schiffer , Vadim Fedorenko , Nishanth Menon , Michael Walle , Roger Quadros , Siddharth Vadapalli , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Andrew Lunn , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net v2] net: ethernet: ti: am65-cpsw-nuss/cpsw-ale: Fix multicast entry handling in ALE table Message-ID: References: <20260224181359.2055322-1-c-vankar@ti.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260224181359.2055322-1-c-vankar@ti.com> On Tue, Feb 24, 2026 at 11:43:59PM +0530, Chintan Vankar wrote: > In the current implementation, flushing multicast entries in MAC mode > incorrectly deletes entries for all ports instead of only the target port, > disrupting multicast traffic on other ports. The cause is adding multicast > entries by setting only host port bit, and not setting the MAC port bits. > > Fix this by setting the MAC port's bit in the port mask while adding the > multicast entry. Also fix the flush logic to preserve the host port bit > during removal of MAC port and free ALE entries when mask contains only > host port. > > Fixes: 5c50a856d550 ("drivers: net: ethernet: cpsw: add multicast address to ALE table") > Signed-off-by: Chintan Vankar > --- > > This patch is based on commit 'd4f687fbbce4' of origin/main branch of > Linux net repo. > > Link to v1: > https://lore.kernel.org/r/20260205070951.3170631-1-c-vankar@ti.com/ > > Changes from v1 to v2: > - Squashed two patches into one as a fix of the older implementation. > - Added "Fixes" tag in the commit. Reviewed-by: Simon Horman ...