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 741AE2C4F for ; Wed, 28 Dec 2016 07:48:07 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 27 Dec 2016 22:48:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,421,1477983600"; d="scan'208";a="916751166" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 27 Dec 2016 22:48:05 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 27 Dec 2016 22:48:05 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 27 Dec 2016 22:48:05 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.177]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Wed, 28 Dec 2016 14:48:03 +0800 From: "Xing, Beilei" To: "Bie, Tiwei" CC: "Wu, Jingjing" , "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 15/17] net/i40e: add flow flush function Thread-Index: AQHSYArflMIk9469mEaa+oXbAbi/5KEcUlMAgACXZiA= Date: Wed, 28 Dec 2016 06:48:02 +0000 Message-ID: <94479800C636CB44BD422CB454846E013158BF48@SHSMSX101.ccr.corp.intel.com> References: <1480679625-4157-1-git-send-email-beilei.xing@intel.com> <1482819984-14120-1-git-send-email-beilei.xing@intel.com> <1482819984-14120-16-git-send-email-beilei.xing@intel.com> <20161228053556.GB28245@dpdk19> In-Reply-To: <20161228053556.GB28245@dpdk19> Accept-Language: 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="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 15/17] net/i40e: add flow flush function 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: Wed, 28 Dec 2016 06:48:08 -0000 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBCaWUsIFRpd2VpDQo+IFNlbnQ6 IFdlZG5lc2RheSwgRGVjZW1iZXIgMjgsIDIwMTYgMTozNiBQTQ0KPiBUbzogWGluZywgQmVpbGVp IDxiZWlsZWkueGluZ0BpbnRlbC5jb20+DQo+IENjOiBXdSwgSmluZ2ppbmcgPGppbmdqaW5nLnd1 QGludGVsLmNvbT47IFpoYW5nLCBIZWxpbg0KPiA8aGVsaW4uemhhbmdAaW50ZWwuY29tPjsgZGV2 QGRwZGsub3JnDQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2MiAxNS8xN10gbmV0 L2k0MGU6IGFkZCBmbG93IGZsdXNoIGZ1bmN0aW9uDQo+IA0KPiBPbiBUdWUsIERlYyAyNywgMjAx NiBhdCAwMjoyNjoyMlBNICswODAwLCBCZWlsZWkgWGluZyB3cm90ZToNCj4gPiBUaGlzIHBhdGNo IGFkZHMgaTQwZV9mbG93X2ZsdXNoIGZ1bmN0aW9uIHRvIGZsdXNoIGFsbCBmaWx0ZXJzIGZvcg0K PiA+IHVzZXJzLiBBbmQgZmxvdyBkaXJlY3RvciBmbHVzaCBmdW5jdGlvbiBpcyBpbnZvbHZlZCBm aXJzdC4NCj4gPg0KPiA+IFNpZ25lZC1vZmYtYnk6IEJlaWxlaSBYaW5nIDxiZWlsZWkueGluZ0Bp bnRlbC5jb20+DQo+ID4gLS0tDQ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