From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id C13DB567C for ; Thu, 28 Jul 2016 22:09:35 +0200 (CEST) Received: by mail-wm0-f51.google.com with SMTP id q128so265197961wma.1 for ; Thu, 28 Jul 2016 13:09:35 -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=2G+dH5SkvhuK1d+sGDBzrvL52QHkI0mm5iglL8Xcmz4=; b=kJoCu7S942ytKWu4dZCBEPmkTjaOW3s2vMi1FRpBW/CNb6LUMi23T/OhBBV4xRcekh ziM94U+nhzkpLlCIQ7icK5RI/flJi75j0Z8/k7JxWTtGMFxJBYctrlYKcfyyV4t6EZpj YC3KigtC/VhiJKqGMtSZzaF7VgDwdNCEchrqkimXnA117kuUqn5UqPndvQs2Y6BRDiDo IjGxKJiXfWTZa9vaFjgu+fXMUYn79hcDMuG6DrGL2Kwoxo5N7edae9yn2JswC+bRkHGp wHpkBt3JR1y3T6P1re9vP4igGfePHH0dzmv7Ww7mx75d/mDW4myitEMPYGHembE3f0H/ GY3A== 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=2G+dH5SkvhuK1d+sGDBzrvL52QHkI0mm5iglL8Xcmz4=; b=k1H1oXrLScPvGWfbpj+pNVlz5YUzQ0jMUdzafoaVBFIj9WVfZ6wqzQi5AYGJ6ihuPc UNHnugkpQE9JsMsvhYHAwBoNmwOETu6jzFVI4+iycJd8FA6yn4kW6UryHTm6FOaeF5Ps cQlUKcumNWxtHEcWIztxIHzWgNBGiCmYi1Yaoq1apiDuL/2ea0mgI8/vIQBUJ6ObNPrh Ww0ChhQXc64/4P6IIOCXlg/0KGdsnjYlJGWYMNnqod5uS6H9SpuBtLY3k6ae2a1+y61s Qs8PDKKHbChtlQ8xwCXYO+5GVBcrXQGi8Ynq0osusc/R2mFxc4V2A6cCDS5+Qg2o+k31 VxVg== X-Gm-Message-State: AEkoousdTrScwb2q5HnSYnDrfvQJqHeslha8F8HmX5lwFgiEFbyfyMZgMSVJBMsurHdDJuUTv+v9pifqqOgTHQ== X-Received: by 10.195.13.18 with SMTP id eu18mr34935965wjd.121.1469736575592; Thu, 28 Jul 2016 13:09:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.72.11 with HTTP; Thu, 28 Jul 2016 13:09:34 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCa0LjRgdC10LvQtdCy?= Date: Thu, 28 Jul 2016 23:09:34 +0300 Message-ID: To: yingzhi Cc: users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 20:09:36 -0000 Hi. You can use KNI interfaces to redirect the control plane traffic whether it's a bgp or any other routing protocol traffic to the KNI while forwarding data plane traffic using dpdk. It will allow your linux routing daemon to receive route updates without having a dedicated physical interface. After that you should find a way to redistribute the received routes back to your dpdk forwarding engine. To do that you can use linux netlink interface or quagga's FPM interface. The bird also has a API to export routes, but I am not shure. =D1=87=D0=B5=D1=82=D0=B2=D0=B5=D1=80=D0=B3, 28 =D0=B8=D1=8E=D0=BB=D1=8F 201= 6 =D0=B3. =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0= =BB=D1=8C yingzhi =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > 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 fo= r > 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. --=20 -- Kiselev Alexander