From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.esentire.com (mail.iim-support.esentire.com [52.129.34.132]) by dpdk.org (Postfix) with ESMTP id 4283011D4 for ; Wed, 30 Aug 2017 17:19:49 +0200 (CEST) Received: from exchange.esentire.com (cas01cmb01p.internal [10.1.120.116]) by mail.esentire.com (Postfix) with ESMTPS id 46B7F1802C8; Wed, 30 Aug 2017 15:19:49 +0000 (UTC) Received: from mbx02cmb01p.esentire.local (10.1.120.125) by mbx02cmb01p.esentire.local (10.1.120.125) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 30 Aug 2017 11:19:48 -0400 Received: from mbx02cmb01p.esentire.local ([fe80::614a:403b:50de:71e4]) by mbx02cmb01p.esentire.local ([fe80::614a:403b:50de:71e4%12]) with mapi id 15.00.1210.000; Wed, 30 Aug 2017 11:19:48 -0400 From: Ming Fu To: Andriy Berestovskyy CC: "users@dpdk.org" Thread-Topic: [dpdk-users] dpdk with snort 2.9.9 receive from DPDK ring Thread-Index: AdMhCIjMMcbfqufVSFGBQ7RCk7Cd8AAZ/hOAAAh/RoAAA8l8AA== Date: Wed, 30 Aug 2017 15:19:48 +0000 Message-ID: <6dae6c3b2234407badbf96e1c545201d@mbx02cmb01p.esentire.local> References: <76E92DAC-247F-41D8-B163-12248DF102C8@inventum.net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.1.120.131] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-users] dpdk with snort 2.9.9 receive from DPDK ring X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 15:19:50 -0000 SGkgQW5kcml5LA0KDQpUaGFua3MgZm9yIHRoZSBzd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