Messages in this thread |  | | Date | Wed, 18 Apr 2018 13:45:07 -0400 (EDT) | Subject | Re: [PATCH] net: don't use kvzalloc for DMA memory | From | David Miller <> |
| |
From: Eric Dumazet <eric.dumazet@gmail.com> Date: Wed, 18 Apr 2018 09:05:54 -0700
> Each virtio_net should probably allocate the exact amount of > DMA-memory it wants, instead of expecting core networking stack to > have a huge chunk of DMA-memory for everything.
Yes, if you need DMA'able memory, allocate DMA'able memory separately and hang it off of the netdev instead of assuming you can just DMA in/out of it.
|  |