Re: [ovs-discuss] ovs-vsctl add-port -- how to specify particular DPDK device port?

2016-03-02 Thread John Wei
Please ignore my question on starting ovs-vswitchd in 2nd container. I solved that by giving each ovs-vswitchd its own hugepages directory. Then I run into different issue. On my machine, I have 126 SRIOV VFs. Each VF is bounded to DPDK. When starting ovs-vswitchd, it was able to deal with port 0-3

Re: [ovs-discuss] ovs-vsctl add-port -- how to specify particular DPDK device port?

2016-03-02 Thread John Wei
Hi Mark, Really appreciate your input. With your suggestion, I was able to pick the DPDK port be bounded with ovs-vswitchd.This helped me moved further. Now I realize the issue is that I can't run multiple copies of ovs-vswitchd in different containers. :) Since containers is supposed to give you v

Re: [ovs-discuss] ovs-vsctl add-port -- how to specify particular DPDK device port?

2016-03-02 Thread Kavanagh, Mark B
Hi John, If I understand your question correctly, you have multiple NIC ports bound to the DPDK driver, and of those, you want to bind a specific port to ovs-vswitchd? It would help me to answer your query more effectively if I had some more information on what your setup looks like, and what y

Re: [ovs-discuss] ovs-vsctl add-port -- how to specify particular DPDK device port?

2016-03-01 Thread John Wei
URL added: https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md On Tue, Mar 1, 2016 at 3:22 PM, John Wei wrote: > I am following instructions in this URL to setup ovs to use with DPDK. > > With the instruction, the first two dpdk ports were always used bu ovs: > > ovs-vsctl add-port br

[ovs-discuss] ovs-vsctl add-port -- how to specify particular DPDK device port?

2016-03-01 Thread John Wei
I am following instructions in this URL to setup ovs to use with DPDK. With the instruction, the first two dpdk ports were always used bu ovs: ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk ovs-vsctl add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk How to tell ovs-vswitchd to