diff options
| author | Magnus Karlsson <[email protected]> | 2019-12-19 13:39:31 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-12-20 16:00:09 -0800 |
| commit | 1d9cb1f381860b529edec57cf7a08133f40366eb (patch) | |
| tree | 1aea2b20504a1fddec4bcec2e78bd0d3ed032167 /tools/perf/scripts/python/netdev-times.py | |
| parent | 15d8c9162ced1789d25261859a7b37db8426e409 (diff) | |
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 <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions