[dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?

Bill Bonaparte programme110 at gmail.com
Sat Sep 30 10:47:05 CEST 2017


Hi, everybody:
     I am trying to run dpdk in xen guest, after trying dpdk17.05 without
success, I tried dpdk16.04 again.  and it's sucessful to run testpmd this
time. but it can't receive any packets.
     the command I used is :
./testpmd -l 1,2 -n 4 --vdev="eth_xenvirt0,mac=a6:38:57:e8:d5:be"
--vdev="eth_xenvirt1,mac=32:f1:42:55:94:74" -- --total-num-mbufs=2048

I read the xen guide again, I found the guide says:
DPDK provides a para-virtualization packet switching solution, based on the
Xen hypervisor’s Grant Table, Note 1, which provides simple and fast packet
switching capability between guest domains and host domain based on MAC
address or VLAN tag. This solution is comprised of two components; a Poll
Mode Driver (PMD) as the front end in the guest domain and a switching back
end in the host domain.

does it mean that dpdk running in DomU must cooperate with xen-vhost in
Dom0 ?
I really need your help.
I appreciate any reply from you .


More information about the dev mailing list