On 12 Dec 2024, at 13:08, Ayshathul Thuhara via discuss wrote:

> Hi Team,
>
>    I am currently using OvS in our platform. I have come across OvS source in 
> github. I followed 
> https://docs.openvswitch.org/en/latest/howto/userspace-tunneling/ article to 
> test OvS-VXLAN.
>    I am able to test ping between VMs when eth0,tap0 interfaces are available.
>
>    But when I bind the interface with vfio using dpdk and create vhost, I am 
> not able to ping the VMs.
>    I have disabled the firewalls. I have added the appctl rules as specified 
> in the article. Still I was not able to ping the VMs.
>    When I create vhost and run QEMU, I am able to get the /tmp/vm_port0 
> socket.
>
>    I used below command to execute qemu ,
>
> /*    sudo taskset -c 1-5 /usr/libexec/qemu-kvm -enable-kvm -m 4096 -smp 5  
> -machine type=q35,accel=kvm -cpu host -name VM1 -no-reboot -net none -vnc 
> none -nographic -hda /opt/ovs/centos_os.qcow2     -netdev 
> type=vhost-user,id=vm_port0,chardev=vm_port0_socket -device 
> virtio-net-pci,netdev=vm_port0,mac=52:55:00:d1:55:01 -chardev 
> socket,id=vm_port0_socket,path=/tmp/vm_port0,server=on*/
>

This is the command option I use, which does the job for me:

 --network 
vhostuser,source_type=unix,source_path=/tmp/vhost-sock0,source_mode=server,model=virtio,driver_queues=2

For a full description on how I setup stuff, see this:

https://github.com/chaudron/ovs_perf/tree/RHEL8


>    Can you please let me know what else modification requires to ping VMs, 
> when dpdk is used?
>
>    Sorry to contact directly, I tried to reach via OpenvSwitch official mail 
> (ovs-discuss-ow...@openvswitch.org). But I have not received any responses 
> yet.
>
> Best regards,
> Ayshathul Thuhara

> _______________________________________________
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to