On Tue, Sep 08, 2015 at 10:06:47AM -0700, Gayathri wrote:
> Hi Flavio,
> 
> Thank you for your reply.
> 
> To have service chaining between two VMs with DPDK OVS on the host, what is
> the configuration required in the below setup.
> With ofports being as under, will the below configuration suffice, plz
> suggest
>  dpdkvhost1 = ofport is 2
> dpdkvhost2 = ofport is 4

You have to configure each VM to use vhostuser ports as described in 
the file INSTALL.DPDK.md.


> ovs-ofctl add-flow br0 in_port=2,action=output:4

That takes care of only one direction, port 2 -> port 4.

fbl



> 
> MYBOX:~/OVS$ sudo ovs-vsctl show
> 39834e02-bf59-4219-8200-b91297015e92
>      Bridge "br0"
>         Port "dpdk0"
>             Interface "dpdk0"
>                 type: dpdk
>         Port "br0"
>             Interface "br0"
>                 type: internal
>         Port "dpdkvhost0"
>             Interface "dpdkvhost0"
>                 type: dpdkvhostuser
>         Port "dpdkvhost1"
>             Interface "dpdkvhost1"
>                 type: dpdkvhostuser
>         Port "dpdk1"
>             Interface "dpdk1"
>                 type: dpdk
> 
> Regards,
> Gayathri
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to