DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK/OVS on a Linux Router
@ 2017-03-06 20:06 Luca Salvatore
  0 siblings, 0 replies; only message in thread
From: Luca Salvatore @ 2017-03-06 20:06 UTC (permalink / raw)
  To: users

Hello,

I'm playing with setting up a linux based router using OVS and DPDK.
The server is running Ubuntu 16.04 with kernel 4.4.0-59.  OVS is 2.5 and
DPDK 17.02

The server has 2x Intel XL710 NICs.  The goal is to have 2x 40G ports in a
LACP bond as the "public" side and the other 2x 40G ports in a LACP bond as
the "internal" side.

The server will not have any VMs running, it's job is to act as a router
and that is all.

I'm at the point where i'm not really sure what I need to do next.  I have
OVS working correctly with DPDK:

root@lab1:~# ps -ef | grep dpdk
root      6736     1 93 19:33 ?        00:26:42 ovs-vswitchd --dpdk -c 0x1
-n 2 -- unix:/var/run/openvswitch/db.sock --pidfile --detach

I have a DPDK interface inside OVS:

root@lab1:~# ovs-vsctl show
b73adca4-54d9-4c96-827f-c855a3290b19
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "dpdk0"
            Interface "dpdk0"
                type: dpdk
    ovs_version: "2.5.0"

And i have bound all the intel NICs to DPDK


root@lab1:~# dpdk_nic_bind --status

Network devices using DPDK-compatible driver
============================================
0000:41:00.0 'Ethernet Controller XL710 for 40GbE QSFP+' drv=vfio-pci
unused=i40e
0000:41:00.1 'Ethernet Controller XL710 for 40GbE QSFP+' drv=vfio-pci
unused=i40e
0000:42:00.0 'Ethernet Controller XL710 for 40GbE QSFP+' drv=vfio-pci
unused=i40e
0000:42:00.1 'Ethernet Controller XL710 for 40GbE QSFP+' drv=vfio-pci
unused=i40e


So, now what? :)
I'm not even sure how to setup my bonding anymore since eth0/1/2/3 are all
"owned" by DPDK and my /etc/network/interfaces config doesn't seem to work.

Anyone got any pointers or reading I could look into?

thanks
Luca.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-06 20:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-06 20:06 [dpdk-users] DPDK/OVS on a Linux Router Luca Salvatore

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).