]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69644173f125abd064229e1009a96e27814d41ef
tree248646601d30c2f09aeb43e612d333ecbf253d86
parent9f735df5c7d395bacc0b17f97eabe39e7211e375
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