[dpdk-users] DPDK/OVS on a Linux Router
Luca Salvatore
luca at digitalocean.com
Mon Mar 6 21:06:00 CET 2017
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 at 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 at 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 at 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.
More information about the users
mailing list