From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.esentire.com (mail.esentire.com [52.129.34.132]) by dpdk.org (Postfix) with ESMTP id 7F7787CCE for ; Fri, 1 Sep 2017 16:17:12 +0200 (CEST) Received: from exchange.esentire.com (cas01cmb01p.internal [10.1.120.116]) by mail.esentire.com (Postfix) with ESMTPS id C6B68180364; Fri, 1 Sep 2017 14:17:11 +0000 (UTC) Received: from mbx01cmb01p.esentire.local (10.1.120.118) by mbx02cmb01p.esentire.local (10.1.120.125) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 1 Sep 2017 10:17:11 -0400 Received: from mbx01cmb01p.esentire.local ([fe80::814b:946e:3026:96c9]) by mbx01cmb01p.esentire.local ([fe80::814b:946e:3026:96c9%14]) with mapi id 15.00.1210.000; Fri, 1 Sep 2017 10:17:11 -0400 From: Ming Fu To: "tom.barbette@ulg.ac.be" CC: "users@dpdk.org" Thread-Topic: [dpdk-users] dpdk with snort 2.9.9 receive from DPDK ring Thread-Index: AdMhCIjMMcbfqufVSFGBQ7RCk7Cd8AAZ/hOAAAh/RoAABXlOgABfvR/A Date: Fri, 1 Sep 2017 14:17:11 +0000 Message-ID: References: <76E92DAC-247F-41D8-B163-12248DF102C8@inventum.net> <1177759951.229696.1504094123353.JavaMail.zimbra@ulg.ac.be> In-Reply-To: <1177759951.229696.1504094123353.JavaMail.zimbra@ulg.ac.be> 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: Fri, 01 Sep 2017 14:17:12 -0000 SGkgV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