diff options
author | Magnus Karlsson <[email protected]> | 2020-05-04 15:33:51 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-05-04 22:56:26 +0200 |
commit | e4e5aefc113510c03d34e182ab30bc0cc196675c (patch) | |
tree | 6a5d71785996f770cd0c69f88e565894afd86a60 /tools/perf/scripts/python | |
parent | d26c0cc53950464a24adfa76867f1d71f0cbbea6 (diff) |
xsk: Change two variable names for increased clarity
Change two variables names so that it is clearer what they
represent. The first one is xsk_list that in fact only contains the
list of AF_XDP sockets with a Tx component. Change this to xsk_tx_list
for improved clarity. The second variable is size in the ring
structure. One might think that this is the size of the ring, but it
is in fact the size of the umem, copied into the ring structure to
improve performance. Rename this variable umem_size to avoid any
confusion.
Signed-off-by: Magnus Karlsson <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Jonathan Lemon <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions