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 EBA08A0096 for ; Fri, 10 May 2019 09:01:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2BBB32C18; Fri, 10 May 2019 09:01:16 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id 65AF12B95 for ; Fri, 10 May 2019 09:01:14 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Date: Fri, 10 May 2019 09:01:09 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35B42838@smartserver.smartshare.dk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] librte_net: define TCP flags in rte_tcp.h instead of in rte_eth_ctrl.h Thread-Index: AdTrlapUuv3VvXG5TrCLRU6+jPSvRQbaBo0A From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Olivier Matz" Cc: Subject: [dpdk-dev] FW: [PATCH] librte_net: define TCP flags in rte_tcp.h instead of in rte_eth_ctrl.h 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" Message-ID: <20190510070109.0s3hBrFsUnDuuGf4RcSm6_hi76Uh7utJL0_DBYwf41Q@z> SGkgT2xpdmllciwNCg0KSSBzdWJtaXR0ZWQgdGhlIGJlbG93IHBhdGNoIGFib3V0IGEgbW9udGgg YWdvLCBhbmQgbm90aGluZyBoYXBwZW5lZC4gVGhlIHBhdGNoIGlzIHNpbXBsZSBhbmQgb2J2aW91 cy4gSXMgc29tZXRoaW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