samples: bpf: Split xdpsock stats into new struct
authorCiara Loftus <ciara.loftus@intel.com>
Fri, 2 Oct 2020 13:36:10 +0000 (13:36 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 6 Oct 2020 18:46:50 +0000 (11:46 -0700)
commit2e8806f032f5d9d5c59b790c73b83842bda78f23
tree97c3b615311c70dc7b7ae563f411ff9db61287aa
parent544d6adf3c3dddbf80e5757a3098c63612f5f8f8
samples: bpf: Split xdpsock stats into new struct

New statistics will be added in future commits. In preparation for this,
let's split out the existing statistics into their own struct.

Signed-off-by: Ciara Loftus <ciara.loftus@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20201002133612.31536-1-ciara.loftus@intel.com
samples/bpf/xdpsock_user.c