qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [wiki] New wiki page - vhost-user setup with ovs/dpdk b


From: Alexandre DERUMIER
Subject: Re: [Qemu-devel] [wiki] New wiki page - vhost-user setup with ovs/dpdk backend
Date: Tue, 22 Sep 2015 16:17:12 +0200 (CEST)

Hi,

Ovs documentation say that 1GB hugepage are needed
https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md

is is true ?  (as the wiki say 2M hugepages)


----- Mail original -----
De: "Star Chang" <address@hidden>
À: "Marcel Apfelbaum" <address@hidden>
Cc: "qemu-devel" <address@hidden>
Envoyé: Mardi 22 Septembre 2015 07:43:13
Objet: Re: [Qemu-devel] [wiki] New wiki page - vhost-user setup with ovs/dpdk 
backend

Thanks Marcel!!! 


After tailing the logs and basic troubleshooting, we finally can have 2 VMs to 
ping to each other. One dpdkvhostuser interface is for each VM and we have to 
new add flows based on dpdkvhostuser ofport numbers. 


Another issue we might post it to proper mail loop is that we run pktgen-dpdk 
2.9.1 inside of VM but no packets counted from pktgen terminal display. It is 
so weird that we only see 128 tx packets bursted out and then nothing is 
continue working. After that, we try to dump-flows via ovs-ofctl utility but it 
shows "connection refued". I am not sure have any one of you guys ideas here? 
Thanks!!! 





Bridge "ovsbr0" 

Port "ovsbr0" 

Interface "ovsbr0" 

type: internal 

Port "dpdk1" 

Interface "dpdk1" 

type: dpdk 

Port "dpdk0" 

Interface "dpdk0" 

type: dpdk 

Port "vhost-user1" 

Interface "vhost-user1" 

type: dpdkvhostuser 

Port "vhost-user0" 

Interface "vhost-user0" 

type: dpdkvhostuser 

On Tue, Sep 22, 2015 at 2:34 AM, Marcel Apfelbaum < address@hidden > wrote: 


On 09/21/2015 11:25 AM, Marcel Apfelbaum wrote: 

BQ_BEGIN
On 09/21/2015 08:01 AM, Star Chang wrote: 

BQ_BEGIN
Hi Marcel: 

Many thanks for you to contribute wiki page in how to configuring vhost-user 
type with openvsitch/qemu in VM environment. 

We bring 2 VMs up with vhost-user type. We can see eth0 interfaces created in 2 
VMs with proper mac address we assign. After IP address assignment, 2 VMs could 
not PING to each other when they are in 
the same subnet. There are not packets at all in count when running ovs-ofctl 
dump-ports :( 

However, we check link up state via ovs-ofctl utility but LINK_DOWN as below. 
Have any one with experiences and give some helps … Thanks!! 




Hi, 

I would look into OVS log for specific issues: 

journalctl --since `date +%T --date="-10 minutes"` 

The above command will show you the last 10 minutes log. 
You are welcomed to show us the log. 


BQ_END

I forgot to CC the list. 

Thanks, 
Marcel 



BQ_BEGIN
Thanks, 
Marcel 


BQ_BEGIN
$ sudo ./utilities/ovs-ofctl show ovsbr0 
OFPT_FEATURES_REPLY (xid=0x2): dpid:00000670da615e4a 
n_tables:254, n_buffers:256 
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP 
actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src 
mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst 
1(vhost-user1): addr:00:00:00:00:00:00 
config: PORT_DOWN 
state: LINK_DOWN 
speed: 0 Mbps now, 0 Mbps max 
2(vhost-user2): addr:00:00:00:00:00:00 
config: PORT_DOWN 
state: LINK_DOWN 
speed: 0 Mbps now, 0 Mbps max 
LOCAL(ovsbr0): addr:06:70:da:61:5e:4a 
config: PORT_DOWN 
state: LINK_DOWN 
current: 10MB-FD COPPER 
speed: 10 Mbps now, 0 Mbps max 
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0 



Thanks, 
Star 

-- 
The future belongs to those who believe in the beauty of their dreams. 



BQ_END


BQ_END


BQ_END




-- 
The future belongs to those who believe in the beauty of their dreams. 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]