Subject: Re: [PATCH net-next 01/13] bnxt_en: Use firmware provided maximum filter counts.

From: Michal Swiatkowski <[email-masked]>
Date: Tue, 6 Feb 2024 07:55:49 +0100

On Mon, Feb 05, 2024 at 02:31:50PM -0800, Michael Chan wrote:
> While individual filter structures are allocated as needed, there is an
> array to keep track of the software filter IDs that we allocate ahead
> of time.  Rather than relying on a fixed maximum filter count to
> allocate this array, get the maximum from the firmware when available.
> 
> Move these filter related maximum counts queried from the firmware to the
> bnxt_hw_resc struct.  If the firmware is not providing these maximum
> counts, fall back to the hard-coded constant.
> 
> Reviewed-by: Pavan Chebbi <[email-masked]>
> Signed-off-by: Michael Chan <[email-masked]>
> ---
>  drivers/net/ethernet/broadcom/bnxt/bnxt.c     | 26 ++++++++++++-------
>  drivers/net/ethernet/broadcom/bnxt/bnxt.h     | 13 +++++-----
>  .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c |  4 +--
>  3 files changed, 26 insertions(+), 17 deletions(-)
> 

[...]
Reviewed-by: Michal Swiatkowski <[email-masked]>

Thanks,
Michal