From: kernel test robot <lkp@intel.com>
To: "Toke Høiland-Jørgensen" <toke@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [toke:xdp-queueing-06 12/17] net/core/filter.c:4450: undefined reference to `dev_schedule_xdp_dequeue'
Date: Thu, 14 Jul 2022 06:14:18 +0800 [thread overview]
Message-ID: <202207140654.OfCix8dN-lkp@intel.com> (raw)
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
reply other threads:[~2022-07-13 22:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202207140654.OfCix8dN-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=toke@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.