From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00069.outbound.protection.outlook.com [40.107.0.69]) by dpdk.org (Postfix) with ESMTP id 922A38D35 for ; Wed, 18 Apr 2018 09:00:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=oWRlTu8YftNHns5/yDlRFJsGcVvGNqGkU+DDzT0Xo40=; b=snzIPzmqC7yFmHR56Jg6dtuzyqmDX5lg3aBxEOh8PZvOj4m080GuCa+L7009/OteoQmy9SQ8w2+oTOacyJV7+SubYB0kp/jyuxB/Nr8fuuoNgh0dvP/EwVp/++4t4n2R3MYuZc7ea625IldoF7CrD6QDeFikipimvaE94U2biNU= Received: from AM4PR05MB1684.eurprd05.prod.outlook.com (10.165.246.7) by AM4PR05MB1458.eurprd05.prod.outlook.com (10.164.79.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.12; Wed, 18 Apr 2018 07:00:46 +0000 Received: from AM4PR05MB1684.eurprd05.prod.outlook.com ([fe80::c85d:2299:7213:75fc]) by AM4PR05MB1684.eurprd05.prod.outlook.com ([fe80::c85d:2299:7213:75fc%6]) with mapi id 15.20.0696.013; Wed, 18 Apr 2018 07:00:45 +0000 From: Raslan Darawsheh To: Stephen Hemminger CC: "dev@dpdk.org" , Stephen Hemminger , Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v2 0/4] Hyper-V Netvsc PMD Thread-Index: AQHT1dofLFWDS3OthkOFlfH+0/85U6QEppPggAABwgCAAHx9AIAA9Skw Date: Wed, 18 Apr 2018 07:00:45 +0000 Message-ID: References: <20180416232439.8018-1-sthemmin@microsoft.com> <20180417092222.158cb849@xeon-e3> In-Reply-To: <20180417092222.158cb849@xeon-e3> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM4PR05MB1458; 7:15qfuhMOnKjd4009if/a0F0B0+RylMH1LX/p8P/YZu4/tlC49QIpCpJHZeJ3KK+42Ja0sGZIvuMIrFvpgLn0hXOHZ3SSyRv0Hj1y+gpAKElDxFhrPRdF5bJ42McVRTmhBv20sFxU4MGoQgFPgc/+iAlJQ93gU8hb8PNIUefingL+LenOp5DI6ppJVOsWsF0qYIsMQ7zZAxQrV8ZNtxBr9gDHnM0tGbgmehKH+pPZKzTx5cezHgZtqrnfALjhl8by x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM4PR05MB1458; x-ms-traffictypediagnostic: AM4PR05MB1458: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231232)(944501327)(52105095)(10201501046)(6055026)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123564045)(6072148)(201708071742011); SRVR:AM4PR05MB1458; BCL:0; PCL:0; RULEID:; SRVR:AM4PR05MB1458; x-forefront-prvs: 06469BCC91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(396003)(366004)(39860400002)(39380400002)(13464003)(478600001)(25786009)(5660300001)(8936002)(74316002)(33656002)(54906003)(81166006)(6916009)(8676002)(5250100002)(6116002)(3846002)(186003)(26005)(6436002)(9686003)(53546011)(59450400001)(102836004)(6506007)(66066001)(316002)(4326008)(86362001)(6246003)(53936002)(2906002)(55016002)(8666007)(76176011)(7696005)(446003)(11346002)(305945005)(107886003)(93886005)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR05MB1458; H:AM4PR05MB1684.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:sfv; x-microsoft-antispam-message-info: pbdp73QaDOUs/YY+WaKG+1mhw/vAaN5h1R1vkMt3eiOKQpoEMTPxwKl8jZpCzOW1d7ePG2P+jMwAKWPlPGcs8S5ss99++2DBEyZOA5ez4kCC3jPXeZQ/gAHiajfUzf26l+WAkZU+VvHcw6qTJ1SfFn1Zk0OGPFyWD57F+yoPMHjSZt3Mj0+tFcCpji0rQ2lZ spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 33f595a2-816d-4cf8-3906-08d5a4fa1bd6 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 33f595a2-816d-4cf8-3906-08d5a4fa1bd6 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2018 07:00:45.8046 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB1458 Subject: Re: [dpdk-dev] [PATCH v2 0/4] Hyper-V Netvsc PMD 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: , X-List-Received-Date: Wed, 18 Apr 2018 07:00:47 -0000 I'm facing this on gcc version 5.4.0 on 64bit. Kindest regards, Raslan Darawsheh -----Original Message----- From: Stephen Hemminger [mailto:stephen@networkplumber.org]=20 Sent: Tuesday, April 17, 2018 7:22 PM To: Raslan Darawsheh Cc: dev@dpdk.org; Stephen Hemminger ; Thomas Monjal= on Subject: Re: [dpdk-dev] [PATCH v2 0/4] Hyper-V Netvsc PMD On Tue, 17 Apr 2018 09:02:45 +0000 Raslan Darawsheh wrote: > Hi Stephan, >=20 > I've just tried to apply your patches on top of current master branch and= I have the following two issues: > 1- compilation is failing with the following error when compiling with RT= E_TARGET=3Dx86_64-native-linuxapp-gcc: > /root/dpdk/x86_64-native-linuxapp-gcc/include/rte_common.h:122:30: error:= cast to pointer from integer of different size [-Werror=3Dint-to-pointer-c= ast] > #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x))) > ^ > /root/dpdk/buildtools/pmdinfogen/pmdinfogen.c:99:9: note: in expansion of= macro 'RTE_PTR_ADD' > return RTE_PTR_ADD(info->hdr, > ^ > 2- compilation is also failing with the following errors when compiling w= ith RTE_TARGET=3Di686-native-linuxapp-gcc > CC linux/vmbus_uio.o > /root/dpdk/drivers/bus/vmbus/linux/vmbus_bus.c: In function 'rte_vmbus_ma= p_device': > /root/dpdk/drivers/bus/vmbus/linux/vmbus_bus.c:194:39: error: passing arg= ument 2 of 'eal_parse_sysfs_value' from incompatible pointer type [-Werror= =3Dincompatible-pointer-types] > if (eal_parse_sysfs_value(filename, &res->len) < 0) { > ^ > In file included from /root/dpdk/drivers/bus/vmbus/linux/vmbus_bus.c:22:0= : > /root/dpdk/lib/librte_eal/common/eal_filesystem.h:123:5: note: expected '= long unsigned int *' but argument is of type 'uint64_t * {aka long long uns= igned int *}' > int eal_parse_sysfs_value(const char *filename, unsigned long *val); >=20 >=20 > I noticed one additional new dependency which is uuid-dev and I think yo= u might be missing the documentation of that. >=20 > Kindest regards, > Raslan Darawsheh I rebased against dpdk.org master yesterday. What version of Gcc? I don't see this on Gcc 7.3.0 and build on 64 bit. Will update the documentation and fix a couple of typos.