* [cilium:pr/netkit-xdp 6/8] drivers/net/netkit.c:218:40: error: no member named 'pool' in 'struct netdev_rx_queue'
@ 2025-03-26 22:57 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-26 22:57 UTC (permalink / raw)
To: Daniel Borkmann; +Cc: llvm, oe-kbuild-all, Daniel Borkmann
tree: https://github.com/cilium/linux.git pr/netkit-xdp
head: 6f1df43931ef06ffe83eaa6a0d3df5d4c9a53786
commit: 65332eb9360ea7f0f0bcea9de6c4b2ec7a8ca936 [6/8] netkit: implement ndos
config: i386-randconfig-004-20250327 (https://download.01.org/0day-ci/archive/20250327/202503270659.vCkBxrBF-lkp@intel.com/config)
compiler: clang version 20.1.1 (https://github.com/llvm/llvm-project 424c2d9b7e4de40d0804dd374721e6411c27d1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250327/202503270659.vCkBxrBF-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/202503270659.vCkBxrBF-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/netkit.c:218:40: error: no member named 'pool' in 'struct netdev_rx_queue'
218 | return nk->lower->dev->_rx[queue_id].pool;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
>> drivers/net/netkit.c:220:40: error: no member named 'pool' in 'struct netdev_queue'
220 | return nk->lower->dev->_tx[queue_id].pool;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
drivers/net/netkit.c:245:33: error: no member named 'pool' in 'struct netdev_rx_queue'
245 | nk->lower->dev->_rx[queue_id].pool = pool;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
drivers/net/netkit.c:247:33: error: no member named 'pool' in 'struct netdev_queue'
247 | nk->lower->dev->_tx[queue_id].pool = pool;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
drivers/net/netkit.c:261:33: error: no member named 'pool' in 'struct netdev_rx_queue'
261 | nk->lower->dev->_rx[queue_id].pool = NULL;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
drivers/net/netkit.c:263:33: error: no member named 'pool' in 'struct netdev_queue'
263 | nk->lower->dev->_tx[queue_id].pool = NULL;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
6 errors generated.
vim +218 drivers/net/netkit.c
207
208 static struct xsk_buff_pool *
209 netkit_xsk_get_pool_from_qid(struct net_device *dev, u16 queue_id)
210 {
211 struct netkit *nk = netkit_priv(dev);
212
213 if (!nk->lower || nk->primary)
214 return NULL;
215 if (!netkit_queue_valid(dev, queue_id))
216 return NULL;
217 if (queue_id < nk->lower->dev->real_num_rx_queues)
> 218 return nk->lower->dev->_rx[queue_id].pool;
219 if (queue_id < nk->lower->dev->real_num_tx_queues)
> 220 return nk->lower->dev->_tx[queue_id].pool;
221 return NULL;
222 }
223
--
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-03-26 22:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-26 22:57 [cilium:pr/netkit-xdp 6/8] drivers/net/netkit.c:218:40: 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