public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [toke:xdp-queueing-06 12/17] net/core/filter.c:4450: undefined reference to `dev_schedule_xdp_dequeue'
@ 2022-07-13 22:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-13 22:14 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git xdp-queueing-06
head:   eb15b48f1b85d5986f1c2dbaf68c3c27e93f0c0c
commit: a32ddb0c8337335ecce0a6a4f2f86297906ea5e5 [12/17] bpf: Add helper to schedule an interface for TX dequeue
config: x86_64-randconfig-m001 (https://download.01.org/0day-ci/archive/20220714/202207140654.OfCix8dN-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git/commit/?id=a32ddb0c8337335ecce0a6a4f2f86297906ea5e5
        git remote add toke https://git.kernel.org/pub/scm/linux/kernel/git/toke/linux.git
        git fetch --no-tags toke xdp-queueing-06
        git checkout a32ddb0c8337335ecce0a6a4f2f86297906ea5e5
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   ld: net/core/dev.o: in function `net_tx_action':
   net/core/dev.c:5038: undefined reference to `dev_run_xdp_dequeue'
   ld: net/core/filter.o: in function `bpf_schedule_iface_dequeue':
>> net/core/filter.c:4450: undefined reference to `dev_schedule_xdp_dequeue'


vim +4450 net/core/filter.c

  4433	
  4434	static int bpf_schedule_iface_dequeue(struct net *net, int ifindex, int flags)
  4435	{
  4436		struct net_device *dev;
  4437		struct bpf_prog *prog;
  4438	
  4439		if (flags)
  4440			return -EINVAL;
  4441	
  4442		dev = dev_get_by_index_rcu(net, ifindex);
  4443		if (!dev)
  4444			return -ENODEV;
  4445	
  4446		prog = rcu_dereference(dev->xdp_dequeue_prog);
  4447		if (!prog)
  4448			return -ENOENT;
  4449	
> 4450		dev_schedule_xdp_dequeue(dev);
  4451		return 0;
  4452	}
  4453	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-13 22:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-13 22:14 [toke:xdp-queueing-06 12/17] net/core/filter.c:4450: undefined reference to `dev_schedule_xdp_dequeue' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox