* How to use dpdk ovs
@ 2015-05-07 13:12 topperxin
[not found] ` <15a973e7.12107.14d2e815ade.Coremail.topperxin-KN7UnAbNpbg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: topperxin @ 2015-05-07 13:12 UTC (permalink / raw)
To: dev-VfR2kkLFssw
Hi all
I'm freshman of dpdk.
And , I want to use dpdk ovs. I compiled successfully.
like:
Bridge "br0"
Port "br0"
Interface "br0"
type: internal
Port "dpdk0"
Interface "dpdk0"
type: dpdk
But ,I don't know how to use the dpdk port, how to let the data flow go through the dpdk0?
Who can tell me, thanks a lot.
lx
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <15a973e7.12107.14d2e815ade.Coremail.topperxin-KN7UnAbNpbg@public.gmane.org>]
* Re: How to use dpdk ovs [not found] ` <15a973e7.12107.14d2e815ade.Coremail.topperxin-KN7UnAbNpbg@public.gmane.org> @ 2015-05-07 13:29 ` Ravi Rao 2015-05-07 13:49 ` Gray, Mark D 1 sibling, 0 replies; 3+ messages in thread From: Ravi Rao @ 2015-05-07 13:29 UTC (permalink / raw) To: topperxin, dev-VfR2kkLFssw Hi, Below are the seps that I followed to get DPDK with OVS. Some of the paths need to be changed to your env.. #12 Test Switching using OpenVSwitch with DPDK ************** #--- Setup the ifaces as dpdk.. cd /home/vnspteam01/dpdk-1.7.1 cd /home/vnspteam01/dpdk-1.8.0 sudo modprobe uio sudo modprobe cuse sudo rmmod igb_uio sudo rmmod rte_kni sudo insmod x86_64-native-linuxapp-gcc/kmod/igb_uio.ko #**** Assign the dpdk capable interfaces to igb_uio driver tools/dpdk_nic_bind.py --status sudo /home/vnspteam01/dpdk-1.7.1/tools/dpdk_nic_bind.py -b igb_uio 0000:02:00.0 sudo /home/vnspteam01/dpdk-1.7.1/tools/dpdk_nic_bind.py -b igb_uio 0000:02:00.1 /home/vnspteam01/dpdk-1.7.1/tools/dpdk_nic_bind.py --status #--- Setup the openVswitch su -l cd /home/vnspteam01/openvswitch-2.3.1 pkill -9 ovs mkdir -p /usr/local/etc/openvswitch mkdir -p /usr/local/var/run/openvswitch rm -rf /usr/local/etc/openvswitch/conf.db ovsdb/ovsdb-tool create /usr/local/etc/openvswitch/conf.db vswitchd/vswitch.ovsschema #Start ovsdb-server ovsdb/ovsdb-server --remote=punix:/usr/local/var/run/openvswitch/db.sock --remote=db:Open_vSwitch,Open_vSwitch,manager_options --pidfile --detach utilities/ovs-vsctl --no-wait init #Start vswitchd: export DB_SOCK=/usr/local/var/run/openvswitch/db.sock vswitchd/ovs-vswitchd --dpdk -c 0x3 -n 4 --syslog syslog -- unix:$DB_SOCK --pidfile --detach #Add bridge & ports utilities/ovs-vsctl add-br ovs-br0 -- set bridge ovs-br0 datapath_type=netdev utilities/ovs-vsctl add-port ovs-br0 dpdk0 -- set Interface dpdk0 type=dpdk utilities/ovs-vsctl add-port ovs-br0 dpdk1 -- set Interface dpdk1 type=dpdk #display utilities/ovs-vsctl show utilities/ovs-vsctl list interface dpdk0 utilities/ovs-vsctl list interface dpdk1 #Add test flows utilities/ovs-ofctl del-flows br0 # Add flows between port 1 (dpdk0) to port 2 (dpdk1) utilities/ovs-ofctl add-flow br0 in_port=1,action=output:2 utilities/ovs-ofctl add-flow br0 in_port=2,action=output:1 Regards, Ravi On 05/07/15 08:12, topperxin wrote: > Hi all > I'm freshman of dpdk. > And , I want to use dpdk ovs. I compiled successfully. > like: > Bridge "br0" > Port "br0" > Interface "br0" > type: internal > Port "dpdk0" > Interface "dpdk0" > type: dpdk > But ,I don't know how to use the dpdk port, how to let the data flow go through the dpdk0? > Who can tell me, thanks a lot. > > lx > ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to use dpdk ovs [not found] ` <15a973e7.12107.14d2e815ade.Coremail.topperxin-KN7UnAbNpbg@public.gmane.org> 2015-05-07 13:29 ` Ravi Rao @ 2015-05-07 13:49 ` Gray, Mark D 1 sibling, 0 replies; 3+ messages in thread From: Gray, Mark D @ 2015-05-07 13:49 UTC (permalink / raw) To: topperxin, dev-VfR2kkLFssw@public.gmane.org > Subject: [dpdk-dev] How to use dpdk ovs [...] > Who can tell me, thanks a lot. > you should post to discuss-yBygre7rU0TnMu66kgdUjQ@public.gmane.org ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-07 13:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-07 13:12 How to use dpdk ovs topperxin
[not found] ` <15a973e7.12107.14d2e815ade.Coremail.topperxin-KN7UnAbNpbg@public.gmane.org>
2015-05-07 13:29 ` Ravi Rao
2015-05-07 13:49 ` Gray, Mark D
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).