commit | f61459030ec7fffdaa3c462cc0f728eef11b4d05 | [log] [tgz] |
---|---|---|
author | Magnus Karlsson <magnus.karlsson@intel.com> | Wed May 02 13:01:32 2018 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu May 03 15:55:24 2018 -0700 |
tree | af95ebd390dd699a4e21c8e33dbe7b5f5a77ceab | |
parent | fe2308328cd2f26ebc986f543796e7d13ae00bc4 [diff] |
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>