[dpdk-dev] [virtio] virtio-net PMD cannot be used on Ubuntu 16.10

Hobywan Kenoby hobywank at hotmail.com
Thu Nov 24 16:44:04 CET 2016


Hello,

While I (almost) never had a problem with testpmd, Ubuntu 16.10 make it fail:

$ sudo ./testpmd -c 0x3 -n1 --no-huge -- --disable-hw-vlan --disable-rss -i --rxq=1 --txq=1 --rxd=256 --txd=256
EAL: Detected 4 lcore(s)
EAL: Probing VFIO support...
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
EAL: PCI device 0000:00:08.0 on NUMA socket -1
EAL:   probe driver: 1af4:1000 net_virtio
EAL: Error - exiting with code: 1
  Cause: Requested device 0000:00:08.0 cannot be used


This boils down to virtio_pci.c

	if (!check_vq_phys_addr_ok(vq))
		return -1;

which fails because vq is 0x7ffff7172700 and is greater than 16TB.


is there an issue or do I configure something badly?
I used the same method to test on 14.04 15.10 and 16.04 without problems.
Huge pages are configured and are used by DPDK.

-HK







More information about the dev mailing list