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 4C49220F for ; Wed, 28 Dec 2016 07:57:14 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 27 Dec 2016 22:57:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,421,1477983600"; d="scan'208";a="1087370228" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 27 Dec 2016 22:57:13 -0800 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 27 Dec 2016 22:57:13 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 27 Dec 2016 22:57:13 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.177]) by shsmsx102.ccr.corp.intel.com ([169.254.2.88]) with mapi id 14.03.0248.002; Wed, 28 Dec 2016 14:57:09 +0800 From: "Xing, Beilei" To: "Bie, Tiwei" CC: "Wu, Jingjing" , "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 12/17] net/i40e: destroy ethertype filter Thread-Index: AQHSYArBW7J9Op0JXU+wXas3gXHaPqEcR0CAgAClhOA= Date: Wed, 28 Dec 2016 06:57:08 +0000 Message-ID: <94479800C636CB44BD422CB454846E013158BF74@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-13-git-send-email-beilei.xing@intel.com> <20161228045616.GA28245@dpdk19> In-Reply-To: <20161228045616.GA28245@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 12/17] net/i40e: destroy ethertype filter 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:57:15 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBUaXdlaQ0KPiBT ZW50OiBXZWRuZXNkYXksIERlY2VtYmVyIDI4LCAyMDE2IDEyOjU2IFBNDQo+IFRvOiBYaW5nLCBC ZWlsZWkgPGJlaWxlaS54aW5nQGludGVsLmNvbT4NCj4gQ2M6IFd1LCBKaW5namluZyA8amluZ2pp bmcud3VAaW50ZWwuY29tPjsgWmhhbmcsIEhlbGluDQo+IDxoZWxpbi56aGFuZ0BpbnRlbC5jb20+ OyBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHYyIDEyLzE3 XSBuZXQvaTQwZTogZGVzdHJveSBldGhlcnR5cGUgZmlsdGVyDQo+IA0KPiBPbiBUdWUsIERlYyAy NywgMjAxNiBhdCAwMjoyNjoxOVBNICswODAwLCBCZWlsZWkgWGluZyB3cm90ZToNCj4gPiBUaGlz IHBhdGNoIGFkZHMgaTQwZV9kZXZfZGVzdHJveV9ldGhlcnR5cGVfZmlsdGVyIGZ1bmN0aW9uIHRv IGRlc3Ryb3kNCj4gPiBhIGV0aGVydHlwZSBmaWx0ZXIgZm9yIHVzZXJzLg0KPiA+DQo+ID4gU2ln bmVkLW9mZi1ieTogQmVpbGVpIFhpbmcgPGJlaWxlaS54aW5nQGludGVsLmNvbT4NCj4gPiAtLS0N Cj4gPiAgZHJpdmVycy9uZXQvaTQwZS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