From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 03F9BA0471 for ; Tue, 18 Jun 2019 03:58:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DF6F11BFA4; Tue, 18 Jun 2019 03:58:05 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id BA7521BF8D for ; Tue, 18 Jun 2019 03:58:03 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jun 2019 18:58:02 -0700 X-ExtLoop1: 1 Received: from pgsmsx113.gar.corp.intel.com ([10.108.55.202]) by orsmga005.jf.intel.com with ESMTP; 17 Jun 2019 18:58:01 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.96]) by pgsmsx113.gar.corp.intel.com ([169.254.6.32]) with mapi id 14.03.0439.000; Tue, 18 Jun 2019 09:58:00 +0800 From: "Zhao1, Wei" To: "Wang, Xiao W" , "Yang, Qiming" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 1/3] net/ice: enable switch filter Thread-Index: AQHVIPPdU1J/6sy0M06ZNgNITQs6AqaYuo+AgAItNwCABB1bAIABqxaQ Date: Tue, 18 Jun 2019 01:57:59 +0000 Message-ID: References: <1559552722-8970-1-git-send-email-qiming.yang@intel.com> <20190612075029.109914-1-qiming.yang@intel.com> <20190612075029.109914-2-qiming.yang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [172.30.20.205] Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 1/3] net/ice: enable switch 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogV2FuZywgWGlhbyBXDQo+ IFNlbnQ6IE1vbmRheSwgSnVuZSAxNywgMjAxOSA0OjI4IFBNDQo+IFRvOiBaaGFvMSwgV2VpIDx3 ZWkuemhhbzFAaW50ZWwuY29tPjsgWWFuZywgUWltaW5nDQo+IDxxaW1pbmcueWFuZ0BpbnRlbC5j b20+OyBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUkU6IFtkcGRrLWRldl0gW1BBVENIIHYyIDEv M10gbmV0L2ljZTogZW5hYmxlIHN3aXRjaCBmaWx0ZXINCj4gDQo+IEhpIFdlaSwNCj4gDQo+ID4g LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPiBGcm9tOiBaaGFvMSwgV2VpDQo+ID4gU2Vu dDogRnJpZGF5LCBKdW5lIDE0LCAyMDE5IDU6NDcgUE0NCj4gPiBUbzogV2FuZywgWGlhbyBXIDx4 aWFvLncud2FuZ0BpbnRlbC5jb20+OyBZYW5nLCBRaW1pbmcNCj4gPiA8cWltaW5nLnlhbmdAaW50 ZWwuY29tPjsgZGV2QGRwZGsub3JnDQo+ID4gU3ViamVjdDogUkU6IFtkcGRrLWRldl0gW1BBVENI IHYyIDEvM10gbmV0L2ljZTogZW5hYmxlIHN3aXRjaCBmaWx0ZXINCj4gPg0KPiA+IEhpo6wgeGlh bw0KPiA+DQo+ID4gPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+ID4gRnJvbTogV2Fu ZywgWGlhbyBXDQo+ID4gPiBTZW50OiBUaHVyc2Rhe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