xsk: add id to umem
authorBjörn Töpel <bjorn.topel@intel.com>
Thu, 24 Jan 2019 18:59:38 +0000 (19:59 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 25 Jan 2019 00:50:03 +0000 (01:50 +0100)
commit50e74c0131a5b3a3e387798a5705158c04fb3bd0
tree248646601d30c2f09aeb43e612d333ecbf253d86
parent1d0dc06930a917eaca4156193c6c49f798b95ce7
xsk: add id to umem

This commit adds an id to the umem structure. The id uniquely
identifies a umem instance, and will be exposed to user-space via the
socket monitoring interface.

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