aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2019-12-19 13:39:31 +0100
committerAlexei Starovoitov <ast@kernel.org>2019-12-20 16:00:09 -0800
commit1d9cb1f381860b529edec57cf7a08133f40366eb (patch)
tree1aea2b20504a1fddec4bcec2e78bd0d3ed032167 /tools/testing
parentxsk: Add function naming comments and reorder functions (diff)
downloadlinux-dev-1d9cb1f381860b529edec57cf7a08133f40366eb.tar.xz
linux-dev-1d9cb1f381860b529edec57cf7a08133f40366eb.zip
xsk: Use struct_size() helper
Improve readability and maintainability by using the struct_size() helper when allocating the AF_XDP rings. Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/1576759171-28550-13-git-send-email-magnus.karlsson@intel.com
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions