From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 003F23989 for ; Wed, 1 Jun 2016 17:00:15 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 01 Jun 2016 08:00:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,401,1459839600"; d="scan'208";a="712282022" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 01 Jun 2016 08:00:13 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 1 Jun 2016 08:00:12 -0700 Received: from fmsmsx113.amr.corp.intel.com ([169.254.13.77]) by FMSMSX152.amr.corp.intel.com ([169.254.6.153]) with mapi id 14.03.0248.002; Wed, 1 Jun 2016 08:00:11 -0700 From: "Wiles, Keith" To: Yuanhan Liu , Thomas Monjalon CC: "dev@dpdk.org" , "Richardson, Bruce" , "Tan, Jianfeng" , Stephen Hemminger , Christian Ehrhardt , Panu Matilainen , Olivier Matz Thread-Topic: [RFC] Yet another option for DPDK options Thread-Index: AQHRvBZLCGKGMklZpEajcbLRIxr7Ow== Date: Wed, 1 Jun 2016 15:00:11 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.122.8] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: [dpdk-dev] [RFC] Yet another option for DPDK options 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: Wed, 01 Jun 2016 15:00:16 -0000 U3RhcnRlZCBmc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