From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f170.google.com (mail-qk0-f170.google.com [209.85.220.170]) by dpdk.org (Postfix) with ESMTP id B12F5914 for ; Mon, 6 Mar 2017 21:06:22 +0100 (CET) Received: by mail-qk0-f170.google.com with SMTP id v125so110535075qkh.2 for ; Mon, 06 Mar 2017 12:06:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digitalocean.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=BcsP26tDt8fbFKYmdBet2W5FsEq/W8oHh7mDyiD5MAc=; b=R4/SA9Gv4H5ZAY3u1H+vkg9hL34q8VHvU710etARvIw1qjl5/pufAFEXYN/INgh1eX H79MwtsHx1wN8NsDLizvo760PCdovpE8ePl1lA4KvP23eK2LFirFyzXoPCVVuHGf7XYl l/sYto1OmOHg5YrFegP8t0xPlkr1gEibyS+iI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BcsP26tDt8fbFKYmdBet2W5FsEq/W8oHh7mDyiD5MAc=; b=BqFPe3M2CzGblRJT3jUB1BgXmdJRtLDaEiAncSwLRgjevUxlJ4t/baWSTvFlSLUVrR niANOHkLCxvx4NBG/94Byo+nf+PzO1Ezwc7cpseTI8E8D4pdim5sFZf+20Zcrp+2iVys BA7hJDTcQSLVp7ay9aBSnBFgMzlgG3rEv0ENaCtvs7J2TF+GUZCuxnVNKub0CmucGALJ f55ukHkZTRdNqZtnP2/vu7EdoXcxoJ0pNbDS5G5wtw43Rvjo9ee2aSVvg1H6p6cANBAK dblS+vylI3Ro5dwvpBWEdGQaETVJ76A9IKueIXlxiagLa++CN0HByoC603hilyurrkG+ 5CWQ== X-Gm-Message-State: AMke39kQ4w2tN8RxkemCOEqWRIt9O/6z0c1eiNS3nNHt559yYv0GwvNQTxPqVquss6Gvr1RoGoTAlPx/kJqlp2c7 X-Received: by 10.55.114.199 with SMTP id n190mr17903482qkc.229.1488830781739; Mon, 06 Mar 2017 12:06:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.183.136 with HTTP; Mon, 6 Mar 2017 12:06:00 -0800 (PST) From: Luca Salvatore Date: Mon, 6 Mar 2017 15:06:00 -0500 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] DPDK/OVS on a Linux Router X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 20:06:22 -0000 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.