* [cilium:pr/netkit-iouring 11/13] drivers/net/netkit.c:396:13: error: no member named 'pool' in 'struct netdev_rx_queue'
@ 2025-09-15 14:25 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-15 14:25 UTC (permalink / raw)
To: Daniel Borkmann; +Cc: llvm, oe-kbuild-all, Daniel Borkmann
tree: https://github.com/cilium/linux.git pr/netkit-iouring
head: 2349bbb5912e0d52fba70db82bfbf45064f824f6
commit: 75c1fb3cba77335698d2293e139596fb67f3a330 [11/13] netkit: Implement ndo_queue_xsk_pool_{register,get,clear} operations
config: powerpc-randconfig-003-20250915 (https://download.01.org/0day-ci/archive/20250915/202509152205.rMP7qLkG-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 65ad21d730d25789454d18e811f8ff5db79cb5d4)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250915/202509152205.rMP7qLkG-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/202509152205.rMP7qLkG-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from <built-in>:3:
In file included from include/linux/compiler_types.h:171:
include/linux/compiler-clang.h:28:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined]
28 | #define __SANITIZE_ADDRESS__
| ^
<built-in>:351:9: note: previous definition is here
351 | #define __SANITIZE_ADDRESS__ 1
| ^
drivers/net/netkit.c:390:6: error: call to undeclared function 'xsk_get_pool_from_qid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
390 | if (xsk_get_pool_from_qid(phys, phys_idx))
| ^
drivers/net/netkit.c:393:6: error: incomplete definition of type 'struct xsk_buff_pool'
393 | pool->netdev = phys;
| ~~~~^
include/linux/netdevice.h:1007:11: note: forward declaration of 'struct xsk_buff_pool'
1007 | struct xsk_buff_pool *pool;
| ^
drivers/net/netkit.c:394:6: error: incomplete definition of type 'struct xsk_buff_pool'
394 | pool->queue_id = phys_idx;
| ~~~~^
include/linux/netdevice.h:1007:11: note: forward declaration of 'struct xsk_buff_pool'
1007 | struct xsk_buff_pool *pool;
| ^
>> drivers/net/netkit.c:396:13: error: no member named 'pool' in 'struct netdev_rx_queue'
396 | rxq->peer->pool = pool;
| ~~~~~~~~~ ^
drivers/net/netkit.c:412:20: error: no member named 'pool' in 'struct netdev_rx_queue'
412 | return rxq->peer->pool;
| ~~~~~~~~~ ^
drivers/net/netkit.c:426:13: error: no member named 'pool' in 'struct netdev_rx_queue'
426 | rxq->peer->pool = NULL;
| ~~~~~~~~~ ^
1 warning and 6 errors generated.
vim +396 drivers/net/netkit.c
372
373 static int netkit_queue_xsk_pool_register(struct net_device *dev,
374 struct xsk_buff_pool *pool, int idx)
375 {
376 struct netdev_rx_queue *rxq;
377 struct net_device *phys;
378 int phys_idx;
379
380 if (idx >= dev->real_num_rx_queues)
381 return -EINVAL;
382
383 rxq = __netif_get_rx_queue(dev, idx);
384 if (!rxq->peer)
385 return -EOPNOTSUPP;
386
387 phys = rxq->peer->dev;
388 phys_idx = get_netdev_rx_queue_index(rxq->peer);
389
390 if (xsk_get_pool_from_qid(phys, phys_idx))
391 return -EBUSY;
392
393 pool->netdev = phys;
394 pool->queue_id = phys_idx;
395
> 396 rxq->peer->pool = pool;
397 return 0;
398 }
399
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-15 14:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-15 14:25 [cilium:pr/netkit-iouring 11/13] drivers/net/netkit.c:396:13: error: no member named 'pool' in 'struct netdev_rx_queue' 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