All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tetsuya Mukawa <mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
To: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Does virtio-net PMD require specific QEMU virtio-net parameters?
Date: Sun, 01 Feb 2015 19:02:31 +0900	[thread overview]
Message-ID: <54CDF9B7.9000404@igel.co.jp> (raw)

Hi,

I cannot invoke virtio-net PMD at least on Ubuntu12 and Ubuntu14 QEMU guest.
This behavior might be seen on other users environment also, so I report it.
.
Here is error log.

$ ./testpmd -c f -n 1 -- -i

....snip....

Configuring Port0 (socket0)
Fail to configuring port 0 tx queues.
EAL: Error - exiting with code: 1
  Cause: Start ports failed
$

As a result of bisect, it seems this behavior is caused by following patch.

61b16f0f167a331e65f0729b3554ded0440b545b
virtio: check for transmit checksum config error

After revert the patch, I haven't seen the error.

My question is that after applying this patch, should I specify some
specific parameters for QEMU virtio-net device?
Here is my parameters of virtio-net.

    -device
virtio-net-pci,netdev=hostnet1,id=net1,mac=52:54:00:c6:a7:44,bus=pci.0,addr=0x5
\
    -netdev tap,id=hostnet1

Also could someone reproduce the same issue?
My host is ubuntu14, and I am using QEMU I've got using apt-get.

Thanks,
Tetsuya

             reply	other threads:[~2015-02-01 10:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-01 10:02 Tetsuya Mukawa [this message]
     [not found] ` <54CDF9B7.9000404-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org>
2015-02-02  0:53   ` Does virtio-net PMD require specific QEMU virtio-net parameters? Ouyang, Changchun
     [not found]     ` <F52918179C57134FAEC9EA62FA2F9625119B9DB1-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-02-02  2:00       ` Tetsuya Mukawa

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=54CDF9B7.9000404@igel.co.jp \
    --to=mukawa-alsx/un32fvpdbfq/vqriq@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.