DPDK patches and discussions
 help / color / mirror / Atom feed
From: Hobywan Kenoby <hobywank@hotmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] [virtio] virtio-net PMD cannot be used on Ubuntu 16.10
Date: Thu, 24 Nov 2016 15:44:04 +0000	[thread overview]
Message-ID: <DB5PR06MB168650FD160E86F2FEB9E874C0B60@DB5PR06MB1686.eurprd06.prod.outlook.com> (raw)

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

                 reply	other threads:[~2016-11-24 15:44 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=DB5PR06MB168650FD160E86F2FEB9E874C0B60@DB5PR06MB1686.eurprd06.prod.outlook.com \
    --to=hobywank@hotmail.com \
    --cc=dev@dpdk.org \
    /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;
as well as URLs for NNTP newsgroup(s).