Re: [PATCH net-next 6/8] virtio-net: support rx netdim
From: kernel test robot <hidden>
Date: 2023-08-14 14:00:22
Also in:
oe-kbuild-all, virtualization
Hi Heng, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Heng-Qi/virtio-net-initially-change-the-value-of-tx-frames/20230811-150529 base: net-next/main patch link: https://lore.kernel.org/r/20230811065512.22190-7-hengqi%40linux.alibaba.com patch subject: [PATCH net-next 6/8] virtio-net: support rx netdim config: microblaze-randconfig-r081-20230814 (https://download.01.org/0day-ci/archive/20230814/202308142100.l4cN4g6z-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230814/202308142100.l4cN4g6z-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 [off-list ref] | Closes: https://lore.kernel.org/oe-kbuild-all/202308142100.l4cN4g6z-lkp@intel.com/ (local) All errors (new ones prefixed by >>): microblaze-linux-ld: drivers/net/virtio_net.o: in function `virtnet_rx_dim_work':
quoted
drivers/net/virtio_net.c:3269: undefined reference to `net_dim_get_rx_moderation'
microblaze-linux-ld: drivers/net/virtio_net.o: in function `virtnet_rx_dim_update':
quoted
drivers/net/virtio_net.c:1985: undefined reference to `net_dim'
vim +3269 drivers/net/virtio_net.c
3258
3259 static void virtnet_rx_dim_work(struct work_struct *work)
3260 {
3261 struct dim *dim = container_of(work, struct dim, work);
3262 struct receive_queue *rq = container_of(dim,
3263 struct receive_queue, dim);
3264 struct virtnet_info *vi = rq->vq->vdev->priv;
3265 struct net_device *dev = vi->dev;
3266 struct dim_cq_moder update_moder;
3267 int qnum = rq - vi->rq, err;
3268 3269 update_moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix);
3270 err = virtnet_send_rx_notf_coal_vq_cmd(vi, qnum,
3271 update_moder.usec,
3272 update_moder.pkts);
3273 if (err)
3274 pr_debug("%s: Failed to send dim parameters on rxq%d\n",
3275 dev->name, (int)(rq - vi->rq));
3276
3277 dim->state = DIM_START_MEASURE;
3278 }
3279
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki