From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D89D4567C for ; Thu, 29 Oct 2015 09:14:56 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 29 Oct 2015 01:14:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,213,1444719600"; d="scan'208";a="837785266" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 29 Oct 2015 01:14:53 -0700 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 29 Oct 2015 01:14:52 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 29 Oct 2015 01:14:52 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.253]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.47]) with mapi id 14.03.0248.002; Thu, 29 Oct 2015 16:14:50 +0800 From: "Liang, Cunming" To: "Chen, Jing D" , "dev@dpdk.org" Thread-Topic: [PATCH v3 04/16] fm10k: add func to re-allocate mbuf for RX ring Thread-Index: AQHREJx7k2QjyWjJqUKUcbkIjW8kV56A8D8AgAB8g4CAALQVEA== Date: Thu, 29 Oct 2015 08:14:50 +0000 Message-ID: References: <1445507104-22563-2-git-send-email-jing.d.chen@intel.com> <1445939209-12783-1-git-send-email-jing.d.chen@intel.com> <1445939209-12783-5-git-send-email-jing.d.chen@intel.com> <5630D48A.9000809@intel.com> <4341B239C0EFF9468EE453F9E9F4604D02AE60F4@shsmsx102.ccr.corp.intel.com> In-Reply-To: <4341B239C0EFF9468EE453F9E9F4604D02AE60F4@shsmsx102.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 04/16] fm10k: add func to re-allocate mbuf for RX ring 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: Thu, 29 Oct 2015 08:14:57 -0000 SGkgTWFya6OsDQoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBDaGVu LCBKaW5nIEQNCj4gU2VudDogVGh1cnNkYXksIE9jdG9iZXIgMjksIDIwMTUgMToyNCBQTQ0KPiBU bzogTGlhbmcsIEN1bm1pbmc7IGRldkBkcGRrLm9yZw0KPiBDYzogVGFvLCBaaGU7IEhlLCBTaGFv cGVuZzsgQW5hbnlldiwgS29uc3RhbnRpbjsgUmljaGFyZHNvbiwgQnJ1Y2UNCj4gU3ViamVjdDog UkU6IFtQQVRDSCB2MyAwNC8xNl0gZm0xMGs6IGFkZCBmdW5jIHRvIHJlLWFsbG9jYXRlIG1idWYg Zm9yIFJYIHJpbmcNCj4gDQo+IEhpLCBTdGV2ZSwNCj4gDQo+IEJlc3QgUmVnYXJkcywNCj4gTWFy aw0KPiANCj4gDQo+ID4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPiBGcm9tOiBMaWFu ZywgQ3VubWluZw0KPiA+IFNlbnQ6IFdlZG5lc2RheSwgT2N0b2JlciAyOCwgMjAxNSA5OjU5IFBN DQo+ID4gVG86IENoZW4sIEppbmcgRDsgZGV2QGRwZGsub3JnDQo+ID4gQ2M6IFRhbywgWmhlOyBI ZSwgU2hhb3Blbmc7IEFuYW55ZXYsIEtvbnN0YW50aW47IFJpY2hhcmRzb24sIEJydWN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