On Sat, 30 May 2020 23:54:36 +0200
Heiner Kallweit <[email protected]> wrote:

> Change driver private data type to struct rtl8169_private * to avoid
> some overhead.
> 
> Signed-off-by: Heiner Kallweit <[email protected]>
> ---

Are you sure about this. Using netdev_priv() is actually at a fixed
offset from netdev, and almost always the compiler can optimize and
use one register.  Look at the assembly code difference of what you
did.

Reply via email to