commit | 902540342096af8a13351f6a22bfdd7a8e19ffd2 | [log] [tgz] |
---|---|---|
author | Björn Töpel <bjorn.topel@intel.com> | Tue Aug 28 14:44:27 2018 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Aug 29 12:25:53 2018 -0700 |
tree | e11f5b7bc76f539a64bdf7eec608963ab953027f | |
parent | dce5bd6140a436e3348f6d13a1efb6e6c5a89acd [diff] |
xsk: expose xdp_umem_get_{data,dma} to drivers Move the xdp_umem_get_{data,dma} functions to include/net/xdp_sock.h, so that the upcoming zero-copy implementation in the Ethernet drivers can utilize them. Also, supply some dummy function implementations for CONFIG_XDP_SOCKETS=n configs. Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>