From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 68F39A0487 for ; Thu, 4 Jul 2019 09:33:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 90C241B464; Thu, 4 Jul 2019 09:33:21 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70075.outbound.protection.outlook.com [40.107.7.75]) by dpdk.org (Postfix) with ESMTP id 9FD155B34; Thu, 4 Jul 2019 09:33:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+VmVSwppqod6kxr9tNYCf9ewtShc4UWWtcgF2mM5NjE=; b=RXqPKzFuF2lEa/OQSu8Di5hvFR8UhedZAAOV5RyF97CDuCt/LtUEZfZzEEbY5qm+sTWTp/ACe7dOF9kACs0SuICYXYyYmaabq1JFk8l7+IVy8IUHR3P5bIrGJQIk6vt4sjY2ZOC8Gc2pnW3ec7rDCPBuYExzd1EycVzggp6iUJo= Received: from DB7PR05MB5479.eurprd05.prod.outlook.com (20.177.192.84) by DB7PR05MB5177.eurprd05.prod.outlook.com (20.178.41.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.20; Thu, 4 Jul 2019 07:33:17 +0000 Received: from DB7PR05MB5479.eurprd05.prod.outlook.com ([fe80::484b:f910:ee4f:e95e]) by DB7PR05MB5479.eurprd05.prod.outlook.com ([fe80::484b:f910:ee4f:e95e%2]) with mapi id 15.20.2032.019; Thu, 4 Jul 2019 07:33:17 +0000 From: Saleh Alsouqi To: "ferruh.yigit@intel.com" , "roszenrami@gmail.com" CC: "wenzhuo.lu@intel.com" , "jingjing.wu@intel.com" , "bernard.iremonger@intel.com" , "dev@dpdk.org" , Ori Kam , "stable@dpdk.org" , "olivier.matz@6wind.com" , Saleh Alsouqi Thread-Topic: [PATCH v3 0/2] define ipv4 ihl and vhl Thread-Index: AQHVMjq/9eA+fgrEBkWf+9YMeCV9+A== Date: Thu, 4 Jul 2019 07:33:17 +0000 Message-ID: <1562225578-5818-1-git-send-email-salehals@mellanox.com> References: <1545136604-22816-1-git-send-email-salehals@mellanox.com> In-Reply-To: <1545136604-22816-1-git-send-email-salehals@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: VI1PR06CA0159.eurprd06.prod.outlook.com (2603:10a6:803:c8::16) To DB7PR05MB5479.eurprd05.prod.outlook.com (2603:10a6:10:59::20) authentication-results: spf=none (sender IP is ) smtp.mailfrom=salehals@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [37.142.13.130] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fe514522-e9aa-4691-de9c-08d70051e159 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB7PR05MB5177; x-ms-traffictypediagnostic: DB7PR05MB5177: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0088C92887 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(366004)(376002)(346002)(39860400002)(396003)(199004)(189003)(476003)(2906002)(66066001)(66476007)(486006)(99286004)(81156014)(81166006)(8676002)(446003)(6506007)(64756008)(66446008)(73956011)(6436002)(76176011)(3846002)(305945005)(25786009)(102836004)(7736002)(2616005)(4326008)(11346002)(8936002)(66946007)(66556008)(386003)(6116002)(68736007)(186003)(54906003)(50226002)(5660300002)(14454004)(53936002)(107886003)(6512007)(4744005)(26005)(2501003)(86362001)(110136005)(316002)(71200400001)(71190400001)(256004)(52116002)(6486002)(478600001)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB5177; H:DB7PR05MB5479.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: FqyPkJkJ7fP7ImrHu+A5D/WuGUpmZ3geqMuDYirkeqAtPFDIiq1FVRguhn8I6EtYQbGsR861mm+NBGIcQoav3qpbEJclhMaQKLzX/BdHp/iinyp9TRTJ/T2DbLXFFdE2Qi2aqBG3HsHn4nWaezFjEtxN3PIl1Szgq9YdOVnbsA4PG+wtTFrQK06S9bHRD6bbGKwR0HWpYmY9wKOFCYY5P+JlyWoA9ohW4hVL8TvssM/Ym6Ea1/tGKoduUblur15cBtexveGIi1wq3b5AqiYodxuPC6uEC0c617LxKNlattPkzp/mrNCBhyjDA64+EZEpAxUYxUJqerQU6ahxYf9Dxu1RZbXyWHtF4pNity7F+pwqMfTDtqejjLBujIR+4QA1aooUgqPQW0WdCfrSsxUHKYJso4ZQFWatGnTFekTkUa4= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe514522-e9aa-4691-de9c-08d70051e159 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jul 2019 07:33:17.4765 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: salehals@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB5177 Subject: [dpdk-dev] [PATCH v3 0/2] define ipv4 ihl and vhl 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" v3: - Include sys/types.h in librte_net/rte_ip.h, to fix undefined types in freebsd systems. - Split commits into 2, definition in librte_net/rte_ip, and the usage in app/testpmd. - Add "RTE" prefix to the definitions names. v2: - Include netinet/ip.h in librte_net/rte_ip.h to use existing definitions instead of defining our own. - Move definitions from testpmd.h to librte_net/rte_ip.h Saleh AlSouqi (2): librte_net/rte_ip: define ipv4 ihl and vhl app/testpmd: fix mpls ipv4 encap fields app/test-pmd/cmdline_flow.c | 6 ++++++ lib/librte_net/rte_ip.h | 6 ++++++ 2 files changed, 12 insertions(+) --=20 2.7.4