All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [cilium:pr/netkit-iouring15 17/18] net/xdp/xsk.c:126:17: error: call to undeclared function 'netif_get_rx_queue_lease_locked'; ISO C99 and later do not support implicit function declarations
Date: Wed, 28 Jan 2026 08:20:41 +0100	[thread overview]
Message-ID: <202601280810.qSqTo7ht-lkp@intel.com> (raw)

tree:   https://github.com/cilium/linux.git pr/netkit-iouring15
head:   2bfd97dc4072315c583d973b90386dd82df70fae
commit: 2735913301fe3285613f291f594b1749487137aa [17/18] Revert "net: Proxy net_mp_{open,close}_rxq for leased queues"
config: i386-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260128/202601280810.qSqTo7ht-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260128/202601280810.qSqTo7ht-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601280810.qSqTo7ht-lkp@intel.com/

All errors (new ones prefixed by >>):

>> net/xdp/xsk.c:126:17: error: call to undeclared function 'netif_get_rx_queue_lease_locked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     126 |                 WARN_ON_ONCE(!netif_get_rx_queue_lease_locked(&dev, &id));
         |                               ^
   net/xdp/xsk.c:126:17: note: did you mean '__netif_get_rx_queue_lease'?
   ./include/net/netdev_rx_queue.h:76:1: note: '__netif_get_rx_queue_lease' declared here
      76 | __netif_get_rx_queue_lease(struct net_device **dev, unsigned int *rxq,
         | ^
>> net/xdp/xsk.c:133:2: error: call to undeclared function 'netif_put_rx_queue_lease_locked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     133 |         netif_put_rx_queue_lease_locked(orig_dev, dev);
         |         ^
   net/xdp/xsk.c:151:8: error: call to undeclared function 'netif_get_rx_queue_lease_locked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     151 |                 if (!netif_get_rx_queue_lease_locked(&dev, &id))
         |                      ^
   net/xdp/xsk.c:164:2: error: call to undeclared function 'netif_put_rx_queue_lease_locked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     164 |         netif_put_rx_queue_lease_locked(orig_dev, dev);
         |         ^
   4 errors generated.


vim +/netif_get_rx_queue_lease_locked +126 net/xdp/xsk.c

1c1efc2af15886 Magnus Karlsson 2020-08-28  119  
1c1efc2af15886 Magnus Karlsson 2020-08-28  120  void xsk_clear_pool_at_qid(struct net_device *dev, u16 queue_id)
1c1efc2af15886 Magnus Karlsson 2020-08-28  121  {
e1d8d7f33eef21 Daniel Borkmann 2026-01-15  122  	struct net_device *orig_dev = dev;
e1d8d7f33eef21 Daniel Borkmann 2026-01-15  123  	unsigned int id = queue_id;
e1d8d7f33eef21 Daniel Borkmann 2026-01-15  124  
e1d8d7f33eef21 Daniel Borkmann 2026-01-15  125  	if (id < dev->real_num_rx_queues)
e1d8d7f33eef21 Daniel Borkmann 2026-01-15 @126  		WARN_ON_ONCE(!netif_get_rx_queue_lease_locked(&dev, &id));
e1d8d7f33eef21 Daniel Borkmann 2026-01-15  127  
e1d8d7f33eef21 Daniel Borkmann 2026-01-15  128  	if (id < dev->real_num_rx_queues)
e1d8d7f33eef21 Daniel Borkmann 2026-01-15  129  		dev->_rx[id].pool = NULL;
e1d8d7f33eef21 Daniel Borkmann 2026-01-15  130  	if (id < dev->real_num_tx_queues)
e1d8d7f33eef21 Daniel Borkmann 2026-01-15  131  		dev->_tx[id].pool = NULL;
e1d8d7f33eef21 Daniel Borkmann 2026-01-15  132  
e1d8d7f33eef21 Daniel Borkmann 2026-01-15 @133  	netif_put_rx_queue_lease_locked(orig_dev, dev);
1c1efc2af15886 Magnus Karlsson 2020-08-28  134  }
1c1efc2af15886 Magnus Karlsson 2020-08-28  135  

:::::: The code at line 126 was first introduced by commit
:::::: e1d8d7f33eef21fc3c25b5f8234820db9dec3438 xsk: Proxy pool management for leased queues

:::::: TO: Daniel Borkmann <daniel@iogearbox.net>
:::::: CC: Daniel Borkmann <daniel@iogearbox.net>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2026-01-28  7:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-28  7:20 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-01-28  6:00 [cilium:pr/netkit-iouring15 17/18] net/xdp/xsk.c:126:17: error: call to undeclared function 'netif_get_rx_queue_lease_locked'; ISO C99 and later do not support implicit function declarations kernel test robot

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=202601280810.qSqTo7ht-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=daniel@iogearbox.net \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.