diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2018-05-02 13:01:32 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-05-03 15:55:24 -0700 |
commit | f61459030ec7fffdaa3c462cc0f728eef11b4d05 (patch) | |
tree | af95ebd390dd699a4e21c8e33dbe7b5f5a77ceab /net/packet | |
parent | fe2308328cd2f26ebc986f543796e7d13ae00bc4 (diff) | |
download | linux-f61459030ec7fffdaa3c462cc0f728eef11b4d05.tar.gz linux-f61459030ec7fffdaa3c462cc0f728eef11b4d05.tar.bz2 linux-f61459030ec7fffdaa3c462cc0f728eef11b4d05.zip |
xsk: add Tx queue setup and mmap support
Another setsockopt (XDP_TX_QUEUE) is added to let the process allocate
a queue, where the user process can pass frames to be transmitted by
the kernel.
The mmapping of the queue is done using the XDP_PGOFF_TX_QUEUE offset.
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions