From: leo zhu <leo.zhu510@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Why the offloads of the guest's virtio-net network adapter are disabled when vhost-user is used?
Date: Mon, 24 Aug 2015 21:09:01 +0800 [thread overview]
Message-ID: <CALzAW8SqQXecja2cGQd5eZoKj8odk28YL11Y9=EuSVgaMM6QZg@mail.gmail.com> (raw)
Hi all,
I am running the vhost sample application on my server.
According to the dpdk-sample-applications-user-guide.pdf, I run the Virtual
Machine with vhost-user enabled.
Following is the command that is used to run the virtual machine.
*qemu-system-x86_64 /root/leo/ubuntu-1.img -enable-kvm -m 1024 -vnc :5
-chardev \socket,id=char1,path=/root/leo/dpdk-2.0.0/examples/vhost/usvhost
-netdev type=vhost-user, \id=mynet1,chardev=char1,vhostforce -device
virtio-net-pci,mac=00:00:00:00:00:01,netdev=mynet1 \-object
memory-backend-file,id=mem,size=1024M,mem-path=/dev/hugepages,share=on
-numa node,memdev=mem -mem-prealloc*
After the Virtual Machine is started, I found the offloads of the
Virtual Machine's virtio-net network adapter
are all disabled*.* The offloads status is checked with command*
ethtool -k eth0*. I try to enables the offloads with ethtool command,
but it does not work.
My questions are:
1. Can the offloads of the guest's virtio-net network adapter be
enabled when vhost-user is used?
2. If the offloads can't be enabled when vhost-user is used, what is the reason?
It will be great if someone from the forum could give the answers and clues.
Thanks.
Leo
next reply other threads:[~2015-08-24 13:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-24 13:09 leo zhu [this message]
2015-08-25 3:22 ` Tetsuya Mukawa
2015-08-25 3:27 ` Liu, Jijiang
2015-08-25 5:10 ` leo zhu
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='CALzAW8SqQXecja2cGQd5eZoKj8odk28YL11Y9=EuSVgaMM6QZg@mail.gmail.com' \
--to=leo.zhu510@gmail.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).