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 D48C238EB for ; Mon, 8 Sep 2014 17:03:20 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 08 Sep 2014 08:01:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,486,1406617200"; d="scan'208";a="570016431" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 08 Sep 2014 08:07:12 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 8 Sep 2014 08:06:39 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 8 Sep 2014 08:06:38 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.17]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.198]) with mapi id 14.03.0195.001; Mon, 8 Sep 2014 23:06:36 +0800 From: "Wu, Jingjing" To: "'dev@dpdk.org'" Thread-Topic: filter_ctl PMD API idea Thread-Index: Ac/INhaSpJt9Z/JcRpWbBUHpSmDTBgA4OCjw Date: Mon, 8 Sep 2014 15:06:36 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F8ADFFBD@SHSMSX104.ccr.corp.intel.com> References: <9BB6961774997848B5B42BEC655768F8ADE579@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <9BB6961774997848B5B42BEC655768F8ADE579@SHSMSX104.ccr.corp.intel.com> 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] filter_ctl PMD API idea 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: Mon, 08 Sep 2014 15:03:21 -0000 QW55IGNvbW1lbnRzIG9yIGFkdmlzZXM/IA0KDQpUaGFua3MhDQoNCkZvcnR2aWxsZSBGaWx0ZXIg ZmVhdHVyZXMnIGRldmVsb3BtZW50IHdpbGwgYmUgc3RhcnRlZCBiYXNlZCBvbiB0aGlzIGRlc2ln biB0aGlzIHdlZWsuDQoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBX dSwgSmluZ2ppbmcNCj4gU2VudDogVGh1cnNkYXksIFNlcHRlbWJlciA0LCAyMDE0IDg6MDUgUE0N Cj4gVG86IGRldkBkcGRrLm9yZw0KPiBDYzogc3RlcGhlbkBuZXR3b3JrcGx1bWJlci5vcmc7IHZp bmNlbnQuamFyZGluQDZ3aW5kLmNvbQ0KPiBTdWJqZWN0OiBmaWx0ZXJfY3RsIFBNRCBBUEkgaWRl YQ0KPiANCj4gSGksIGFsbA0KPiANCj4gV2hlbiB3ZSBkZXZlbG9wIGZpbHRlcnMgZmVhdHVyZSBp biBpNDBlIGRyaXZlciBmb3IgSW50ZWzCriBFdGhlcm5ldCBDb250cm9sbGVyIFhMNzEwL1g3MTAN Cj4gW0ZvcnR2aWxsZV0gKEZvciBib3RoIDEwRy80MEcpLCB3ZSBmb3VuZCB0aGF0IHRoZXJlIGFy ZSBsb3RzIG9mIG5ldyBmaWx0ZXJzLCB0aGVyZSBhcmUgYWxzbw0KPiBzb21lIGNoYW5nZXMgb24g dGhlIGV4aXN0aW5nIGZpbHRlcnMsIGNvbXBhcmluZyB0byBpeGdiZS4NCj4gSWYgd2Uga2VlcCB0 aGUgd2F5IHRvIGFkZCBuZXcgb3BzIGluIHJ0ZV9ldGhfZ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