From: kernel test robot <lkp@intel.com>
To: Daniel Borkmann <daniel@iogearbox.net>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Daniel Borkmann <daniel@iogearbox.net>
Subject: [cilium:pr/netkit-xdp 6/8] drivers/net/netkit.c:218:40: error: no member named 'pool' in 'struct netdev_rx_queue'
Date: Thu, 27 Mar 2025 06:57:13 +0800 [thread overview]
Message-ID: <202503270659.vCkBxrBF-lkp@intel.com> (raw)
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
reply other threads:[~2025-03-26 22:57 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=202503270659.vCkBxrBF-lkp@intel.com \
--to=lkp@intel.com \
--cc=daniel@iogearbox.net \
--cc=llvm@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox