[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202308142100.l4cN4g6z-lkp@intel.com>
Date: Mon, 14 Aug 2023 21:58:40 +0800
From: kernel test robot <lkp@...el.com>
To: Heng Qi <hengqi@...ux.alibaba.com>,
"Michael S . Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>, netdev@...r.kernel.org,
virtualization@...ts.linux-foundation.org
Cc: oe-kbuild-all@...ts.linux.dev, "David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Jesper Dangaard Brouer <hawk@...nel.org>,
John Fastabend <john.fastabend@...il.com>,
Xuan Zhuo <xuanzhuo@...ux.alibaba.com>
Subject: Re: [PATCH net-next 6/8] virtio-net: support rx netdim
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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308142100.l4cN4g6z-lkp@intel.com/
All errors (new ones prefixed by >>):
microblaze-linux-ld: drivers/net/virtio_net.o: in function `virtnet_rx_dim_work':
>> 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':
>> 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
Powered by blists - more mailing lists