All of lore.kernel.org
 help / color / mirror / Atom feed
* [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
@ 2026-01-28  6:00 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-01-28  6:00 UTC (permalink / raw)
  To: Daniel Borkmann; +Cc: llvm, oe-kbuild-all

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: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260128/202601281348.paXuq0x3-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260128/202601281348.paXuq0x3-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/202601281348.paXuq0x3-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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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
@ 2026-01-28  7:20 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-01-28  7:20 UTC (permalink / raw)
  To: Daniel Borkmann; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-28  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-28  7:20 [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
  -- strict thread matches above, loose matches on Subject: below --
2026-01-28  6:00 kernel test robot

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.