Subject: Re: [PATCH v3 net-next] net: hns3: support wake on lan configuration and query

From: Jakub Kicinski <[email-masked]>
Date: Mon, 13 Mar 2023 12:16:44 -0700

On Mon, 13 Mar 2023 16:05:55 +0800 Hao Lan wrote:
> Thanks for your suggestion. Generally I follow the reverse xmas tree style
> for readability. But for this case, whether it looks a bit bloated ?

It only appears so because the driver has too many indirection layers.
Add a helper to go from netdev to the local struct.

Reminder: please don't top post and trim your replies.