aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2019-12-19 13:39:27 +0100
committerAlexei Starovoitov <ast@kernel.org>2019-12-20 16:00:09 -0800
commit03896ef1f0cb23d2742ddf486c531c700a2da7d6 (patch)
treed1d460f61ce001d65f104df8fd8cd2a2b08dc486 /tools
parentxsk: Simplify the consumer ring access functions (diff)
downloadlinux-dev-03896ef1f0cb23d2742ddf486c531c700a2da7d6.tar.xz
linux-dev-03896ef1f0cb23d2742ddf486c531c700a2da7d6.zip
xsk: Change names of validation functions
Change the names of the validation functions to better reflect what they are doing. The uppermost ones are reading entries from the rings and only the bottom ones validate entries. So xskq_cons_read_ is a better prefix name. Also change the xskq_cons_read_ functions to return a bool as the the descriptor or address is already returned by reference in the parameters. Everyone is using the return value as a bool anyway. 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-9-git-send-email-magnus.karlsson@intel.com
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions