From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id DD8575921 for ; Mon, 1 Aug 2016 17:28:20 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 01 Aug 2016 08:27:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,455,1464678000"; d="scan'208";a="1033002087" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 01 Aug 2016 08:27:55 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 1 Aug 2016 08:27:53 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.80]) by fmsmsx158.amr.corp.intel.com ([169.254.15.173]) with mapi id 14.03.0248.002; Mon, 1 Aug 2016 08:27:53 -0700 From: "Wiles, Keith" To: Thomas Monjalon CC: "Steffen.Bauch@rohde-schwarz.com" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] Application framework vs. library Thread-Index: AQHR681dUNRwFpsA9U2A9qctXtC/b6A0Vg0AgABaO4A= Date: Mon, 1 Aug 2016 15:27:53 +0000 Message-ID: References: <5220604.46iZ36VITK@xps13> In-Reply-To: <5220604.46iZ36VITK@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.33.220] Content-Type: text/plain; charset="utf-8" Content-ID: <579D8A3FBAFBFA4FAD94B95349251AB2@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] Application framework vs. library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon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