xsk: support for Tx
authorMagnus Karlsson <magnus.karlsson@intel.com>
Wed, 2 May 2018 11:01:34 +0000 (13:01 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 3 May 2018 22:55:25 +0000 (15:55 -0700)
commit35fcde7f8deb51b707b161bf19cbd22363aef2df
treec013450ece94152a41979d06303f5e5e8e0ca3f2
parent865b03f21162e4edfda51fc08693c864b1d4fdaf
xsk: support for Tx

Here, Tx support is added. The user fills the Tx queue with frames to
be sent by the kernel, and let's the kernel know using the sendmsg
syscall.

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
net/xdp/xsk.c
net/xdp/xsk_queue.h