Hi Jesper, Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on bpf-next/master] url: https://github.com/0day-ci/linux/commits/Jesper-Dangaard-Brouer/xdp-introduce-bulking-for-ndo_xdp_xmit-API/20180510-134105 base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master config: x86_64-randconfig-x014-201818 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): In file included from kernel/sysctl.c:67:0: >> include/linux/bpf.h:577:28: warning: 'struct bpf_dtab_netdev' declared >> inside parameter list will not be visible outside of this definition or >> declaration int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp) ^~~~~~~~~~~~~~~ vim +577 include/linux/bpf.h 574 575 struct xdp_buff; 576 static inline > 577 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp) 578 { 579 return 0; 580 } 581 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip