From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10046.outbound.protection.outlook.com [40.107.1.46]) by dpdk.org (Postfix) with ESMTP id E5E412C5 for ; Wed, 8 Aug 2018 15:57:40 +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:X-MS-Exchange-SenderADCheck; bh=7o0pSdDblzExUEu4GcF3hKCojE8lKHCKIx5PRUNqNlw=; b=lswup/0mKvw8eqwYoiMqq9T1gRgpfUE3z+Tcvl7RLG9JZI4YfdNgrCyu650WFcNAk6bag7D8Z3/kc7tJSE5qqr+4UNgZHyKg6lDPu6si1lBAmbotSWH27dWlcIIGEIGVzaEp8HaFTdRys6VKsKbsM5K3/r+0kyTaZHF0OkpttN4= Received: from VI1PR05MB4574.eurprd05.prod.outlook.com (20.176.3.27) by VI1PR05MB1886.eurprd05.prod.outlook.com (10.166.44.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1017.18; Wed, 8 Aug 2018 13:57:37 +0000 Received: from VI1PR05MB4574.eurprd05.prod.outlook.com ([fe80::6d74:5fce:23f2:acd2]) by VI1PR05MB4574.eurprd05.prod.outlook.com ([fe80::6d74:5fce:23f2:acd2%5]) with mapi id 15.20.1038.019; Wed, 8 Aug 2018 13:57:36 +0000 From: Olga Shern To: "Wu, Xiaoban" , Morgan Yang CC: "users@dpdk.org" Thread-Topic: [dpdk-users] MLX5 build errors with DPDK 17.11.3 Thread-Index: AQHULKDCsC0fAoPi7U2UI9ltyrA47aSxctj3gAGRlQCAALj4N4ACKHSA Date: Wed, 8 Aug 2018 13:57:36 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=olgas@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB1886; 6:w3QTJdB0g3dJgP9zGBQQXr+zXqexsQr2Gbp9xFyjns+g9W9Hgll65PhOU3fQXwuPrXGDZyASgV6jNsms8sizwKz+omEDdaAeW4WnuaclrDlCk3QbF4Bx2mb2tKA9G7XzpYubLROMcmMI71pLL/lzNd0OJLgVzHp4k3wKL4GhTWnpYOeHVj2R713ijNi+CbMdyNerukW9NE9dCMFsfbZVmmEyW2E/JiklH8OiCWnOfPZjIiaLhdTxCddfmxY6gantcGSiPiih6GEvavSPMrYbBGGsiEpAe7vPIUkPJMG3hQSz7MwjJCrz78AORkIxZR0O1aqz/lTnP83x0WuzDISrUMRKkF5jEKMiZQyUv1AUOhudMtPgb13e3J6N9nVemXAToe/3fKZ+Xk0kc5aJtLynALNR25/s7pEegUyAq4cOJly5agwWe4CHfvayJOgFnFFxlXszH9npaj+cJvak3XmMDQ==; 5:u829/o56nVTXLLemRoK9/B0sp3AJnnx9Y9etXPWNfb5jU04QJwcQKxATpnHc4YWqjUxxWttukNbdH0RdFdGW5MgMYbjtvX/vyUwov1r4lF0DaqIda52KEYHnr2xoeHWGHQymbcIsQihFo2zjWjT7/ylHQ8n8nXQzSNyiWKVyv+M=; 7:mAtzJlKcwA16iom/0ANgzP38D28vQfTyIEMQzYXU4PqSTGEM3+bcZN2rLMaH9tPVE3d5pdVMong07qSbj+Fc+PY6Hsms9AT7H4UJyhwHvMNMTPYKXBm59Fi6voHFZt/LErLagh0EKsIT5sxeI5zSX4hwzh2hVxkPaxBAydvB5iVcqAEfPgu+BB7j75LY3RneseiSKm217EjPe49pa8YzwjmP1tfSEf9VmUcSsnyWa7qhQEl4TPfYoBULXti+8jcK x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: bbbdeaf3-2159-4867-7290-08d5fd36e5db x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4618075)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB1886; x-ms-traffictypediagnostic: VI1PR05MB1886: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(274723738142955)(192823040165218)(189930954265078)(131327999870524)(85827821059158)(269151656437849)(45079756050767); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231311)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(201703131423095)(201703031522075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:VI1PR05MB1886; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB1886; x-forefront-prvs: 07584EDBCD x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(376002)(39860400002)(346002)(396003)(13464003)(53754006)(199004)(189003)(76176011)(110136005)(53936002)(3846002)(316002)(74316002)(296002)(486006)(86362001)(229853002)(14444005)(5024004)(966005)(99286004)(6116002)(9686003)(476003)(105586002)(478600001)(11346002)(446003)(53946003)(7736002)(106356001)(256004)(305945005)(7696005)(2171002)(39060400002)(6306002)(55016002)(6246003)(8936002)(6436002)(2900100001)(186003)(68736007)(93886005)(5660300001)(5250100002)(66066001)(14454004)(25786009)(81166006)(6506007)(53546011)(102836004)(97736004)(26005)(2906002)(33656002)(16200700003)(8676002)(4326008)(81156014)(579004)(559001)(569006); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB1886; H:VI1PR05MB4574.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-microsoft-antispam-message-info: rJDRdFvTMkXOHtzV2NKVSm1uW6bPSS6yQPpkyOsA/wW7kNVWsI9yiLPTt2i1ScqPgAagPnFUX0usv9Sor8+dFbV/KTSH4O0HMI8yz1ux3Wrs5FQsqhavWaS+xAGhPg2XFvlNiVM9skOVUaA8jEr+VED1K8FUzbxW203aJGNF2VGg7Sra3lUw2K9dcjWSkncNlrEqexG6ZIpc0QhP5EpO1UwkMPoC9PljP9+J7oh2Jjzh4hact80ofAvCgdV5OST/1/Moo+BCKd+4LkWQoeoc3KyvDb6+JzPLH8Io+2wGl3HJRFmeOlQ0Lb+fA0WNdDThwhAIQO3W6r31fH7FO4GMtDG66hNDOHFxtTjT6krzsZ4= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: bbbdeaf3-2159-4867-7290-08d5fd36e5db X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2018 13:57:36.7897 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB1886 Subject: Re: [dpdk-users] MLX5 build errors with DPDK 17.11.3 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, 08 Aug 2018 13:57:41 -0000 Hi Morgan and XiaoBan,=20 This option indicates that user space libraries that are needed for Mellano= x PMDs will be installed.=20 Best Regards, Olga -----Original Message----- From: users [mailto:users-bounces@dpdk.org] On Behalf Of Wu, Xiaoban Sent: Tuesday, August 7, 2018 8:04 AM To: Morgan Yang Cc: users@dpdk.org Subject: Re: [dpdk-users] MLX5 build errors with DPDK 17.11.3 Hi Morgan, It only installs the Mellanox OFED drivers. Then, you have to install the D= PDK separately as usual. I don't know in detail the purpose of the long options passed to the comman= d. Best wishes, Xiaoban ________________________________ From: Morgan Yang Sent: Monday, August 6, 2018 1:56:46 PM To: Wu, Xiaoban Cc: users@dpdk.org Subject: Re: [dpdk-users] MLX5 build errors with DPDK 17.11.3 Hi XiaoBan: I have not tried it and I have some questions about it. What does "--updteam-libs --dpdk" actually install? Does it install latest = and greatest DPDK compatible OFED drivers or it actually installs both ofed= drivers and Mellanox's modified DPDK? If i run that command, do I still have to build the drivers from mainline 1= 7.11 DPDK? Much Thanks Morgan Yang On Sun, Aug 5, 2018 at 11:00 AM Wu, Xiaoban > wrote: Hi Morgan, Have you tried reinstallation of the latest "mlnxofed" by "./mlnxofedinstal= l --upstream-libs --dpdk"? Best wishes, Xiaoban ________________________________ From: users > on beha= lf of Morgan Yang > Sent: Friday, August 3, 2018 8:42:30 PM To: users@dpdk.org Subject: [dpdk-users] MLX5 build errors with DPDK 17.11.3 Hi All: I'm trying to build DPDK 17.11.3 with MLX5 (MCX456A-ECA). I have been using Mellanox packaged DPDK packages (most recent MLNX DPDK 16.11 https://community.mellanox.com/docs/DOC-1502) with no issues. My understanding is Mellanox is no longer packaging their own DPDK and mainline DPDK should work. I did enable " CONFIG_RTE_LIBRTE_MLX5_PMD=3Dy" and "CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=3Dy". However, I get tons of errors when I run "make install -j T=3Dx86_64-native-linuxapp-gcc" I'm doing this from ubuntu 16.04, has anyone run into this issue before and was able to build MLX5 drivers on Ubuntu 16.04? Attached are the build errors Much Thanks Morgan Yang -------------- next part -------------- /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c: In function 'mlx5_rxq_ibv_new': /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:567:21: error: storage size of 'mod' isn't known struct ibv_wq_attr mod; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:570:31: error: field 'ibv' has incomplete type struct ibv_cq_init_attr_ex ibv; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:571:31: error: field 'mlx5' has incomplete type struct mlx5dv_cq_init_attr mlx5; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:573:27: error: field 'wq' has incomplete type struct ibv_wq_init_attr wq; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:574:20: error: field 'cq_attr' has incomplete type struct ibv_cq_ex cq_attr; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:618:3: error: unknown field 'cqe' specified in initializer .cqe =3D cqe_n, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:618:10: warning: excess elements in struct initializer .cqe =3D cqe_n, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:618:10: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:619:3: error: unknown field 'channel' specified in initializer .channel =3D tmpl->channel, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:619:14: warning: excess elements in struct initializer .channel =3D tmpl->channel, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:619:14: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:620:3: error: unknown field 'comp_mask' specified in initializer .comp_mask =3D 0, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:620:16: warning: excess elements in struct initializer .comp_mask =3D 0, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:620:16: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:621:2: error: invalid use of undefined type 'struct ibv_cq_init_attr= _ex' }; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:623:3: error: unknown field 'comp_mask' specified in initializer .comp_mask =3D 0, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:623:16: warning: excess elements in struct initializer .comp_mask =3D 0, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:623:16: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:624:2: error: invalid use of undefined type 'struct mlx5dv_cq_init_a= ttr' }; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:627:4: error: 'MLX5DV_CQ_INIT_ATTR_MASK_COMPRESSED_CQE' undeclared (= first use in this function) MLX5DV_CQ_INIT_ATTR_MASK_COMPRESSED_CQE; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:627:4: note: each undeclared identifier is reported only once for ea= ch function it appears in /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:628:38: error: 'MLX5DV_CQE_RES_FORMAT_HASH' undeclared (first use in= this function) attr.cq.mlx5.cqe_comp_res_format =3D MLX5DV_CQE_RES_FORMAT_HASH; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:641:13: warning: implicit declaration of function 'ibv_cq_ex_to_cq' = [-Wimplicit-function-declaration] tmpl->cq =3D ibv_cq_ex_to_cq(mlx5dv_create_cq(priv->ctx, &attr.cq.ibv, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:641:2: warning: nested extern declaration of 'ibv_cq_ex_to_cq' [-Wne= sted-externs] tmpl->cq =3D ibv_cq_ex_to_cq(mlx5dv_create_cq(priv->ctx, &attr.cq.ibv, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:641:29: warning: implicit declaration of function 'mlx5dv_create_cq'= [-Wimplicit-function-declaration] tmpl->cq =3D ibv_cq_ex_to_cq(mlx5dv_create_cq(priv->ctx, &attr.cq.ibv, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:641:2: warning: nested extern declaration of 'mlx5dv_create_cq' [-Wn= ested-externs] tmpl->cq =3D ibv_cq_ex_to_cq(mlx5dv_create_cq(priv->ctx, &attr.cq.ibv, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:654:3: error: unknown field 'wq_context' specified in initializer .wq_context =3D NULL, /* Could be useful in the future. */ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:655:3: error: unknown field 'wq_type' specified in initializer .wq_type =3D IBV_WQT_RQ, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:655:14: error: 'IBV_WQT_RQ' undeclared (first use in this function) .wq_type =3D IBV_WQT_RQ, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:655:14: warning: excess elements in struct initializer /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:655:14: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:657:3: error: unknown field 'max_wr' specified in initializer .max_wr =3D (1 << rxq_data->elts_n) >> rxq_data->sges_n, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:657:13: warning: excess elements in struct initializer .max_wr =3D (1 << rxq_data->elts_n) >> rxq_data->sges_n, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:657:13: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:659:3: error: unknown field 'max_sge' specified in initializer .max_sge =3D 1 << rxq_data->sges_n, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:659:14: warning: excess elements in struct initializer .max_sge =3D 1 << rxq_data->sges_n, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:659:14: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:660:3: error: unknown field 'pd' specified in initializer .pd =3D priv->pd, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:660:9: warning: excess elements in struct initializer .pd =3D priv->pd, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:660:9: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:661:3: error: unknown field 'cq' specified in initializer .cq =3D tmpl->cq, ^ PMDINFO rte_eth_kni.o.pmd.c /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:661:9: warning: excess elements in struct initializer .cq =3D tmpl->cq, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:661:9: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:662:3: error: unknown field 'comp_mask' specified in initializer .comp_mask =3D ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:663:4: error: 'IBV_WQ_FLAGS_CVLAN_STRIPPING' undeclared (first use i= n this function) IBV_WQ_FLAGS_CVLAN_STRIPPING | ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:663:4: warning: excess elements in struct initializer /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:663:4: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:665:3: error: unknown field 'create_flags' specified in initializer .create_flags =3D (rxq_data->vlan_strip ? ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:665:19: warning: excess elements in struct initializer .create_flags =3D (rxq_data->vlan_strip ? ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:665:19: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:668:2: error: invalid use of undefined type 'struct ibv_wq_init_attr= ' }; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:671:27: error: 'IBV_WQ_FLAGS_SCATTER_FCS' undeclared (first use in t= his function) attr.wq.create_flags |=3D IBV_WQ_FLAGS_SCATTER_FCS; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:672:24: error: 'IBV_WQ_INIT_ATTR_FLAGS' undeclared (first use in thi= s function) attr.wq.comp_mask |=3D IBV_WQ_INIT_ATTR_FLAGS; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:680:13: warning: implicit declaration of function 'ibv_create_wq' [-= Wimplicit-function-declaration] tmpl->wq =3D ibv_create_wq(priv->ctx, &attr.wq); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:680:2: warning: nested extern declaration of 'ibv_create_wq' [-Wnest= ed-externs] tmpl->wq =3D ibv_create_wq(priv->ctx, &attr.wq); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:706:3: error: unknown field 'attr_mask' specified in initializer .attr_mask =3D IBV_WQ_ATTR_STATE, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:706:16: error: 'IBV_WQ_ATTR_STATE' undeclared (first use in this fun= ction) .attr_mask =3D IBV_WQ_ATTR_STATE, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:706:16: warning: excess elements in struct initializer /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:706:16: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:707:3: error: unknown field 'wq_state' specified in initializer .wq_state =3D IBV_WQS_RDY, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:707:15: error: 'IBV_WQS_RDY' undeclared (first use in this function) .wq_state =3D IBV_WQS_RDY, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:707:15: warning: excess elements in struct initializer /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:707:15: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:708:2: error: invalid use of undefined type 'struct ibv_wq_attr' }; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:709:8: warning: implicit declaration of function 'ibv_modify_wq' [-W= implicit-function-declaration] ret =3D ibv_modify_wq(tmpl->wq, &mod); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:709:2: warning: nested extern declaration of 'ibv_modify_wq' [-Wnest= ed-externs] ret =3D ibv_modify_wq(tmpl->wq, &mod); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:719:13: warning: assignment from incompatible pointer type [-Wincomp= atible-pointer-types] obj.rwq.in =3D tmpl->wq; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:760:28: error: 'struct mlx5dv_cq' has no member named 'cq_uar' rxq_data->cq_uar =3D cq_info.cq_uar; ^ In file included from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5.h:62:0, from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_rxq.c:61: /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:778:14: warning: implicit declaration of function 'ibv_destroy_wq' [= -Wimplicit-function-declaration] claim_zero(ibv_destroy_wq(tmpl->wq)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _utils.h:141:26: note: in definition of macro 'claim_zero' #define claim_zero(...) (__VA_ARGS__) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:778:3: warning: nested extern declaration of 'ibv_destroy_wq' [-Wnes= ted-externs] claim_zero(ibv_destroy_wq(tmpl->wq)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:575:4: warning: variable 'attr' set but not used [-Wunused-but-set-v= ariable] } attr; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:567:21: warning: unused variable 'mod' [-Wunused-variable] struct ibv_wq_attr mod; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c: In function 'mlx5_ind_table_ibv_new': /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1193:23: warning: implicit declaration of function 'ibv_create_rwq_i= nd_table' [-Wimplicit-function-declaration] ind_tbl->ind_table =3D ibv_create_rwq_ind_table( ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1193:2: warning: nested extern declaration of 'ibv_create_rwq_ind_ta= ble' [-Wnested-externs] ind_tbl->ind_table =3D ibv_create_rwq_ind_table( ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1196:4: error: unknown field 'log_ind_tbl_size' specified in initial= izer .log_ind_tbl_size =3D wq_n, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1196:24: warning: excess elements in struct initializer .log_ind_tbl_size =3D wq_n, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1196:24: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1197:4: error: unknown field 'ind_tbl' specified in initializer .ind_tbl =3D wq, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1197:15: warning: excess elements in struct initializer .ind_tbl =3D wq, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1197:15: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1198:4: error: unknown field 'comp_mask' specified in initializer .comp_mask =3D 0, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1198:17: warning: excess elements in struct initializer .comp_mask =3D 0, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1198:17: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1199:3: error: invalid use of undefined type 'struct ibv_rwq_ind_tab= le_init_attr' }); ^ In file included from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5.h:62:0, from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_rxq.c:61: /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c: In function 'mlx5_ind_table_ibv_release': CC rte_eth_kni.o.pmd.o /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1278:14: warning: implicit declaration of function 'ibv_destroy_rwq_= ind_table' [-Wimplicit-function-declaration] claim_zero(ibv_destroy_rwq_ind_table(ind_tbl->ind_table)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _utils.h:141:26: note: in definition of macro 'claim_zero' #define claim_zero(...) (__VA_ARGS__) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1278:3: warning: nested extern declaration of 'ibv_destroy_rwq_ind_t= able' [-Wnested-externs] claim_zero(ibv_destroy_rwq_ind_table(ind_tbl->ind_table)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c: In function 'mlx5_hrxq_new': /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1358:5: error: 'IBV_QP_INIT_ATTR_IND_TABLE' undeclared (first use in= this function) IBV_QP_INIT_ATTR_IND_TABLE | ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1359:5: error: 'IBV_QP_INIT_ATTR_RX_HASH' undeclared (first use in t= his function) IBV_QP_INIT_ATTR_RX_HASH, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1360:4: error: unknown field 'rx_hash_conf' specified in initializer .rx_hash_conf =3D (struct ibv_rx_hash_conf){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1361:5: error: unknown field 'rx_hash_function' specified in initial= izer .rx_hash_function =3D IBV_RX_HASH_FUNC_TOEPLITZ, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1361:25: error: 'IBV_RX_HASH_FUNC_TOEPLITZ' undeclared (first use in= this function) .rx_hash_function =3D IBV_RX_HASH_FUNC_TOEPLITZ, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1361:25: warning: excess elements in struct initializer /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1361:25: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1362:5: error: unknown field 'rx_hash_key_len' specified in initiali= zer .rx_hash_key_len =3D rss_key_len, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1362:24: warning: excess elements in struct initializer .rx_hash_key_len =3D rss_key_len, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1362:24: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1363:5: error: unknown field 'rx_hash_key' specified in initializer .rx_hash_key =3D rss_key, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1363:20: warning: excess elements in struct initializer .rx_hash_key =3D rss_key, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1363:20: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1364:5: error: unknown field 'rx_hash_fields_mask' specified in init= ializer .rx_hash_fields_mask =3D hash_fields, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1364:28: warning: excess elements in struct initializer .rx_hash_fields_mask =3D hash_fields, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1364:28: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1366:4: error: unknown field 'rwq_ind_tbl' specified in initializer .rwq_ind_tbl =3D ind_tbl->ind_table, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1366:19: warning: initialization from incompatible pointer type [-Wi= ncompatible-pointer-types] .rwq_ind_tbl =3D ind_tbl->ind_table, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _rxq.c:1366:19: note: (near initialization for '(anonymous).xrcd') PMDINFO em_ethdev.o.pmd.c CC em_ethdev.o.pmd.o /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/mk/internal/rte.compi= le-pre.mk:138: recipe for target 'mlx5_rxq.o' failed make[6]: *** [mlx5_rxq.o] Error 1 make[6]: *** Waiting for unfinished jobs.... LD rte_eth_kni.o LD em_ethdev.o PMDINFO vmxnet3_ethdev.o.pmd.c CC vmxnet3_ethdev.o.pmd.o AR librte_pmd_crypto_scheduler.a AR librte_pmd_kni.a /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c: In function 'mlx5_vlan_strip_queue_set': /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:120:21: error: storage size of 'mod' isn't known struct ibv_wq_attr mod; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:122:9: error: 'IBV_WQ_FLAGS_CVLAN_STRIPPING' undeclared (first use = in this function) (on ? IBV_WQ_FLAGS_CVLAN_STRIPPING : 0) | ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:122:9: note: each undeclared identifier is reported only once for e= ach function it appears in /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:146:3: error: unknown field 'attr_mask' specified in initializer .attr_mask =3D IBV_WQ_ATTR_FLAGS, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:146:16: error: 'IBV_WQ_ATTR_FLAGS' undeclared (first use in this fu= nction) .attr_mask =3D IBV_WQ_ATTR_FLAGS, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:146:16: warning: excess elements in struct initializer /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:146:16: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:147:3: error: unknown field 'flags_mask' specified in initializer .flags_mask =3D IBV_WQ_FLAGS_CVLAN_STRIPPING, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:147:17: warning: excess elements in struct initializer .flags_mask =3D IBV_WQ_FLAGS_CVLAN_STRIPPING, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:147:17: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:148:3: error: unknown field 'flags' specified in initializer .flags =3D vlan_offloads, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:148:12: warning: excess elements in struct initializer .flags =3D vlan_offloads, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:148:12: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:149:2: error: invalid use of undefined type 'struct ibv_wq_attr' }; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:150:8: warning: implicit declaration of function 'ibv_modify_wq' [-= Wimplicit-function-declaration] ret =3D ibv_modify_wq(rxq_ctrl->ibv->wq, &mod); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:150:2: warning: nested extern declaration of 'ibv_modify_wq' [-Wnes= ted-externs] ret =3D ibv_modify_wq(rxq_ctrl->ibv->wq, &mod); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _vlan.c:120:21: warning: unused variable 'mod' [-Wunused-variable] struct ibv_wq_attr mod; ^ INSTALL-LIB librte_pmd_crypto_scheduler.a INSTALL-LIB librte_pmd_kni.a LD vmxnet3_ethdev.o /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/mk/internal/rte.compi= le-pre.mk:138: recipe for target 'mlx5_vlan.o' failed make[6]: *** [mlx5_vlan.o] Error 1 /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c: In function 'mlx5_txq_ibv_new': /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:320:30: error: field 'cq' has incomplete type struct ibv_cq_init_attr_ex cq; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:322:20: error: field 'cq_attr' has incomplete type struct ibv_cq_ex cq_attr; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:325:39: error: 'MLX5DV_QP_MASK_UAR_MMAP_OFFSET' undeclared (first us= e in this function) struct mlx5dv_qp qp =3D { .comp_mask =3D MLX5DV_QP_MASK_UAR_MMAP_OFFSET }= ; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:325:39: note: each undeclared identifier is reported only once for e= ach function it appears in /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:163:19: error: 'IBV_RX_HASH_SRC_IPV4' undeclared here (not in a fun= ction) .hash_fields =3D (IBV_RX_HASH_SRC_IPV4 | ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:164:5: error: 'IBV_RX_HASH_DST_IPV4' undeclared here (not in a func= tion) IBV_RX_HASH_DST_IPV4 | ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:165:5: error: 'IBV_RX_HASH_SRC_PORT_TCP' undeclared here (not in a = function) IBV_RX_HASH_SRC_PORT_TCP | ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:166:5: error: 'IBV_RX_HASH_DST_PORT_TCP' undeclared here (not in a = function) IBV_RX_HASH_DST_PORT_TCP), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:344:3: error: unknown field 'comp_mask' specified in initializer .comp_mask =3D 0, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:344:16: warning: excess elements in struct initializer .comp_mask =3D 0, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:344:16: note: (near initialization for '(anonymous)') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:174:5: error: 'IBV_RX_HASH_SRC_PORT_UDP' undeclared here (not in a = function) IBV_RX_HASH_SRC_PORT_UDP | ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:345:2: error: invalid use of undefined type 'struct ibv_cq_init_attr= _ex' }; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:175:5: error: 'IBV_RX_HASH_DST_PORT_UDP' undeclared here (not in a = function) IBV_RX_HASH_DST_PORT_UDP), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:189:19: error: 'IBV_RX_HASH_SRC_IPV6' undeclared here (not in a fun= ction) .hash_fields =3D (IBV_RX_HASH_SRC_IPV6 | ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:190:5: error: 'IBV_RX_HASH_DST_IPV6' undeclared here (not in a func= tion) IBV_RX_HASH_DST_IPV6 | ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:390:12: error: 'struct ibv_qp_init_attr_ex' has no member named 'max= _tso_header' attr.init.max_tso_header =3D txq_ctrl->max_tso_header; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:391:26: error: 'IBV_QP_INIT_ATTR_MAX_TSO_HEADER' undeclared (first u= se in this function) attr.init.comp_mask |=3D IBV_QP_INIT_ATTR_MAX_TSO_HEADER; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:369:20: error: invalid application of 'sizeof' to incomplete type '= struct ibv_flow_spec_ipv4_ext' .dst_sz =3D sizeof(struct ibv_flow_spec_ipv4_ext), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:369:13: error: initializer element is not constant .dst_sz =3D sizeof(struct ibv_flow_spec_ipv4_ext), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:369:13: note: (near initialization for 'mlx5_flow_items[10].dst_sz'= ) /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:268:2: error: initializer element is not constant (const enum rte_flow_item_type []){ \ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:372:12: note: in expansion of macro 'ITEMS' .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_UDP, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:268:2: note: (near initialization for 'mlx5_flow_items[11].items') (const enum rte_flow_item_type []){ \ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:372:12: note: in expansion of macro 'ITEMS' .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_UDP, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:375:11: error: initializer element is not constant .mask =3D &(const struct rte_flow_item_ipv6){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:375:11: note: (near initialization for 'mlx5_flow_items[11].mask') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:397:20: error: invalid application of 'sizeof' to incomplete type '= struct ibv_flow_spec_ipv6' .dst_sz =3D sizeof(struct ibv_flow_spec_ipv6), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:397:13: error: initializer element is not constant .dst_sz =3D sizeof(struct ibv_flow_spec_ipv6), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:397:13: note: (near initialization for 'mlx5_flow_items[11].dst_sz'= ) /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _txq.c:477:33: error: 'struct mlx5dv_qp' has no member named 'uar_mmap_offs= et' txq_ctrl->uar_mmap_offset =3D qp.uar_mmap_offset; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:268:2: error: initializer element is not constant (const enum rte_flow_item_type []){ \ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:400:12: note: in expansion of macro 'ITEMS' .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_VXLAN), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:268:2: note: (near initialization for 'mlx5_flow_items[13].items') (const enum rte_flow_item_type []){ \ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:400:12: note: in expansion of macro 'ITEMS' .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_VXLAN), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:402:11: error: initializer element is not constant .mask =3D &(const struct rte_flow_item_udp){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:402:11: note: (near initialization for 'mlx5_flow_items[13].mask') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:415:11: error: initializer element is not constant .mask =3D &(const struct rte_flow_item_tcp){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:415:11: note: (near initialization for 'mlx5_flow_items[14].mask') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:268:2: error: initializer element is not constant (const enum rte_flow_item_type []){ \ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:427:12: note: in expansion of macro 'ITEMS' .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_ETH), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:268:2: note: (near initialization for 'mlx5_flow_items[16].items') (const enum rte_flow_item_type []){ \ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:427:12: note: in expansion of macro 'ITEMS' .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_ETH), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:429:11: error: initializer element is not constant .mask =3D &(const struct rte_flow_item_vxlan){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:429:11: note: (near initialization for 'mlx5_flow_items[16].mask') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:435:20: error: invalid application of 'sizeof' to incomplete type '= struct ibv_flow_spec_tunnel' .dst_sz =3D sizeof(struct ibv_flow_spec_tunnel), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:435:13: error: initializer element is not constant .dst_sz =3D sizeof(struct ibv_flow_spec_tunnel), ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:435:13: note: (near initialization for 'mlx5_flow_items[16].dst_sz'= ) /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c: In function 'mlx5_flow_convert_items_validate': /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:869:20: error: 'IBV_FLOW_SPEC_INNER' undeclared (first use in this = function) parser->inner =3D IBV_FLOW_SPEC_INNER; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:869:20: note: each undeclared identifier is reported only once for = each function it appears in /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:869:18: warning: assignment makes integer from pointer without a ca= st [-Wint-conversion] parser->inner =3D IBV_FLOW_SPEC_INNER; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:880:11: error: invalid application of 'sizeof' to incomplete type '= struct ibv_flow_spec_action_drop' sizeof(struct ibv_flow_spec_action_drop); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:879:38: warning: assignment makes integer from pointer without a ca= st [-Wint-conversion] parser->queue[HASH_RXQ_ETH].offset +=3D ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:885:12: error: invalid application of 'sizeof' to incomplete type '= struct ibv_flow_spec_action_tag' sizeof(struct ibv_flow_spec_action_tag); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:884:28: warning: assignment makes integer from pointer without a ca= st [-Wint-conversion] parser->queue[i].offset +=3D ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c: In function 'mlx5_flow_convert_finalise': /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1026:34: error: field 'ipv4' has incomplete type struct ibv_flow_spec_ipv4_ext ipv4; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1027:30: error: field 'ipv6' has incomplete type struct ibv_flow_spec_ipv6 ipv6; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1037:19: error: invalid application of 'sizeof' to incomplete type = 'struct ibv_flow_spec_ipv4_ext' size =3D sizeof(struct ibv_flow_spec_ipv4_ext); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1037:10: warning: assignment makes integer from pointer without a c= ast [-Wint-conversion] size =3D sizeof(struct ibv_flow_spec_ipv4_ext); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1039:6: error: unknown field 'type' specified in initializer .type =3D IBV_FLOW_SPEC_IPV4_EXT, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1039:14: error: 'IBV_FLOW_SPEC_IPV4_EXT' undeclared (first use in t= his function) .type =3D IBV_FLOW_SPEC_IPV4_EXT, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1039:14: warning: excess elements in struct initializer /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1039:14: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1040:6: error: unknown field 'size' specified in initializer .size =3D size, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1040:14: warning: excess elements in struct initializer .size =3D size, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1040:14: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1041:5: error: invalid use of undefined type 'struct ibv_flow_spec_= ipv4_ext' }; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1038:5: warning: statement with no effect [-Wunused-value] specs.ipv4 =3D (struct ibv_flow_spec_ipv4_ext){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1043:19: error: invalid application of 'sizeof' to incomplete type = 'struct ibv_flow_spec_ipv6' size =3D sizeof(struct ibv_flow_spec_ipv6); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1043:10: warning: assignment makes integer from pointer without a c= ast [-Wint-conversion] size =3D sizeof(struct ibv_flow_spec_ipv6); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1045:6: error: unknown field 'type' specified in initializer .type =3D IBV_FLOW_SPEC_IPV6, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1045:14: error: 'IBV_FLOW_SPEC_IPV6' undeclared (first use in this = function) .type =3D IBV_FLOW_SPEC_IPV6, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1045:14: warning: excess elements in struct initializer /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1045:14: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1046:6: error: unknown field 'size' specified in initializer .size =3D size, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1046:14: warning: excess elements in struct initializer .size =3D size, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1046:14: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1047:5: error: invalid use of undefined type 'struct ibv_flow_spec_= ipv6' }; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1044:5: warning: statement with no effect [-Wunused-value] specs.ipv6 =3D (struct ibv_flow_spec_ipv6){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c: In function 'mlx5_flow_create_ipv4': /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1375:34: error: invalid application of 'sizeof' to incomplete type = 'struct ibv_flow_spec_ipv4_ext' unsigned int ipv4_size =3D sizeof(struct ibv_flow_spec_ipv4_ext); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1375:27: warning: initialization makes integer from pointer without= a cast [-Wint-conversion] unsigned int ipv4_size =3D sizeof(struct ibv_flow_spec_ipv4_ext); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1376:9: error: variable 'ipv4' has initializer but incomplete type struct ibv_flow_spec_ipv4_ext ipv4 =3D { ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1377:3: error: unknown field 'type' specified in initializer .type =3D parser->inner | IBV_FLOW_SPEC_IPV4_EXT, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1377:27: error: 'IBV_FLOW_SPEC_IPV4_EXT' undeclared (first use in t= his function) .type =3D parser->inner | IBV_FLOW_SPEC_IPV4_EXT, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1377:25: error: invalid operands to binary | (have uint32_t {aka u= nsigned int}' and 'const struct mlx5_flow_items *') .type =3D parser->inner | IBV_FLOW_SPEC_IPV4_EXT, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1377:11: warning: excess elements in struct initializer .type =3D parser->inner | IBV_FLOW_SPEC_IPV4_EXT, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1377:11: note: (near initialization for 'ipv4') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1378:3: error: unknown field 'size' specified in initializer .size =3D ipv4_size, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1378:11: warning: excess elements in struct initializer .size =3D ipv4_size, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1378:11: note: (near initialization for 'ipv4') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1376:32: error: storage size of 'ipv4' isn't known struct ibv_flow_spec_ipv4_ext ipv4 =3D { ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1387:7: error: request for member 'val' in something not a structur= e or union ipv4.val =3D (struct ibv_flow_ipv4_ext_filter){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1388:4: error: unknown field 'src_ip' specified in initializer .src_ip =3D spec->hdr.src_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1388:14: warning: excess elements in struct initializer .src_ip =3D spec->hdr.src_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1388:14: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1389:4: error: unknown field 'dst_ip' specified in initializer .dst_ip =3D spec->hdr.dst_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1389:14: warning: excess elements in struct initializer .dst_ip =3D spec->hdr.dst_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1389:14: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1390:4: error: unknown field 'proto' specified in initializer .proto =3D spec->hdr.next_proto_id, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1390:13: warning: excess elements in struct initializer .proto =3D spec->hdr.next_proto_id, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1390:13: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1391:4: error: unknown field 'tos' specified in initializer .tos =3D spec->hdr.type_of_service, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1391:11: warning: excess elements in struct initializer .tos =3D spec->hdr.type_of_service, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1391:11: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1392:3: error: invalid use of undefined type 'struct ibv_flow_ipv4_= ext_filter' }; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1387:3: warning: statement with no effect [-Wunused-value] ipv4.val =3D (struct ibv_flow_ipv4_ext_filter){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1393:7: error: request for member 'mask' in something not a structu= re or union ipv4.mask =3D (struct ibv_flow_ipv4_ext_filter){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1394:4: error: unknown field 'src_ip' specified in initializer .src_ip =3D mask->hdr.src_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1394:14: warning: excess elements in struct initializer .src_ip =3D mask->hdr.src_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1394:14: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1395:4: error: unknown field 'dst_ip' specified in initializer .dst_ip =3D mask->hdr.dst_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1395:14: warning: excess elements in struct initializer .dst_ip =3D mask->hdr.dst_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1395:14: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1396:4: error: unknown field 'proto' specified in initializer .proto =3D mask->hdr.next_proto_id, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1396:13: warning: excess elements in struct initializer .proto =3D mask->hdr.next_proto_id, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1396:13: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1397:4: error: unknown field 'tos' specified in initializer .tos =3D mask->hdr.type_of_service, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1397:11: warning: excess elements in struct initializer .tos =3D mask->hdr.type_of_service, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1397:11: note: (near initialization for '(anonymous ') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1398:3: error: invalid use of undefined type 'struct ibv_flow_ipv4_= ext_filter' }; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1393:3: warning: statement with no effect [-Wunused-value] ipv4.mask =3D (struct ibv_flow_ipv4_ext_filter){ ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1400:7: error: request for member 'val' in something not a structur= e or union ipv4.val.src_ip &=3D ipv4.mask.src_ip; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1400:11: error: request for member 'src_ip' in something not a stru= cture or union ipv4.val.src_ip &=3D ipv4.mask.src_ip; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1400:26: error: request for member 'mask' in something not a struct= ure or union ipv4.val.src_ip &=3D ipv4.mask.src_ip; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1400:31: error: request for member 'src_ip' in something not a stru= cture or union ipv4.val.src_ip &=3D ipv4.mask.src_ip; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1400:3: warning: statement with no effect [-Wunused-value] ipv4.val.src_ip &=3D ipv4.mask.src_ip; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1401:7: error: request for member 'val' in something not a structur= e or union ipv4.val.dst_ip &=3D ipv4.mask.dst_ip; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1401:11: error: request for member 'dst_ip' in something not a stru= cture or union ipv4.val.dst_ip &=3D ipv4.mask.dst_ip; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1401:26: error: request for member 'mask' in something not a struct= ure or union ipv4.val.dst_ip &=3D ipv4.mask.dst_ip; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1401:31: error: request for member 'dst_ip' in something not a stru= cture or union ipv4.val.dst_ip &=3D ipv4.mask.dst_ip; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1401:3: warning: statement with no effect [-Wunused-value] ipv4.val.dst_ip &=3D ipv4.mask.dst_ip; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1402:7: error: request for member 'val' in something not a structur= e or union ipv4.val.proto &=3D ipv4.mask.proto; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1402:11: error: request for member 'proto' in something not a struc= ture or union ipv4.val.proto &=3D ipv4.mask.proto; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1402:25: error: request for member 'mask' in something not a struct= ure or union ipv4.val.proto &=3D ipv4.mask.proto; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1402:30: error: request for member 'proto' in something not a struc= ture or union ipv4.val.proto &=3D ipv4.mask.proto; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1402:3: warning: statement with no effect [-Wunused-value] ipv4.val.proto &=3D ipv4.mask.proto; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1403:7: error: request for member 'val' in something not a structur= e or union ipv4.val.tos &=3D ipv4.mask.tos; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1403:11: error: request for member 'tos' in something not a structu= re or union ipv4.val.tos &=3D ipv4.mask.tos; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1403:23: error: request for member 'mask' in something not a struct= ure or union ipv4.val.tos &=3D ipv4.mask.tos; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1403:28: error: request for member 'tos' in something not a structu= re or union ipv4.val.tos &=3D ipv4.mask.tos; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1403:3: warning: statement with no effect [-Wunused-value] ipv4.val.tos &=3D ipv4.mask.tos; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1405:32: warning: passing argument 2 of 'mlx5_flow_create_copy' dis= cards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifi= ers] mlx5_flow_create_copy(parser, &ipv4, ipv4_size); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1227:1: note: expected 'void *' but argument is of type 'const stru= ct mlx5_flow_items (*)[1]' mlx5_flow_create_copy(struct mlx5_flow_parse *parser, void *src, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1376:32: warning: unused variable 'ipv4' [-Wunused-variable] struct ibv_flow_spec_ipv4_ext ipv4 =3D { ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c: In function 'mlx5_flow_create_ipv6': /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1430:34: error: invalid application of 'sizeof' to incomplete type = 'struct ibv_flow_spec_ipv6' unsigned int ipv6_size =3D sizeof(struct ibv_flow_spec_ipv6); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1430:27: warning: initialization makes integer from pointer without= a cast [-Wint-conversion] unsigned int ipv6_size =3D sizeof(struct ibv_flow_spec_ipv6); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1431:9: error: variable 'ipv6' has initializer but incomplete type struct ibv_flow_spec_ipv6 ipv6 =3D { ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1432:3: error: unknown field 'type' specified in initializer .type =3D parser->inner | IBV_FLOW_SPEC_IPV6, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1432:27: error: 'IBV_FLOW_SPEC_IPV6' undeclared (first use in this = function) .type =3D parser->inner | IBV_FLOW_SPEC_IPV6, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1432:25: error: invalid operands to binary | (have uint32_t {aka u= nsigned int}' and 'const struct mlx5_flow_items *') .type =3D parser->inner | IBV_FLOW_SPEC_IPV6, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1432:11: warning: excess elements in struct initializer .type =3D parser->inner | IBV_FLOW_SPEC_IPV6, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1432:11: note: (near initialization for 'ipv6') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1433:3: error: unknown field 'size' specified in initializer .size =3D ipv6_size, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1433:11: warning: excess elements in struct initializer .size =3D ipv6_size, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1433:11: note: (near initialization for 'ipv6') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1431:28: error: storage size of 'ipv6' isn't known struct ibv_flow_spec_ipv6 ipv6 =3D { ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1446:15: error: request for member 'val' in something not a structu= re or union memcpy(&ipv6.val.src_ip, spec->hdr.src_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1446:19: error: request for member 'src_ip' in something not a stru= cture or union memcpy(&ipv6.val.src_ip, spec->hdr.src_addr, ^ In file included from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_flow.c:47:0: /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1447:22: error: request for member 'val' in something not a structu= re or union RTE_DIM(ipv6.val.src_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:29: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1447:26: error: request for member 'src_ip' in something not a stru= cture or union RTE_DIM(ipv6.val.src_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:29: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1447:22: error: request for member 'val' in something not a structu= re or union RTE_DIM(ipv6.val.src_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:43: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1447:26: error: request for member 'src_ip' in something not a stru= cture or union RTE_DIM(ipv6.val.src_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:43: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:32: error: invalid operands to binary / (hav= e 'const struct mlx5_flow_items *' and 'long unsigned int') #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1447:10: note: in expansion of macro 'RTE_DIM' RTE_DIM(ipv6.val.src_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1446:10: warning: passing argument 1 of 'memcpy' discards 'const' q= ualifier from pointer target type [-Wdiscarded-array-qualifiers] memcpy(&ipv6.val.src_ip, spec->hdr.src_addr, ^ In file included from /usr/include/features.h:367:0, from /usr/include/string.h:25, from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_flow.c:35: /usr/include/x86_64-linux-gnu/bits/string3.h:50:1: note: expected 'void * r= estrict' but argument is of type 'const struct mlx5_flow_items (*)[1]' __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^ In file included from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_flow.c:47:0: /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:20: warning: passing argument 3 of 'memcpy' = makes integer from pointer without a cast [-Wint-conversion] #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1447:10: note: in expansion of macro 'RTE_DIM' RTE_DIM(ipv6.val.src_ip)); ^ In file included from /usr/include/features.h:367:0, from /usr/include/string.h:25, from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_flow.c:35: /usr/include/x86_64-linux-gnu/bits/string3.h:50:1: note: expected 'size_t {= aka long unsigned int}' but argument is of type 'const struct mlx5_flow_ite= ms *' __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1448:15: error: request for member 'val' in something not a structu= re or union memcpy(&ipv6.val.dst_ip, spec->hdr.dst_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1448:19: error: request for member 'dst_ip' in something not a stru= cture or union memcpy(&ipv6.val.dst_ip, spec->hdr.dst_addr, ^ In file included from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_flow.c:47:0: /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1449:22: error: request for member 'val' in something not a structu= re or union RTE_DIM(ipv6.val.dst_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:29: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1449:26: error: request for member 'dst_ip' in something not a stru= cture or union RTE_DIM(ipv6.val.dst_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:29: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1449:22: error: request for member 'val' in something not a structu= re or union RTE_DIM(ipv6.val.dst_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:43: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1449:26: error: request for member 'dst_ip' in something not a stru= cture or union RTE_DIM(ipv6.val.dst_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:43: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:32: error: invalid operands to binary / (hav= e 'const struct mlx5_flow_items *' and 'long unsigned int') #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1449:10: note: in expansion of macro 'RTE_DIM' RTE_DIM(ipv6.val.dst_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1448:10: warning: passing argument 1 of 'memcpy' discards 'const' q= ualifier from pointer target type [-Wdiscarded-array-qualifiers] memcpy(&ipv6.val.dst_ip, spec->hdr.dst_addr, ^ In file included from /usr/include/features.h:367:0, from /usr/include/string.h:25, from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_flow.c:35: /usr/include/x86_64-linux-gnu/bits/string3.h:50:1: note: expected 'void * r= estrict' but argument is of type 'const struct mlx5_flow_items (*)[1]' __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^ In file included from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_flow.c:47:0: /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:20: warning: passing argument 3 of 'memcpy' = makes integer from pointer without a cast [-Wint-conversion] #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1449:10: note: in expansion of macro 'RTE_DIM' RTE_DIM(ipv6.val.dst_ip)); ^ In file included from /usr/include/features.h:367:0, from /usr/include/string.h:25, from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_flow.c:35: /usr/include/x86_64-linux-gnu/bits/string3.h:50:1: note: expected 'size_t {= aka long unsigned int}' but argument is of type 'const struct mlx5_flow_ite= ms *' __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1450:15: error: request for member 'mask' in something not a struct= ure or union memcpy(&ipv6.mask.src_ip, mask->hdr.src_addr, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1450:20: error: request for member 'src_ip' in something not a stru= cture or union memcpy(&ipv6.mask.src_ip, mask->hdr.src_addr, ^ In file included from /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3= /drivers/net/mlx5/mlx5_flow.c:47:0: /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1451:22: error: request for member 'mask' in something not a struct= ure or union RTE_DIM(ipv6.mask.src_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:29: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1451:27: error: request for member 'src_ip' in something not a stru= cture or union RTE_DIM(ipv6.mask.src_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:29: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1451:22: error: request for member 'mask' in something not a struct= ure or union RTE_DIM(ipv6.mask.src_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:43: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= _flow.c:1451:27: error: request for member 'src_ip' in something not a stru= cture or union RTE_DIM(ipv6.mask.src_ip)); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linuxap= p-gcc/include/rte_common.h:418:43: note: in definition of macro 'RTE_DIM' #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c: In function 'mlx5_pci_probe': /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:921:21: error: 'struct ibv_device_attr_ex' has no member named 'device_c= ap_flags_ex' !!(device_attr_ex.device_cap_flags_ex & ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:922:7: error: 'IBV_DEVICE_RAW_IP_CSUM' undeclared (first use in this fun= ction) IBV_DEVICE_RAW_IP_CSUM); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:922:7: note: each undeclared identifier is reported only once for each f= unction it appears in /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:942:18: error: 'struct ibv_device_attr_ex' has no member named 'rss_caps= ' device_attr_ex.rss_caps.max_rwq_indirection_table_size; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:950:42: error: 'struct ibv_device_attr_ex' has no member named 'raw_pack= et_caps' priv->hw_vlan_strip =3D !!(device_attr_ex.raw_packet_caps & ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:951:7: error: 'IBV_RAW_PACKET_CAP_CVLAN_STRIPPING' undeclared (first use= in this function) IBV_RAW_PACKET_CAP_CVLAN_STRIPPING); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:955:41: error: 'struct ibv_device_attr_ex' has no member named 'raw_pack= et_caps' priv->hw_fcs_strip =3D !!(device_attr_ex.raw_packet_caps & ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:956:6: error: 'IBV_RAW_PACKET_CAP_SCATTER_FCS' undeclared (first use in = this function) IBV_RAW_PACKET_CAP_SCATTER_FCS); ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:967:23: error: 'struct ibv_device_attr_ex' has no member named 'tso_caps= ' (device_attr_ex.tso_caps.max_tso > 0) && ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:968:23: error: 'struct ibv_device_attr_ex' has no member named 'tso_caps= ' (device_attr_ex.tso_caps.supported_qpts & ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:972:19: error: 'struct ibv_device_attr_ex' has no member named 'tso_caps= ' device_attr_ex.tso_caps.max_tso; ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1067:10: error: variable 'alctr' has initializer but incomplete type struct mlx5dv_ctx_allocators alctr =3D { ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1068:4: error: unknown field 'alloc' specified in initializer .alloc =3D &mlx5_alloc_verbs_buf, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1068:13: warning: excess elements in struct initializer .alloc =3D &mlx5_alloc_verbs_buf, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1068:13: note: (near initialization for 'alctr') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1069:4: error: unknown field 'free' specified in initializer .free =3D &mlx5_free_verbs_buf, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1069:12: warning: excess elements in struct initializer .free =3D &mlx5_free_verbs_buf, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1069:12: note: (near initialization for 'alctr') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1070:4: error: unknown field 'data' specified in initializer .data =3D priv, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1070:12: warning: excess elements in struct initializer .data =3D priv, ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1070:12: note: (near initialization for 'alctr') /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1067:32: error: storage size of 'alctr' isn't known struct mlx5dv_ctx_allocators alctr =3D { ^ /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5= .c:1072:3: warning: implicit declaration of function 'mlx5dv_set_context_at= tr' [-Wim