From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 99E881B209 for ; Fri, 29 Sep 2017 11:33:29 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Sep 2017 02:33:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,452,1500966000"; d="scan'208";a="1225133380" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 29 Sep 2017 02:33:28 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 29 Sep 2017 02:33:28 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 29 Sep 2017 02:33:28 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.98]) with mapi id 14.03.0319.002; Fri, 29 Sep 2017 17:33:25 +0800 From: "Xing, Beilei" To: Sean Harte CC: "Wu, Jingjing" , "Chilikin, Andrey" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v6 6/8] net/i40e: add FDIR support for GTP-C and GTP-U Thread-Index: AQHTOPscyfmRrZqqukKHZJYeoh9j0KLLj7BQ Date: Fri, 29 Sep 2017 09:33:25 +0000 Message-ID: <94479800C636CB44BD422CB454846E0132038E8C@SHSMSX101.ccr.corp.intel.com> References: <1506565054-67690-1-git-send-email-beilei.xing@intel.com> <1506662342-18966-1-git-send-email-beilei.xing@intel.com> <1506662342-18966-7-git-send-email-beilei.xing@intel.com> In-Reply-To: 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 v6 6/8] net/i40e: add FDIR support for GTP-C and GTP-U 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: Fri, 29 Sep 2017 09:33:30 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogU2VhbiBIYXJ0ZSBbbWFp bHRvOnNlYW5iaEBnbWFpbC5jb21dDQo+IFNlbnQ6IEZyaWRheSwgU2VwdGVtYmVyIDI5LCAyMDE3 IDQ6MTUgUE0NCj4gVG86IFhpbmcsIEJlaWxlaSA8YmVpbGVpLnhpbmdAaW50ZWwuY29tPg0KPiBD YzogV3UsIEppbmdqaW5nIDxqaW5namluZy53dUBpbnRlbC5jb20+OyBDaGlsaWtpbiwgQW5kcmV5 DQo+IDxhbmRyZXkuY2hpbGlraW5AaW50ZWwuY29tPjsgZGV2QGRwZGsub3JnDQo+IFN1YmplY3Q6 IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2NiA2LzhdIG5ldC9pNDBlOiBhZGQgRkRJUiBzdXBwb3J0 IGZvciBHVFAtQw0KPiBhbmQgR1RQLVUNCj4gDQo+IE9uIDI5IFNlcHRlbWJlciAyMDE3IGF0IDA2 OjE5LCBCZWlsZWkgWGluZyA8YmVpbGVpLnhpbmdAaW50ZWwuY29tPiB3cm90ZToNCj4gPiBUaGlz IHBhdGNoIGFkZHMgRkRJUiBzdXBwb3J0IGZvciBHVFAtQyBhbmQgR1RQLVUuIFRoZSBpbnB1dCBz ZXQgb2YNCj4gPiBHVFAtQyBhbmQgR1RQLVUgaXMgVEVJRC4NCj4gPg0KPiA+IFNpZ25lZC1vZmYt Ynk6IEJlaW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uDQoNCj4gDQo+ID4gKw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAg IGlmIChjdXNfcGN0eXBlLT5pbmRleCA9PSBJNDBFX0NVU1RPTUlaRURfR1RQQykNCj4gPiArICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHVkcC0+ZHN0X3BvcnQgPQ0KPiA+ICsgcnRlX2Nw dV90b19iZV8xNigyMTIzKTsNCj4gDQo+IFRoaXMgd2lsbCBvbmx5IG1hdGNoIGhhbGYgb2YgR1RQ LUMgbWVzc2FnZXMuIEdUUC1DIG1lc3NhZ2VzIGhhdmUgYSBVRFANCj4gcG9ydCBkZXN0aW5hdGlv biBvZiAyMTIzLCBvciBhIFVEUCBzb3VyY2UgcG9ydCBvZiAyMTIzLiBUbyBtYXRjaCBhbGwgR1RQ LUMNCj4gcGFja2V0cyB5b3UgbmVlZCB0byBsb29rIGF0IGJvdGguDQoNClllcy4gQnV0IHRoZSBH VFAgcHJvZmlsZSBmb3IgaTQwZSBkaWRuJ3Qgc3VwcG9ydCByZXNwb25zZSBtZXNzYWdlLg0KDQo+ IA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIGVsc2UNCj4gPiArICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIHVkcC0+ZHN0X3BvcnQgPQ0KPiA+ICsgcnRlX2NwdV90b19iZV8xNigy MTUyKTsNCj4gPiArDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgaWYgKGN1c19wY3R5cGUt PmluZGV4ID09IEk0MEVfQ1VTVE9NSVpFRF9HVFBVX0lQVjQpIHsNCj4gPiArICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIGd0cC0+bXNnX3R5cGUgPSAweEZGOw0KPiA+ICsgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgZ3RwX2lwdjQgPSAoc3RydWN0IGlwdjRfaGRyICopDQo+ID4g KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICgodW5zaWduZWQgY2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sZW5ndGggPQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICBydGVfY3B1X3RvX2JlXzE2KA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIEk0MEVfRkRJUl9JTk5FUl9JUF9ERUZBVUxUX0xFTik7 DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXlsb2FkID0gKHVuc2lnbmVk IGNoYXIgKilndHBfaXB2NCArDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIHNpemVvZihzdHJ1Y3QgaXB2NF9oZHIpOw0KPiA+ICsgICAgICAgICAgICAgICAgICAg ICAgIH0gZWxzZSBpZiAoY3VzX3BjdHlwZS0+aW5kZXggPT0NCj4gPiArICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIEk0MEVfQ1VTVE9NSVpFRF9HVFBVX0lQVjYpIHsNCj4gPiArICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIGd0cC0+bXNnX3R5cGUgPSAweEZGOw0KPiA+ICsg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZ3RwX2lwdjYgPSAoc3RydWN0IGlwdjZfaGRy ICopDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICgodW5zaWdu ZWQgY2hhciAqKWd0cCArDQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBzaXplb2Yoc3RydWN0DQo+ID4gKyBydGVfZmxvd19pdGVtX2d0cCkpOw0KPiANCj4gVGhp cyBpcyBvbmx5IHZhbGlkIGlmIHZfcHRfcnN2X2ZsYWdzIGlzIDB4MzAuIEdUUC1VIHBhY2tldHMg YXJlIGFsbG93ZWQgdG8gaGF2ZQ0KPiBhIHNlcXVlbmNlIG51bWJlciwgd2hpY2ggYWRkcyBhbiBl eHRyYSA0IGJ5dGVzIHRvIHRoZSBHVFAgaGVhZGVyLg0KDQpTYW1lIHdpdGggYWJvdmUuDQoNCj4g DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBndHBfaXB2Ni0+dnRjX2Zsb3cg PQ0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBydGVfY3B1X3Rv X2JlXzMyKA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgSTQwRV9GRElSX0lQdjZfREVGQVVMVF9WVENfRkxPVyB8DQo+ID4gKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoMCA8PCBJNDBFX0ZESVJfSVB2Nl9UQ19P RkZTRVQpKTsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGd0cF9pcHY2LT5w cm90byA9IElQUFJPVE9fTk9ORTsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IGd0cF9pcHY2LT5wYXlsb2FkX2xlbiA9DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIHJ0ZV9jcHVfdG9fYmVfMTYoDQo+ID4gKyAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIEk0MEVfRkRJUl9JTk5FUl9JUHY2X0RFRkFVTFRfTEVO KTsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGd0cF9pcHY2LT5ob3BfbGlt aXRzID0NCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgSTQwRV9G RElSX0lQdjZfREVGQVVMVF9IT1BfTElNSVRTOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgcGF5bG9hZCA9ICh1bnNpZ25lZCBjaGFyICopZ3RwX2lwdjYgKw0KPiA+ICsgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzaXplb2Yoc3RydWN0IGlwdjZfaGRy KTsNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UNCj4gPiArICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIHBheWxvYWQgPSAodW5zaWduZWQgY2hhciAqKWd0cCArDQo+ID4g KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNpemVvZihzdHJ1Y3QgcnRl X2Zsb3dfaXRlbV9ndHApOw0KPiA+ICsgICAgICAgICAgICAgICB9DQo+ID4gKyAgICAgICB9IGVs c2Ugew0KPiA+ICsgICAgICAgICAgICAgICBQTURfRFJWX0xPRyhFUlIsICJ1bmtub3duIHBjdHlw ZSAldS4iLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICBmZGlyX2lucHV0LT5wY3R5 cGUpOw0KPiA+ICsgICAgICAgICAgICAgICByZXR1cm4gLTE7DQo+ID4gICAgICAgICB9DQo+ID4N Cj4gPiAgICAgICAgIC8qIGZpbGwgdGhlIGZsZXhieXRlcyB0byBwYXlsb2FkICovDQo+IA0KPiA8 c25pcD4NCg==