Subject: Re: [PATCH net-next v4] eth: fbnic: Add support to write TCE TCAM entries

From: Jakub Kicinski <[email-masked]>
Date: Sun, 3 Nov 2024 15:43:48 -0800

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/[email-masked]
> V2: https://lore.kernel.org/netdev/[email-masked]
> V1: https://lore.kernel.org/netdev/[email-masked]
> 
> Signed-off-by: Mohsin Bashir <[email-masked]>
-- 
pw-bot: cr