Home
last modified time | relevance | path

Searched hist:"624676 e788992e4da8de1fad93bfe51563a7f9a0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/xdp/
H A Dxdp_umem.cdiff 624676e788992e4da8de1fad93bfe51563a7f9a0 Thu Aug 15 07:13:55 CDT 2019 Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> xdp: xdp_umem: replace kmap on vmap for umem map

For 64-bit there is no reason to use vmap/vunmap, so use page_address
as it was initially. For 32 bits, in some apps, like in samples
xdpsock_user.c when number of pgs in use is quite big, the kmap
memory can be not enough, despite on this, kmap looks like is
deprecated in such cases as it can block and should be used rather
for dynamic mm.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>