[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z4bo9O5gGG2OBNXJ@LQ3V64L9R2>
Date: Tue, 14 Jan 2025 14:45:08 -0800
From: Joe Damato <jdamato@...tly.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
anthony.l.nguyen@...el.com, przemyslaw.kitszel@...el.com,
jiri@...nulli.us
Subject: Re: [PATCH net-next 01/11] net: add netdev_lock() / netdev_unlock()
helpers
On Mon, Jan 13, 2025 at 07:51:07PM -0800, Jakub Kicinski wrote:
> Add helpers for locking the netdev instance and use it in drivers
> and the shaper code. This will make grepping for the lock usage
> much easier, as we extend the lock to cover more fields.
>
> Signed-off-by: Jakub Kicinski <kuba@...nel.org>
> ---
> CC: anthony.l.nguyen@...el.com
> CC: przemyslaw.kitszel@...el.com
> CC: jiri@...nulli.us
> ---
> include/linux/netdevice.h | 23 ++++++-
> drivers/net/ethernet/intel/iavf/iavf_main.c | 74 ++++++++++-----------
> drivers/net/netdevsim/ethtool.c | 4 +-
> net/shaper/shaper.c | 6 +-
> 4 files changed, 63 insertions(+), 44 deletions(-)
Reviewed-by: Joe Damato <jdamato@...tly.com>
Powered by blists - more mailing lists