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 E9FFF5F2A for ; Tue, 13 Mar 2018 10:30:39 +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 orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2018 02:30:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,464,1515484800"; d="scan'208";a="24062796" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by fmsmga008.fm.intel.com with ESMTP; 13 Mar 2018 02:30:37 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.221]) by IRSMSX151.ger.corp.intel.com ([169.254.4.16]) with mapi id 14.03.0319.002; Tue, 13 Mar 2018 09:30:36 +0000 From: "Ananyev, Konstantin" To: Andrew Rybchenko , "Dai, Wei" , "Lu, Wenzhuo" , "Wu, Jingjing" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 1/2] app/testpmd: add commands to test new Rx offload API Thread-Index: AQHTupwBo6ko7kJirEOejixutZ6Zb6PN5lAQ Date: Tue, 13 Mar 2018 09:30:35 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772589E28F1B5@irsmsx105.ger.corp.intel.com> References: <1520842543-46810-1-git-send-email-wei.dai@intel.com> <1520923325-40400-1-git-send-email-wei.dai@intel.com> <1520923325-40400-2-git-send-email-wei.dai@intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjZhMzI3ZmQtODdlMy00MjA2LWEwNWUtZjk5NDU3ZjJiNDU2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6ImdIRGhTSGRkNHVNOUdodFBcL1VHbUFGSklPT3BjZGJzODBZdFNEY2ZPTUhrPSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 1/2] app/testpmd: add commands to test new Rx offload API 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: Tue, 13 Mar 2018 09:30:40 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBBbmRyZXcgUnliY2hlbmtvDQo+IFNlbnQ6 IFR1ZXNkYXksIE1hcmNoIDEzLCAyMDE4IDc6MjEgQU0NCj4gVG86IERhaSwgV2VpIDx3ZWkuZGFp QGludGVsLmNvbT47IEx1LCBXZW56aHVvIDx3ZW56aHVvLmx1QGludGVsLmNvbT47IFd1LCBKaW5n amluZyA8amluZ2ppbmcud3VAaW50ZWwuY29tPg0KPiBDYzogZGV2QGRwZGsub3JnDQo+IFN1Ympl Y3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2MiAxLzJdIGFwcC90ZXN0cG1kOiBhZGQgY29tbWFu ZHMgdG8gdGVzdCBuZXcgUnggb2ZmbG9hZCBBUEkNCj4gD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