From: Luca Salvatore <luca@digitalocean.com>
To: users@dpdk.org
Subject: [dpdk-users] DPDK/OVS on a Linux Router
Date: Mon, 6 Mar 2017 15:06:00 -0500 [thread overview]
Message-ID: <CANjEN-G7qFin9=BA9fcfR_Qx5BoFqTfKRGwDU5ZtHEXjq07KAw@mail.gmail.com> (raw)
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.
reply other threads:[~2017-03-06 20:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CANjEN-G7qFin9=BA9fcfR_Qx5BoFqTfKRGwDU5ZtHEXjq07KAw@mail.gmail.com' \
--to=luca@digitalocean.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).