From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id C5D681B485 for ; Thu, 28 Jun 2018 17:40:03 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jun 2018 08:40:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,284,1526367600"; d="scan'208";a="62934681" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 28 Jun 2018 08:39:47 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 28 Jun 2018 08:39:46 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 28 Jun 2018 08:39:46 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.51]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.116]) with mapi id 14.03.0319.002; Thu, 28 Jun 2018 23:39:44 +0800 From: "Liu, Yong" To: Maxime Coquelin , "Bie, Tiwei" CC: "Wang, Zhihong" , "dev@dpdk.org" Thread-Topic: [PATCH v3 08/11] net/virtio: add in-order Rx/Tx into selection Thread-Index: AQHUDulk2OnImEkdtUSOLXOwtZchV6R1Qe0AgACLJzA= Date: Thu, 28 Jun 2018 15:39:43 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E630CDAE9@SHSMSX103.ccr.corp.intel.com> References: <20180628215235.106069-1-yong.liu@intel.com> <20180628215235.106069-9-yong.liu@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjZmMDRlZWUtMDFlYi00OGMxLTkzMzUtM2M2YWRiZmU2Y2E5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiazhIWmZqYnlXVDdlYmJabVhBamhxNmxVdlVGUTNTNFJnQzBXYytCeTdqRDN1TzVydXl5MGRBUVBLdFkybyt2biJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 08/11] net/virtio: add in-order Rx/Tx into selection 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, 28 Jun 2018 15:40:04 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF4aW1lIENvcXVlbGlu IFttYWlsdG86bWF4aW1lLmNvcXVlbGluQHJlZGhhdC5jb21dDQo+IFNlbnQ6IFRodXJzZGF5LCBK dW5lIDI4LCAyMDE4IDExOjE2IFBNDQo+IFRvOiBMaXUsIFlvbmcgPHlvbmcubGl1QGludGVsLmNv bT47IEJpZSwgVGl3ZWkgPHRpd2VpLmJpZUBpbnRlbC5jb20+DQo+IENjOiBXYW5nLCBa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