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 013803D648C; Wed, 18 Mar 2026 19:10:47 +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=1773861048; cv=none; b=gUnDPa0MAuSkLleaM0cWRj/kDWyZysVn/Bc6ZvoK9wB/r8j0u7M2fh9dgEJHJnZhMM4wsLgZId6ht2ngkOai8wF2uAZVxdQgmts3T7xiyXTgPHljqXiSTGcyNHG+qJwr3rK0z5iiK5+/9BKJ/20p6sZi3rGdBmc/xcvctyaOPRc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773861048; c=relaxed/simple; bh=vF85Ld0H6v3LbIAsot0GTMPeWPK6vbEVmdTJ6kKOmOE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aGxP2HBN93wyFuGdlJY03NpaZrDp9aCCp/zqruLQ/3SP4Uw7LmXwatmbWvX7aNEPhVrXryhYR+qbP4VQiZvAU/tcZm4XPbtX3xH0HaoxwB9i+a84wuJ5G/QzllLLPVFOt843FW+SQZg/6B2NffS2e/YAadi9o7ORElHpZZaU7dc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mQ/IanJ4; 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="mQ/IanJ4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39C38C19421; Wed, 18 Mar 2026 19:10:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773861047; bh=vF85Ld0H6v3LbIAsot0GTMPeWPK6vbEVmdTJ6kKOmOE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mQ/IanJ4j3o4pZIhiIO5nts3zfsvyUQq9H3+Y+jpQG8mLEb3ylcLGVNC9QXb8eBnd GMZzg9ZUq/dq36gkarg89AjRYzKl99ASpFPEBx5XdZW4vmD88eXiZkCy78bxLxn9AQ i+3fXi4IycLKH7iKtpQMU78bnuHADyRkLZkF4OjmLGy2yV5dWgrf7CKLm1wBmV600C EUh/LpIQuX3AKaVvMD9OIR5z2ZAeT0IBLYNc8Ku2XMwE85azK5eKOWHL15poVlY/lG 1vDlTSztWyXKYipWdtM1S7sPInO4iAz1cL5rL9XiHPdIMDgr5jClwKU35y/bMD/WnR k4rBsXSMD1Uiw== Date: Wed, 18 Mar 2026 12:10:37 -0700 From: Saeed Mahameed To: Jakub Kicinski Cc: Tariq Toukan , Eric Dumazet , Paolo Abeni , Andrew Lunn , "David S. Miller" , Saeed Mahameed , Mark Bloch , Leon Romanovsky , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Gal Pressman , Moshe Shemesh , Dragos Tatulea Subject: Re: [PATCH net-next] net/mlx5e: Enable mac forwarding on uplink representor Message-ID: References: <20260310104841.1862380-1-tariqt@nvidia.com> <20260311203319.76d35ce0@kernel.org> <20260317143653.0eaa50a1@kernel.org> 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; format=flowed Content-Disposition: inline In-Reply-To: <20260317143653.0eaa50a1@kernel.org> On 17 Mar 14:36, Jakub Kicinski wrote: >On Tue, 17 Mar 2026 11:12:15 -0700 Saeed Mahameed wrote: >> On 11 Mar 20:33, Jakub Kicinski wrote: >> >On Tue, 10 Mar 2026 12:48:41 +0200 Tariq Toukan wrote: >> >> This small patch enables mac forwarding to MPFs via uplink representor, >> > >> >"mac forwarding to MPF via uplink representor" >> >Can't wrap my head around this "via". Could you explain this better? >> >Perhaps some tool can spit out a little diagram to make the flow clear? >> > >> >> Mac forwarding in the sense of linux bridge mac forwarding mechanism which >> requires set_rx_mode ndo to be implemented. >> >> Linux-bridge --> mlx5-uplink-rep --> set_rx_mode --> set up mac in HW. > >And the actual forwarding happens in SW bridge? This is just to >configure the Rx filter not to discard on Rx? Yes Forwarding happens on the SW bridge, just to register the mac so it won't get dropped.