DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Does virtio-net PMD require specific QEMU virtio-net parameters?
@ 2015-02-01 10:02 Tetsuya Mukawa
  2015-02-02  0:53 ` Ouyang, Changchun
  0 siblings, 1 reply; 3+ messages in thread
From: Tetsuya Mukawa @ 2015-02-01 10:02 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Does virtio-net PMD require specific QEMU virtio-net parameters?
  2015-02-01 10:02 [dpdk-dev] Does virtio-net PMD require specific QEMU virtio-net parameters? Tetsuya Mukawa
@ 2015-02-02  0:53 ` Ouyang, Changchun
  2015-02-02  2:00   ` Tetsuya Mukawa
  0 siblings, 1 reply; 3+ messages in thread
From: Ouyang, Changchun @ 2015-02-02  0:53 UTC (permalink / raw)
  To: Tetsuya Mukawa, dev



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Tetsuya Mukawa
> Sent: Sunday, February 1, 2015 6:03 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] Does virtio-net PMD require specific QEMU virtio-net
> parameters?
> 
> 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

Try to add '--txqflags 0xf00' into the testpmd cmd line:
$ ./testpmd -c f -n 1 -- -i --txqflags 0xf00

Thanks
Changchun


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Does virtio-net PMD require specific QEMU virtio-net parameters?
  2015-02-02  0:53 ` Ouyang, Changchun
@ 2015-02-02  2:00   ` Tetsuya Mukawa
  0 siblings, 0 replies; 3+ messages in thread
From: Tetsuya Mukawa @ 2015-02-02  2:00 UTC (permalink / raw)
  To: Ouyang, Changchun, dev

On 2015/02/02 9:53, Ouyang, Changchun wrote:
>
>> -----Original Message-----
>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Tetsuya Mukawa
>> Sent: Sunday, February 1, 2015 6:03 PM
>> To: dev@dpdk.org
>> Subject: [dpdk-dev] Does virtio-net PMD require specific QEMU virtio-net
>> parameters?
>>
>> 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
> Try to add '--txqflags 0xf00' into the testpmd cmd line:
> $ ./testpmd -c f -n 1 -- -i --txqflags 0xf00

I appreciate your suggestion. I can invoke it correctly.

Thanks,
Tetsuya

> Thanks
> Changchun
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-02  2:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-01 10:02 [dpdk-dev] Does virtio-net PMD require specific QEMU virtio-net parameters? Tetsuya Mukawa
2015-02-02  0:53 ` Ouyang, Changchun
2015-02-02  2:00   ` Tetsuya Mukawa

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).