From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com [209.85.217.170]) by dpdk.org (Postfix) with ESMTP id 14A3F376C for ; Thu, 28 Jul 2016 18:37:39 +0200 (CEST) Received: by mail-ua0-f170.google.com with SMTP id 35so43715544uap.1 for ; Thu, 28 Jul 2016 09:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kOxmZ510GJHkbBM1OkACdtNC/01I00aGB6mgJCR2dcA=; b=DcQzBuMrpWwE2ZQAtg8CAw6wxZYezUOuBuvWKLRJ/4RcdtM9RHiflZo724cm6giUnn j+PMpE0iqTsMMUyzW/yPBaCwUeQdDL1xz8uELQWJLuR73JV+5waYWoQTZP8pXXDSqgbt 6+NCGz/dljI3fV4EA01WrPiwjWQfaFF0t5Mp6+QGYBjLacf+3pQAUgWwEbgleq6/LEmc FtnDpyXqFGAuJY2PwaCA7iY/uCeBVrjXKj+tpRMMvKWiBvNLS7JeuP22r4LY5RRMqjz0 G6VM6nLlx/Il7n/g0L8A91ScHKwxuraZX1Imykq459lJ78zKzly9nh9Tz82XTa9vDYDD /gsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kOxmZ510GJHkbBM1OkACdtNC/01I00aGB6mgJCR2dcA=; b=McfFP0/Pg6ee0cuLHqTGUENe0MwKlyRDpOu7/8wc7SDf5jTpyxM6QqSKLa1uVzvjOQ F7oC7kgChpbfq6vPn9v9QSVQpp1pKc3fdvr+ibXoVFbSoyb+663VLqqWu2wcX/xnqm7F 2bNgyf7oXsHkDuo897i+XtbCuGyQLz/IAVMzvp4vFeCGuMAFvmrQL/BxszPMHetNrddY suQxORDPKP3wT2v87G0V3152AEqhMgyebop9/1nhULTmPZ+h1ZXJrk2aIaP400RXsqKI bTQEcHvE6rMuQCC6PeLcfeMR/SD6JUnsZFjjrRCE/BOomnEfYuFqolUo53HkzgP6ibQq ld6g== X-Gm-Message-State: AEkoousXaOaVJnSV8TguiSFLbeN3AmNqBFdYMrr0/0xxq+BeuIS7Txs4Je8f4d78eiG6y6G1Rry2DFZ2DEnfJQ== X-Received: by 10.159.32.66 with SMTP id 60mr16809793uam.100.1469723858428; Thu, 28 Jul 2016 09:37:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.64.129 with HTTP; Thu, 28 Jul 2016 09:37:38 -0700 (PDT) In-Reply-To: References: From: dave seddon Date: Thu, 28 Jul 2016 09:37:38 -0700 Message-ID: To: yingzhi Cc: users Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] Question regarding packet availability X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2016 16:37:39 -0000 G'day, BGP peers can advertise routes with a next-hop of a 3rd party neighbor. This is often used at IX peering peering points across a Ethernet switch with a route-reflector (RR). The peers all advertise routes to the RR, and then the RR send the routes to all the other peers with the next hop not of the RR, but of the 3rd party neighbor. Using this, you should be able to use a different NIC on your host machine, or different machine all together, to run Bird/Quagga BGP to advertise multiple routes with the next hop IP of our DPDK process(es) using a different NICs. This way you won't need to (re)implement a BGP solution in DPDK. Info about 3rd party neighbors here with pictures, and it's obviously also covered in detail within the BGP RFCs: http://blog.ine.com/2010/09/02/understanding-third-party-next-hop/ You should think carefully about the health checking, and could also consider that your BGP process could adjust the bandwidth to the different next hop IPs taking advantage of Link Bandwidth Extended communities which you can advertise with Bird and both Juniper and Cisco support from an ECMP perspective: http://bird.network.cz/pipermail/bird-users/2014-December/009456.html Hope this helps, as your project sounds interesting. Kind regards, Dave On Thu, Jul 28, 2016 at 3:00 AM, yingzhi wrote: > Hi All, > > > I'm new to DPDK and would like to ask some quick questions. > We are trying to develop a Load Balance solution that take advantage of > ECMP with BGP, so there is a BGP process running on our LB node, and we'd > like to use DPDK to improve packet processing performance. > The questions is, if DPDK bind to a interface, can it still > sending/receiving BGP packets or I need a separate interface dedicated for > BGP? In the later case, can the BGP process still aware of the DPDK bond > port's network and announce that network to uplink router? > > > Any comment/advice is appreciated. > > > Thanks in advance. -- Regards, Dave Seddon +1 415 857 5102