diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2019-11-07 18:47:38 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-11-10 19:30:46 -0800 |
commit | a68977d269dac0c7aa4a6f650b5e9191dd764861 (patch) | |
tree | 416e456da239bdf65e21fce9cb770d54d8573b88 /samples | |
parent | 2e5d72c15f0dc713c203464c5c76eb4ec285f598 (diff) | |
download | lwn-a68977d269dac0c7aa4a6f650b5e9191dd764861.tar.gz lwn-a68977d269dac0c7aa4a6f650b5e9191dd764861.zip |
libbpf: Allow for creating Rx or Tx only AF_XDP sockets
The libbpf AF_XDP code is extended to allow for the creation of Rx
only or Tx only sockets. Previously it returned an error if the socket
was not initialized for both Rx and Tx.
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Tested-by: William Tu <u9012063@gmail.com>
Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Link: https://lore.kernel.org/bpf/1573148860-30254-4-git-send-email-magnus.karlsson@intel.com
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions