Re: [PATCH] net: don't use kvzalloc for DMA memory

From: Mikulas Patocka
Date: Wed Apr 18 2018 - 13:55:44 EST




On Wed, 18 Apr 2018, David Miller wrote:

> From: Eric Dumazet <eric.dumazet@xxxxxxxxx>
> Date: Wed, 18 Apr 2018 09:51:25 -0700
>
> > I suggest that virtio_net clearly identifies which part needs a specific allocation
> > and does its itself, instead of abusing the netdev_priv storage.
> >
> > Ie use a pointer to a block of memory, allocated by virtio_net, for virtio_net.
>
> +1

And what about the other networking drivers that may do the same thing?

Mikulas