[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZcHX3dSlTQEpjPsh@mev-dev>
Date: Tue, 6 Feb 2024 07:55:49 +0100
From: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
To: Michael Chan <michael.chan@...adcom.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, andrew.gospodarek@...adcom.com,
pavan.chebbi@...adcom.com
Subject: Re: [PATCH net-next 01/13] bnxt_en: Use firmware provided maximum
filter counts.
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 <pavan.chebbi@...adcom.com>
> Signed-off-by: Michael Chan <michael.chan@...adcom.com>
> ---
> 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 <michal.swiatkowski@...ux.intel.com>
Thanks,
Michal
Powered by blists - more mailing lists