aboutsummaryrefslogtreecommitdiffstats
path: root/net/psample
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2019-12-19 13:39:23 +0100
committerAlexei Starovoitov <ast@kernel.org>2019-12-20 16:00:09 -0800
commit59e35e552529b858f35b30bc5a803ea532ca17f1 (patch)
treebfb1cc330e07c1a4b544dc0dddeb6d735985b8ed /net/psample
parentxsk: Consolidate to one single cached producer pointer (diff)
downloadlinux-dev-59e35e552529b858f35b30bc5a803ea532ca17f1.tar.xz
linux-dev-59e35e552529b858f35b30bc5a803ea532ca17f1.zip
xsk: Standardize naming of producer ring access functions
Adopt the naming of the producer ring access functions to have a similar naming convention as the functions in libbpf, but adapted to the kernel. You first reserve a number of entries that you later submit to the global state of the ring. This is much clearer, IMO, than the one that was in the kernel part. Once renamed, we also discover that two functions are actually the same, so remove one of them. Some of the primitive ring submission operations are also the same so break these out into __xskq_prod_submit that the upper level ring access functions can use. 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-5-git-send-email-magnus.karlsson@intel.com
Diffstat (limited to 'net/psample')
0 files changed, 0 insertions, 0 deletions