Skip to contentSkip to conversation

Does virtio-net PMD require specific QEMU virtio-net parameters?

DISCUSSION Tetsuya Mukawa 2 participants 3 messages Feb 1, 2015 – Feb 2, 2015 2 messages not in the archive

lore
Share & tools
lore
#0 lore 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

A message that is not in the archive (sent off-list or not yet received): 54CDF9B7.9000404-AlSX/UN32fvPDbFq/[email protected]

#2 lore raw
Quoted 11 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Tetsuya Mukawa
Sent: Sunday, February 1, 2015 6:03 PM
To: [email protected]
Subject: [dpdk-dev] Does virtio-net PMD require specific QEMU virtio-net parameters?

Hi,

Quoted 7 lines

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

A message that is not in the archive (sent off-list or not yet received): F52918179C57134FAEC9EA62FA2F9625119B9DB1-E2R4CRU6q/[email protected]

#4 lore raw
Quoted 16 lines · Changchun
Quoted 16 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Tetsuya Mukawa
Sent: Sunday, February 1, 2015 6:03 PM
To: [email protected]
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.

Quoted 3 lines
Quoted 1 line
$ ./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

Quoted 3 lines

Thanks
Changchun