[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240502100521.GH2821784@kernel.org>
Date: Thu, 2 May 2024 11:05:21 +0100
From: Simon Horman <horms@...nel.org>
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,
Kalesh AP <kalesh-anakkur.purayil@...adcom.com>,
Selvin Thyparampil Xavier <selvin.xavier@...adcom.com>,
Vikas Gupta <vikas.gupta@...adcom.com>,
Pavan Chebbi <pavan.chebbi@...adcom.com>
Subject: Re: [PATCH net-next v2 4/6] bnxt_en: Add a mutex to synchronize ULP
operations
On Tue, Apr 30, 2024 at 05:30:54PM -0700, Michael Chan wrote:
> From: Kalesh AP <kalesh-anakkur.purayil@...adcom.com>
>
> The current scheme relies heavily on the RTNL lock for all ULP
> operations between the L2 and the RoCE driver. Add a new en_dev_lock
> mutex so that the asynchronous ULP_STOP and ULP_START operations
> can be serialized with bnxt_register_dev() and bnxt_unregister_dev()
> calls without relying on the RTNL lock. The next patch will remove
> the RTNL lock from the ULP_STOP and ULP_START calls.
>
> Reviewed-by: Selvin Thyparampil Xavier <selvin.xavier@...adcom.com>
> Reviewed-by: Vikas Gupta <vikas.gupta@...adcom.com>
> Reviewed-by: Pavan Chebbi <pavan.chebbi@...adcom.com>
> Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@...adcom.com>
> Signed-off-by: Michael Chan <michael.chan@...adcom.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists