[ovs-discuss] vhost-user multiqueue

2018-11-22 Thread 梁永正
Hi

 I have met a problem.In function reconfigure_datapath, port->dynamic_txqs = 
netdev_n_txq(port->netdev) < wanted_txqs; seems always be zero.

 If I want to enable multiqueue of the vhost-user device.Does the pmd-threads 
must be the same number with the queues? Looking forward to your reply!___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


[ovs-discuss] Port persistence after a network.service restart

2018-11-22 Thread Alexander Witte
Hi!

Quick question hopefully someone can help me out with!

Environment- OVS and KVM running in Fedora29 Desktop.

I’m creating my OVS ports programmatically via virt-install on VM creation.  
(I’ve defined a libvirt network that associates some portgroups with the OVS).  
This works fine and adds the ports to the OVS.  When I restart the 
network.service on the host, it wipes all the port configs in OVS.  Any tips on 
for what I can do to make these ports persistent?

Example of a virt-install command:

virt-install  -n wlc  --description "Wireless Lan Controller VM"  
--os-type=Linux  --ram=4096  --vcpus=1 --cpu mode=host-passthrough  --disk 
device=cdrom,bus=sata --disk 
path=/var/lib/libvirt/qemu/wlc2.img,size=8,sparse=true,format=raw,bus=ide 
--network network:CentralNetwork,portgroup=mgmt,target=wlc-mgmt,model=virtio 
--network 
network:CentralNetwork,portgroup=wlc-trunk,target=wlc-trunk,model=virtio 
--graphics vnc,listen=0.0.0.0,port=5901 --boot cdrom,hd

Here’s my libvirt network:

[root@lannardemo ~]# virsh net-dumpxml CentralNetwork

  CentralNetwork
  7e2b0cf2-2d7e-4163-9fd3-599bad514a02
  
  
  
  
  
  

  

  
  
  
  

  

  
  

  

  


Here’s my OVS:

[root@lannardemo ~]# ovs-vsctl show
43553455-1708-4291-a000-cef31dc3620a
Bridge rootbridge
Port "enp5s0"
Interface "enp5s0"
Port utility-client
tag: 101
Interface utility-client
Port utility-capwap
tag: 2
Interface utility-capwap
Port rootbridge
Interface rootbridge
type: internal
Port utility-mgmt
Interface utility-mgmt
ovs_version: "2.10.0"
[root@lannardemo ~]#

Thanks!!
AlexW
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss