From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 87E845F67; Thu, 15 Mar 2018 18:29:48 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2018 10:29:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,311,1517904000"; d="scan'208";a="24834426" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga008.fm.intel.com with ESMTP; 15 Mar 2018 10:29:46 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 15 Mar 2018 10:29:46 -0700 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.171]) by FMSMSX109.amr.corp.intel.com ([169.254.15.144]) with mapi id 14.03.0319.002; Thu, 15 Mar 2018 10:29:45 -0700 From: "Wiles, Keith" To: Stephen Hemminger CC: "Melik-Adamyan, Areg" , "dev@dpdk.org" , "techboard@dpdk.org" , "Yigit, Ferruh" , "Richardson, Bruce" , "Ananyev, Konstantin" , "O'Driscoll, Tim" Thread-Topic: [dpdk-dev] [dpdk-techboard] Request to create a repo under DPDK for Network Function Framework for Go Thread-Index: AdO8CNIRrZ07R+IHTYWSRS2WXmp6awAb+8+AAA7UFQAAAnPKgA== Date: Thu, 15 Mar 2018 17:29:44 +0000 Message-ID: <689D174B-0AF6-4661-920E-7356F18F2005@intel.com> References: <20180315091930.12b2a094@xeon-e3> In-Reply-To: <20180315091930.12b2a094@xeon-e3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.255.71.6] Content-Type: text/plain; charset="us-ascii" Content-ID: <7073C666C81009488257F38673A9135A@intel.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-techboard] Request to create a repo under DPDK for Network Function Framework for Go X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2018 17:29:49 -0000 > On Mar 15, 2018, at 11:19 AM, Stephen Hemminger wrote: >=20 > On Thu, 15 Mar 2018 16:15:21 +0000 > "Melik-Adamyan, Areg" wrote: >=20 >> Hello. >>=20 >> Within Intel, we developed and open-sourced a DPDK based high-level libr= ary and runtime named Network Function Framework for Go (NFF-Go: https://gi= thub.com/intel-go/nff-go) which is intended to simplify packet processing a= pplications, especially for cloud-native deployment. Based on DPDK NFF-Go p= rovides higher-level packet processing functions in native Go alongside wit= h simple, powerful runtime. >> NFF-Go library itself is not a set of wrappers over 'C' calls to DPDK as= that would result in poor performance due to the 300-1500 cycles that can = be spent by a context switch. Instead, NFF-Go uses pointers from the DPDK i= nitialization of the device mbuf structures. It permits copying of packet d= ata between Go's safe and DPDK/C unsafe memory. NFF-Go works everywhere whe= re DPDK works. >> *Capabilities:* Library provides functions to create packet processing g= raph from user-defined or predefined functions. The graph can be arbitrary = but will need to have a single entry point. The user can freely use both sy= nchronous and asynchronous programming capabilities provided by Go language= . Also, auto-scaling is automatically provided by the built-in scheduler us= ing cores as needed, and freeing them after use. NFF-Go provides an alterna= tive development environment for creating network functions using a smaller= number of lines of code compared to DPDK/C without sacrificing performance= . These capabilities make it possible to implement run-till-completion pack= et processing model. The library includes a component called boundary node= , which allows consuming packet data from all types of sources: Ethernet, f= ile, memory buffer, remote procedure call and then applying the packets to = the processing graph which will be transparently deployed through any cloud= orchestration engine. >> *Benefit* NFF-Go is based on the DPDK and lowers the entry barrier for b= ringing packet processing to less experienced developers and push towards c= loud-native usages. We strongly believe that NFF-Go is complementary to DPD= K. Having a closer link between them should help both projects - it will ea= se pickup from one source/repo the needed set of features to be used, rathe= r than us just providing a disjointed collection of software projects which= are hosted in different places. >>=20 >> We expect the initial commit to include the following: >>=20 >> - Low, Asm - low-level C and ASM code for gluing DPDK >>=20 >> - Packet - a library that provides an abstraction for packet an= d tools to manipulate >>=20 >> - Flow - library to provide an abstraction for packet flows >>=20 >> - Scheduler - runtime and a scheduler for auto-scaling and inte= gration with RSS >>=20 >> - Examples: >>=20 >> o Forwarding - simple L3 forwarding >>=20 >> o Firewall - an example of simple ACL based firewall >>=20 >> o Tutorial - step based tutorial how to use NFF-Go >>=20 >> o NAT - an example of production grade Network Address Translation >>=20 >> o AntiDDOS - simple example of AntiDDOS on L3 >>=20 >> - Automation scripts - helping to build, deploy and test applic= ations on a single host >>=20 >> Thanks, >> Areg Melik-Adamyan >> Engineering Manager >> Developer Products Divison >> Intel Corporation >=20 > I am ok with it being on DPDK, but might it make more sense on github or = under FD.io? > Or is there some legal and/or political reason not to? There is no legal or political reason is my guess and only because it is cl= osely connected to DPDK is the reason. I know that DPDK TAC and others are not wanting to have a lot of repos in D= PDK.org for maintains reason and I agree. I would like to see us use a single GitHub account to house these different= projects as then we would have a much cleaner one stop shopping for DPDK r= elated projects. We have the mirror for DPDK on GitHub https://github.com/D= PDK and we could easily add all of these projects in this organization acco= unt as Thomas seems to be the only person attached to the account. We could= then allow people to move projects to this account with the correct permis= sion or restrictions as we see fit and allow other (TAC member?) to help ma= nage the account. It may cost some money at some point, but I have not looked into it more th= en a year. Regards, Keith