selftests/bpf: Xsk selftests - SKB POLL, NOPOLL
Adds following tests: 1. AF_XDP SKB mode Generic mode XDP is driver independent, used when the driver does not have support for XDP. Works on any netdevice using sockets and generic XDP path. XDP hook from netif_receive_skb(). a. nopoll - soft-irq processing b. poll - using poll() syscall Signed-off-by: NWeqaar Janjua <weqaar.a.janjua@intel.com> Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net> Tested-by: NYonghong Song <yhs@fb.com> Acked-by: NBjörn Töpel <bjorn.topel@intel.com> Link: https://lore.kernel.org/bpf/20201207215333.11586-3-weqaar.a.janjua@intel.com
Showing
此差异已折叠。
想要评论请 注册 或 登录