[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240403124044.GJ26556@kernel.org>
Date: Wed, 3 Apr 2024 13:40:44 +0100
From: Simon Horman <horms@...nel.org>
To: Petr Machata <petrm@...dia.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org, Ido Schimmel <idosch@...dia.com>,
Amit Cohen <amcohen@...dia.com>, mlxsw@...dia.com
Subject: Re: [PATCH net-next 14/15] mlxsw: pci: Remove mlxsw_pci_cq_count()
On Tue, Apr 02, 2024 at 03:54:27PM +0200, Petr Machata wrote:
> From: Amit Cohen <amcohen@...dia.com>
>
> Currently, for each interrupt we call mlxsw_pci_cq_count() to determine the
> number of CQs. This call makes additional two function's calls. This can
> be removed by storing this value as part of structure 'mlxsw_pci', as we
> already do for number of SDQs. Remove the function and
> __mlxsw_pci_queue_count() which is now not used and store the value
> instead.
>
> Signed-off-by: Amit Cohen <amcohen@...dia.com>
> Reviewed-by: Ido Schimmel <idosch@...dia.com>
> Signed-off-by: Petr Machata <petrm@...dia.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists