# Re: \[PATCH v2 net 3/6\] net: enetc: take the MDIO lock only once per NAPI poll cycle

- From: Vladimir Oltean \<olteanv@gmail.com\>
- Date: 2021-02-25 23:09:23 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/02/11197458
- Thread: https://ratatoskr.run/netdev/2021/02/11197411/t.md

```text
On Fri, Feb 26, 2021 at 01:00:26AM +0200, Vladimir Oltean wrote:
> The goal is to eventually get rid of all the _hot stuff and always take
> the lock from the top level, this would allow us to do more register
> read/write batching and that would amortize the cost of the locking
> overall.

Of course when I say 'get rid of the hot stuff', I mean get rid of the
'hot' _naming_ and not the behavior, since the goal is for all register
accessors to be 'hot' aka unlocked.
```
