commit | b9b6b68e8abd101be6eb5330e4999218c696d1e8 | [log] [tgz] |
---|---|---|
author | Björn Töpel <bjorn.topel@intel.com> | Wed May 02 13:01:25 2018 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu May 03 15:55:23 2018 -0700 |
tree | aabf3247f651eeea5c1e9ed751435ab2ba5bc1d6 | |
parent | 423f38329d267969130fb6f2c685f73d72687558 [diff] |
xsk: add Rx queue setup and mmap support Another setsockopt (XDP_RX_QUEUE) is added to let the process allocate a queue, where the kernel can pass completed Rx frames from the kernel to user process. The mmapping of the queue is done using the XDP_PGOFF_RX_QUEUE offset. Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>