DPDK usage discussions
 help / color / mirror / Atom feed
From: dave seddon <dave.seddon.ca@gmail.com>
To: yingzhi <kaitoy@qq.com>
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] Question regarding packet availability
Date: Thu, 28 Jul 2016 09:37:38 -0700	[thread overview]
Message-ID: <CANypexT_5eR=7Oone3VOWGeXTHzzp=d2zLDzEM+xEEbguv4c2Q@mail.gmail.com> (raw)
In-Reply-To: <tencent_00F43648467DCCF27BF76A74@qq.com>

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 <kaitoy@qq.com> 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

  reply	other threads:[~2016-07-28 16:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-28 10:00 yingzhi
2016-07-28 16:37 ` dave seddon [this message]
2016-07-28 20:09 ` Александр Киселев

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='CANypexT_5eR=7Oone3VOWGeXTHzzp=d2zLDzEM+xEEbguv4c2Q@mail.gmail.com' \
    --to=dave.seddon.ca@gmail.com \
    --cc=kaitoy@qq.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).