在 2023/12/9 下午6:27, Michael S. Tsirkin 写道:
On Sat, Dec 09, 2023 at 11:22:11AM +0800, kernel test robot wrote:
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-returns-whether-napi-is-complete/20231207-143044
base: net-next/main
patch link: https://lore.kernel.org/r/9be20d1e86bea91b373f28401a96401b640ef4d1.1701929854.git.hengqi%40linux.alibaba.com
patch subject: [PATCH net-next v7 4/4] virtio-net: support rx netdim
config: nios2-randconfig-r064-20231209 (https://download.01.org/0day-ci/archive/20231209/202312091132.7eR6Cbs9-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231209/202312091132.7eR6Cbs9-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312091132.7eR6Cbs9-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
nios2-linux-ld: drivers/net/virtio_net.o: in function `virtnet_rx_dim_work':
virtio_net.c:(.text+0x21dc): undefined reference to `net_dim_get_rx_moderation'
virtio_net.c:(.text+0x21dc): relocation truncated to fit: R_NIOS2_CALL26 against `net_dim_get_rx_moderation'
nios2-linux-ld: drivers/net/virtio_net.o: in function `virtnet_poll':
virtio_net.c:(.text+0x97bc): undefined reference to `net_dim'
virtio_net.c:(.text+0x97bc): relocation truncated to fit: R_NIOS2_CALL26 against `net_dim'
Looks like select DIMLIB is missing?
Yes. I'll add this. Thanks!
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki