From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 460C05F25; Thu, 15 Mar 2018 17:15:36 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2018 09:15:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,311,1517904000"; d="scan'208,217";a="25553370" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga008.jf.intel.com with ESMTP; 15 Mar 2018 09:15:22 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 15 Mar 2018 09:15:22 -0700 Received: from fmsmsx104.amr.corp.intel.com ([169.254.3.244]) by fmsmsx118.amr.corp.intel.com ([169.254.1.18]) with mapi id 14.03.0319.002; Thu, 15 Mar 2018 09:15:21 -0700 From: "Melik-Adamyan, Areg" To: "dev@dpdk.org" , "techboard@dpdk.org" CC: "Yigit, Ferruh" , "Richardson, Bruce" , "Ananyev, Konstantin" , "O'Driscoll, Tim" Thread-Topic: Request to create a repo under DPDK for Network Function Framework for Go Thread-Index: AdO8CNIRrZ07R+IHTYWSRS2WXmp6awAb+8+A Date: Thu, 15 Mar 2018 16:15:21 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.1.200.106] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] 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 16:15:37 -0000 Hello. Within Intel, we developed and open-sourced a DPDK based high-level library= and runtime named Network Function Framework for Go (NFF-Go: https://githu= b.com/intel-go/nff-go) which is intended to simplify packet processing appl= ications, especially for cloud-native deployment. Based on DPDK NFF-Go prov= ides higher-level packet processing functions in native Go alongside with s= imple, powerful runtime. NFF-Go library itself is not a set of wrappers over 'C' calls to DPDK as th= at 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 init= ialization of the device mbuf structures. It permits copying of packet data= between Go's safe and DPDK/C unsafe memory. NFF-Go works everywhere where = DPDK works. *Capabilities:* Library provides functions to create packet processing grap= h 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 synch= ronous and asynchronous programming capabilities provided by Go language. A= lso, auto-scaling is automatically provided by the built-in scheduler using= cores as needed, and freeing them after use. NFF-Go provides an alternativ= e development environment for creating network functions using a smaller nu= mber of lines of code compared to DPDK/C without sacrificing performance. T= hese capabilities make it possible to implement run-till-completion packet = processing model. The library includes a component called boundary node, w= hich allows consuming packet data from all types of sources: Ethernet, file= , memory buffer, remote procedure call and then applying the packets to the= processing graph which will be transparently deployed through any cloud or= chestration engine. *Benefit* NFF-Go is based on the DPDK and lowers the entry barrier for brin= ging packet processing to less experienced developers and push towards clou= d-native usages. We strongly believe that NFF-Go is complementary to DPDK. = Having a closer link between them should help both projects - it will ease = pickup from one source/repo the needed set of features to be used, rather t= han us just providing a disjointed collection of software projects which ar= e hosted in different places. We expect the initial commit to include the following: - Low, Asm - low-level C and ASM code for gluing DPDK - Packet - a library that provides an abstraction for packet and t= ools to manipulate - Flow - library to provide an abstraction for packet flows - Scheduler - runtime and a scheduler for auto-scaling and integra= tion with RSS - Examples: o Forwarding - simple L3 forwarding o Firewall - an example of simple ACL based firewall o Tutorial - step based tutorial how to use NFF-Go o NAT - an example of production grade Network Address Translation o AntiDDOS - simple example of AntiDDOS on L3 - Automation scripts - helping to build, deploy and test applicati= ons on a single host Thanks, Areg Melik-Adamyan Engineering Manager Developer Products Divison Intel Corporation