xsk: introduce xdp_umem_page
authorBjörn Töpel <bjorn.topel@intel.com>
Mon, 4 Jun 2018 12:05:52 +0000 (14:05 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 5 Jun 2018 13:45:41 +0000 (15:45 +0200)
commit8aef7340ae9695912a411886452ae9773206e845
treed6f66cf4c92cca441a6e39f3dfd09dce1c74e99b
parente61e62b9e2cc14b336f330f37f517f9d373ff31e
xsk: introduce xdp_umem_page

The xdp_umem_page holds the address for a page. Trade memory for
faster lookup. Later, we'll add DMA address here as well.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/net/xdp_sock.h
net/xdp/xdp_umem.c
net/xdp/xdp_umem.h