[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241103154348.792b663e@kernel.org>
Date: Sun, 3 Nov 2024 15:43:48 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Mohsin Bashir <mohsin.bashr@...il.com>
Cc: netdev@...r.kernel.org, alexanderduyck@...com, andrew@...n.ch,
andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, kernel-team@...a.com, sanmanpradhan@...a.com,
sdf@...ichev.me, vadim.fedorenko@...ux.dev, horms@...nel.org,
jdamato@...tly.com
Subject: Re: [PATCH net-next v4] eth: fbnic: Add support to write TCE TCAM
entries
On Fri, 1 Nov 2024 13:41:16 -0700 Mohsin Bashir wrote:
> Add support to redirect host-to-BMC traffic by writing MACDA entries
> from the RPC (RX Parser and Classifier) to TCE-TCAM. The TCE TCAM is a
> small L2 destination TCAM which is placed at the end of the TX path (TCE).
>
> Unlike other NICs, where BMC diversion is typically handled by firmware,
> for fbnic, firmware does not touch anything related to the host; hence,
> the host uses TCE TCAM to divert BMC traffic.
>
> Currently, we lack metadata to track where addresses have been written
> in the TCAM, except for the last entry written. To address this issue,
> we start at the opposite end of the table in each pass, so that adding
> or deleting entries does not affect the availability of all entries,
> assuming there is no significant reordering of entries.
> ---
--- will cut off the commit message when applying.
Your sign off has to be above it.
Please try to follow the mailing list to get a better grasp of
the basics.
> Changes in V4:
> - Update the commit message to clearly specify the role of TCE TCAM in
> fbnic
> - Revert iterator related changes made in V3 back to V2, including
> iterator type and place of declaration
>
> V3: https://lore.kernel.org/netdev/20241025225910.30187-1-mohsin.bashr@gmail.com
> V2: https://lore.kernel.org/netdev/20241024223135.310733-1-mohsin.bashr@gmail.com
> V1: https://lore.kernel.org/netdev/20241021185544.713305-1-mohsin.bashr@gmail.com
>
> Signed-off-by: Mohsin Bashir <mohsin.bashr@...il.com>
--
pw-bot: cr
Powered by blists - more mailing lists