From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 11253AAE9 for ; Mon, 6 Aug 2018 19:56:59 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id o18-v6so15333523wmc.0 for ; Mon, 06 Aug 2018 10:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=koWBN/LSqP7ot2xSULo0hFmQK8iW3VFsIhrRJNbb6B0=; b=TN85dn/VrhrD2mBPdSqqkAuuk6mIJ+yyaQJ4+fMO8ZzdF/bJ5/Sz/wNv8n/oMZRuVM Jec5G54VvtwJrDobRgeEgCyE0jiq7Qz2XGH+6n3QpoyT36PayCeCHeMTO4c3lJGE4qgw lfNfNfn3m3/x4/iZ/SQxWco2CommmOFgMPtacgTV435w1xMZrGL1IRHm6J7PSSpeDZKq og23E52w5OhN1ikJUnjBA0dBjCQ8960T/2qNaGoOXZ3tQt2zQ83GlJKdGZCcg/oXwoM1 INkTuL/LsMX+WkOZnjwi48no94ZhmvQzvttFtI0am33xd2JMuUm12JUxpza5KfnLdkes h0CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=koWBN/LSqP7ot2xSULo0hFmQK8iW3VFsIhrRJNbb6B0=; b=VheBfnh/mGECc1a1JcoxZ7aIXQvacw03XemU7u4LNPVacCJQLxsba3kcsMGGBJLj6n 9AFZ1lRrDYCaDIAimzq7wvvllJ/U9auNvl1HpATRdfMXi2vlV1ws50ePL2jTstP84M8T eMB+j3jUMp4dA3nCMNWSRFlAUTiMxfPz8dYkwTuoJ7NrOmKTSl+YqZ6elK+oZzwQYGa+ 890hBeH4Hd01b/Ih9nq3qbzyK1KRIca4hePD1iY95jIIcmNTC3u4pcYgAY35ykfu3xyd 6Yjw91JG15BNKQxTrRyHJIb09bM+ZGtFvkkJtjMDa6alzNy146Pf7z/zsja8fj1QF0dE jiRg== X-Gm-Message-State: AOUpUlGqpjFoXlOEOtPB5Hl8S23GSXMRAXcNuRu0xJReyO/WnxOxT3Wq ZsvWDaKtkYfJ47vQl1Xhu9O5hmdMEq82GZNCk5c= X-Google-Smtp-Source: AAOMgpfm+kX1qRY9y4aMp0nq3HcYczURqb7zGujjGhVd75i4W4FOOvY0qd1VOv1OygBZfxgQmv8q+96F0j87R/3pePs= X-Received: by 2002:a1c:8e08:: with SMTP id q8-v6mr13430748wmd.137.1533578218046; Mon, 06 Aug 2018 10:56:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Morgan Yang Date: Mon, 6 Aug 2018 10:56:46 -0700 Message-ID: To: Xiaoban_Wu@student.uml.edu Cc: users@dpdk.org X-Mailman-Approved-At: Wed, 08 Aug 2018 15:37:02 +0200 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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: Mon, 06 Aug 2018 17:56:59 -0000 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 17.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 "*./mlnxofedins= tall > --upstream-libs --dpdk*"? > > > Best wishes, > > Xiaoban > ------------------------------ > *From:* users on behalf of Morgan Yang < > morgan.yang1982@gmail.com> > *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 usi= ng > 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 a= nd > 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/ml= x5_rxq.c: > In function =E2=80=98mlx5_rxq_ibv_new=E2=80=99: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:567:21: > error: storage size of =E2=80=98mod=E2=80=99 isn=E2=80=99t known > struct ibv_wq_attr mod; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:570:31: > error: field =E2=80=98ibv=E2=80=99 has incomplete type > struct ibv_cq_init_attr_ex ibv; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:571:31: > error: field =E2=80=98mlx5=E2=80=99 has incomplete type > struct mlx5dv_cq_init_attr mlx5; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:573:27: > error: field =E2=80=98wq=E2=80=99 has incomplete type > struct ibv_wq_init_attr wq; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:574:20: > error: field =E2=80=98cq_attr=E2=80=99 has incomplete type > struct ibv_cq_ex cq_attr; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:618:3: > error: unknown field =E2=80=98cqe=E2=80=99 specified in initializer > .cqe =3D cqe_n, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:618:10: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:619:3: > error: unknown field =E2=80=98channel=E2=80=99 specified in initializer > .channel =3D tmpl->channel, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:619:14: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:620:3: > error: unknown field =E2=80=98comp_mask=E2=80=99 specified in initializer > .comp_mask =3D 0, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:620:16: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:621:2: > error: invalid use of undefined type =E2=80=98struct ibv_cq_init_attr_ex= =E2=80=99 > }; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:623:3: > error: unknown field =E2=80=98comp_mask=E2=80=99 specified in initializer > .comp_mask =3D 0, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:623:16: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:624:2: > error: invalid use of undefined type =E2=80=98struct mlx5dv_cq_init_attr= =E2=80=99 > }; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:627:4: > error: =E2=80=98MLX5DV_CQ_INIT_ATTR_MASK_COMPRESSED_CQE=E2=80=99 undeclar= ed (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/ml= x5_rxq.c:627:4: > 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/ml= x5_rxq.c:628:38: > error: =E2=80=98MLX5DV_CQE_RES_FORMAT_HASH=E2=80=99 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/ml= x5_rxq.c:641:13: > warning: implicit declaration of function =E2=80=98ibv_cq_ex_to_cq=E2=80= =99 > [-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/ml= x5_rxq.c:641:2: > warning: nested extern declaration of =E2=80=98ibv_cq_ex_to_cq=E2=80=99 [= -Wnested-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/ml= x5_rxq.c:641:29: > warning: implicit declaration of function =E2=80=98mlx5dv_create_cq=E2=80= =99 > [-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/ml= x5_rxq.c:641:2: > warning: nested extern declaration of =E2=80=98mlx5dv_create_cq=E2=80=99 = [-Wnested-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/ml= x5_rxq.c:654:3: > error: unknown field =E2=80=98wq_context=E2=80=99 specified in initialize= r > .wq_context =3D NULL, /* Could be useful in the future. */ > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:655:3: > error: unknown field =E2=80=98wq_type=E2=80=99 specified in initializer > .wq_type =3D IBV_WQT_RQ, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:655:14: > error: =E2=80=98IBV_WQT_RQ=E2=80=99 undeclared (first use in this functio= n) > .wq_type =3D IBV_WQT_RQ, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:655:14: > warning: excess elements in struct initializer > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:655:14: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:657:3: > error: unknown field =E2=80=98max_wr=E2=80=99 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/ml= x5_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/ml= x5_rxq.c:657:13: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:659:3: > error: unknown field =E2=80=98max_sge=E2=80=99 specified in initializer > .max_sge =3D 1 << rxq_data->sges_n, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:659:14: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:660:3: > error: unknown field =E2=80=98pd=E2=80=99 specified in initializer > .pd =3D priv->pd, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:660:9: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:661:3: > error: unknown field =E2=80=98cq=E2=80=99 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/ml= x5_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/ml= x5_rxq.c:661:9: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:662:3: > error: unknown field =E2=80=98comp_mask=E2=80=99 specified in initializer > .comp_mask =3D > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:663:4: > error: =E2=80=98IBV_WQ_FLAGS_CVLAN_STRIPPING=E2=80=99 undeclared (first u= se in this > function) > IBV_WQ_FLAGS_CVLAN_STRIPPING | > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:663:4: > warning: excess elements in struct initializer > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:663:4: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:665:3: > error: unknown field =E2=80=98create_flags=E2=80=99 specified in initiali= zer > .create_flags =3D (rxq_data->vlan_strip ? > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:665:19: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:668:2: > error: invalid use of undefined type =E2=80=98struct ibv_wq_init_attr=E2= =80=99 > }; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:671:27: > error: =E2=80=98IBV_WQ_FLAGS_SCATTER_FCS=E2=80=99 undeclared (first use i= n this function) > attr.wq.create_flags |=3D IBV_WQ_FLAGS_SCATTER_FCS; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:672:24: > error: =E2=80=98IBV_WQ_INIT_ATTR_FLAGS=E2=80=99 undeclared (first use in = this function) > attr.wq.comp_mask |=3D IBV_WQ_INIT_ATTR_FLAGS; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:680:13: > warning: implicit declaration of function =E2=80=98ibv_create_wq=E2=80=99 > [-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/ml= x5_rxq.c:680:2: > warning: nested extern declaration of =E2=80=98ibv_create_wq=E2=80=99 [-W= nested-externs] > tmpl->wq =3D ibv_create_wq(priv->ctx, &attr.wq); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:706:3: > error: unknown field =E2=80=98attr_mask=E2=80=99 specified in initializer > .attr_mask =3D IBV_WQ_ATTR_STATE, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:706:16: > error: =E2=80=98IBV_WQ_ATTR_STATE=E2=80=99 undeclared (first use in this = function) > .attr_mask =3D IBV_WQ_ATTR_STATE, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:706:16: > warning: excess elements in struct initializer > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:706:16: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:707:3: > error: unknown field =E2=80=98wq_state=E2=80=99 specified in initializer > .wq_state =3D IBV_WQS_RDY, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:707:15: > error: =E2=80=98IBV_WQS_RDY=E2=80=99 undeclared (first use in this functi= on) > .wq_state =3D IBV_WQS_RDY, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:707:15: > warning: excess elements in struct initializer > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:707:15: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:708:2: > error: invalid use of undefined type =E2=80=98struct ibv_wq_attr=E2=80=99 > }; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:709:8: > warning: implicit declaration of function =E2=80=98ibv_modify_wq=E2=80=99 > [-Wimplicit-function-declaration] > ret =3D ibv_modify_wq(tmpl->wq, &mod); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:709:2: > warning: nested extern declaration of =E2=80=98ibv_modify_wq=E2=80=99 [-W= nested-externs] > ret =3D ibv_modify_wq(tmpl->wq, &mod); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:719:13: > warning: assignment from incompatible pointer type > [-Wincompatible-pointer-types] > obj.rwq.in =3D tmpl->wq; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:760:28: > error: =E2=80=98struct mlx5dv_cq=E2=80=99 has no member named =E2=80=98cq= _uar=E2=80=99 > 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/ml= x5.h:62:0, > from > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:61: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:778:14: > warning: implicit declaration of function =E2=80=98ibv_destroy_wq=E2=80= =99 > [-Wimplicit-function-declaration] > claim_zero(ibv_destroy_wq(tmpl->wq)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_utils.h:141:26: > note: in definition of macro =E2=80=98claim_zero=E2=80=99 > #define claim_zero(...) (__VA_ARGS__) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:778:3: > warning: nested extern declaration of =E2=80=98ibv_destroy_wq=E2=80=99 [-= Wnested-externs] > claim_zero(ibv_destroy_wq(tmpl->wq)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:575:4: > warning: variable =E2=80=98attr=E2=80=99 set but not used [-Wunused-but-s= et-variable] > } attr; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:567:21: > warning: unused variable =E2=80=98mod=E2=80=99 [-Wunused-variable] > struct ibv_wq_attr mod; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c: > In function =E2=80=98mlx5_ind_table_ibv_new=E2=80=99: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1193:23: > warning: implicit declaration of function =E2=80=98ibv_create_rwq_ind_tab= le=E2=80=99 > [-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/ml= x5_rxq.c:1193:2: > warning: nested extern declaration of =E2=80=98ibv_create_rwq_ind_table= =E2=80=99 > [-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/ml= x5_rxq.c:1196:4: > error: unknown field =E2=80=98log_ind_tbl_size=E2=80=99 specified in init= ializer > .log_ind_tbl_size =3D wq_n, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:1196:24: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1197:4: > error: unknown field =E2=80=98ind_tbl=E2=80=99 specified in initializer > .ind_tbl =3D wq, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:1197:15: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1198:4: > error: unknown field =E2=80=98comp_mask=E2=80=99 specified in initializer > .comp_mask =3D 0, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:1198:17: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1199:3: > error: invalid use of undefined type =E2=80=98struct ibv_rwq_ind_table_in= it_attr=E2=80=99 > }); > ^ > In file included from > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.h:62:0, > from > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:61: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c: > In function =E2=80=98mlx5_ind_table_ibv_release=E2=80=99: > CC rte_eth_kni.o.pmd.o > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1278:14: > warning: implicit declaration of function =E2=80=98ibv_destroy_rwq_ind_ta= ble=E2=80=99 > [-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/ml= x5_utils.h:141:26: > note: in definition of macro =E2=80=98claim_zero=E2=80=99 > #define claim_zero(...) (__VA_ARGS__) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1278:3: > warning: nested extern declaration of =E2=80=98ibv_destroy_rwq_ind_table= =E2=80=99 > [-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/ml= x5_rxq.c: > In function =E2=80=98mlx5_hrxq_new=E2=80=99: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1358:5: > error: =E2=80=98IBV_QP_INIT_ATTR_IND_TABLE=E2=80=99 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/ml= x5_rxq.c:1359:5: > error: =E2=80=98IBV_QP_INIT_ATTR_RX_HASH=E2=80=99 undeclared (first use i= n this function) > IBV_QP_INIT_ATTR_RX_HASH, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1360:4: > error: unknown field =E2=80=98rx_hash_conf=E2=80=99 specified in initiali= zer > .rx_hash_conf =3D (struct ibv_rx_hash_conf){ > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1361:5: > error: unknown field =E2=80=98rx_hash_function=E2=80=99 specified in init= ializer > .rx_hash_function =3D IBV_RX_HASH_FUNC_TOEPLITZ, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1361:25: > error: =E2=80=98IBV_RX_HASH_FUNC_TOEPLITZ=E2=80=99 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/ml= x5_rxq.c:1361:25: > warning: excess elements in struct initializer > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1361:25: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1362:5: > error: unknown field =E2=80=98rx_hash_key_len=E2=80=99 specified in initi= alizer > .rx_hash_key_len =3D rss_key_len, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:1362:24: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1363:5: > error: unknown field =E2=80=98rx_hash_key=E2=80=99 specified in initializ= er > .rx_hash_key =3D rss_key, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:1363:20: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1364:5: > error: unknown field =E2=80=98rx_hash_fields_mask=E2=80=99 specified in i= nitializer > .rx_hash_fields_mask =3D hash_fields, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_rxq.c:1364:28: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1366:4: > error: unknown field =E2=80=98rwq_ind_tbl=E2=80=99 specified in initializ= er > .rwq_ind_tbl =3D ind_tbl->ind_table, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1366:19: > warning: initialization from incompatible pointer type > [-Wincompatible-pointer-types] > .rwq_ind_tbl =3D ind_tbl->ind_table, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_rxq.c:1366:19: > note: (near initialization for =E2=80=98(anonymous).xrcd=E2=80=99) > 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.compile-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/ml= x5_vlan.c: > In function =E2=80=98mlx5_vlan_strip_queue_set=E2=80=99: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:120:21: > error: storage size of =E2=80=98mod=E2=80=99 isn=E2=80=99t known > struct ibv_wq_attr mod; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:122:9: > error: =E2=80=98IBV_WQ_FLAGS_CVLAN_STRIPPING=E2=80=99 undeclared (first u= se in this > function) > (on ? IBV_WQ_FLAGS_CVLAN_STRIPPING : 0) | > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:122:9: > 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/ml= x5_vlan.c:146:3: > error: unknown field =E2=80=98attr_mask=E2=80=99 specified in initializer > .attr_mask =3D IBV_WQ_ATTR_FLAGS, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:146:16: > error: =E2=80=98IBV_WQ_ATTR_FLAGS=E2=80=99 undeclared (first use in this = function) > .attr_mask =3D IBV_WQ_ATTR_FLAGS, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:146:16: > warning: excess elements in struct initializer > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:146:16: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:147:3: > error: unknown field =E2=80=98flags_mask=E2=80=99 specified in initialize= r > .flags_mask =3D IBV_WQ_FLAGS_CVLAN_STRIPPING, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_vlan.c:147:17: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:148:3: > error: unknown field =E2=80=98flags=E2=80=99 specified in initializer > .flags =3D vlan_offloads, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_vlan.c:148:12: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:149:2: > error: invalid use of undefined type =E2=80=98struct ibv_wq_attr=E2=80=99 > }; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:150:8: > warning: implicit declaration of function =E2=80=98ibv_modify_wq=E2=80=99 > [-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/ml= x5_vlan.c:150:2: > warning: nested extern declaration of =E2=80=98ibv_modify_wq=E2=80=99 [-W= nested-externs] > ret =3D ibv_modify_wq(rxq_ctrl->ibv->wq, &mod); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_vlan.c:120:21: > warning: unused variable =E2=80=98mod=E2=80=99 [-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.compile-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/ml= x5_txq.c: > In function =E2=80=98mlx5_txq_ibv_new=E2=80=99: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_txq.c:320:30: > error: field =E2=80=98cq=E2=80=99 has incomplete type > struct ibv_cq_init_attr_ex cq; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_txq.c:322:20: > error: field =E2=80=98cq_attr=E2=80=99 has incomplete type > struct ibv_cq_ex cq_attr; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_txq.c:325:39: > error: =E2=80=98MLX5DV_QP_MASK_UAR_MMAP_OFFSET=E2=80=99 undeclared (first= use 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/ml= x5_txq.c:325:39: > 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/ml= x5_flow.c:163:19: > error: =E2=80=98IBV_RX_HASH_SRC_IPV4=E2=80=99 undeclared here (not in a f= unction) > .hash_fields =3D (IBV_RX_HASH_SRC_IPV4 | > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:164:5: > error: =E2=80=98IBV_RX_HASH_DST_IPV4=E2=80=99 undeclared here (not in a f= unction) > IBV_RX_HASH_DST_IPV4 | > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:165:5: > error: =E2=80=98IBV_RX_HASH_SRC_PORT_TCP=E2=80=99 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/ml= x5_flow.c:166:5: > error: =E2=80=98IBV_RX_HASH_DST_PORT_TCP=E2=80=99 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/ml= x5_txq.c:344:3: > error: unknown field =E2=80=98comp_mask=E2=80=99 specified in initializer > .comp_mask =3D 0, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_txq.c:344:16: > note: (near initialization for =E2=80=98(anonymous)=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:174:5: > error: =E2=80=98IBV_RX_HASH_SRC_PORT_UDP=E2=80=99 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/ml= x5_txq.c:345:2: > error: invalid use of undefined type =E2=80=98struct ibv_cq_init_attr_ex= =E2=80=99 > }; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:175:5: > error: =E2=80=98IBV_RX_HASH_DST_PORT_UDP=E2=80=99 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/ml= x5_flow.c:189:19: > error: =E2=80=98IBV_RX_HASH_SRC_IPV6=E2=80=99 undeclared here (not in a f= unction) > .hash_fields =3D (IBV_RX_HASH_SRC_IPV6 | > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:190:5: > error: =E2=80=98IBV_RX_HASH_DST_IPV6=E2=80=99 undeclared here (not in a f= unction) > IBV_RX_HASH_DST_IPV6 | > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_txq.c:390:12: > error: =E2=80=98struct ibv_qp_init_attr_ex=E2=80=99 has no member named = =E2=80=98max_tso_header=E2=80=99 > attr.init.max_tso_header =3D txq_ctrl->max_tso_header; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_txq.c:391:26: > error: =E2=80=98IBV_QP_INIT_ATTR_MAX_TSO_HEADER=E2=80=99 undeclared (firs= t use 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/ml= x5_flow.c:369:20: > error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete type= =E2=80=98struct > ibv_flow_spec_ipv4_ext=E2=80=99 > .dst_sz =3D sizeof(struct ibv_flow_spec_ipv4_ext), > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:369:13: > note: (near initialization for =E2=80=98mlx5_flow_items[10].dst_sz=E2=80= =99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:372:12: > note: in expansion of macro =E2=80=98ITEMS=E2=80=99 > .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_UDP, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:268:2: > note: (near initialization for =E2=80=98mlx5_flow_items[11].items=E2=80= =99) > (const enum rte_flow_item_type []){ \ > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:372:12: > note: in expansion of macro =E2=80=98ITEMS=E2=80=99 > .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_UDP, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:375:11: > note: (near initialization for =E2=80=98mlx5_flow_items[11].mask=E2=80=99= ) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:397:20: > error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete type= =E2=80=98struct > ibv_flow_spec_ipv6=E2=80=99 > .dst_sz =3D sizeof(struct ibv_flow_spec_ipv6), > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:397:13: > note: (near initialization for =E2=80=98mlx5_flow_items[11].dst_sz=E2=80= =99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_txq.c:477:33: > error: =E2=80=98struct mlx5dv_qp=E2=80=99 has no member named =E2=80=98ua= r_mmap_offset=E2=80=99 > txq_ctrl->uar_mmap_offset =3D qp.uar_mmap_offset; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:400:12: > note: in expansion of macro =E2=80=98ITEMS=E2=80=99 > .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_VXLAN), > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:268:2: > note: (near initialization for =E2=80=98mlx5_flow_items[13].items=E2=80= =99) > (const enum rte_flow_item_type []){ \ > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:400:12: > note: in expansion of macro =E2=80=98ITEMS=E2=80=99 > .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_VXLAN), > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:402:11: > note: (near initialization for =E2=80=98mlx5_flow_items[13].mask=E2=80=99= ) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:415:11: > note: (near initialization for =E2=80=98mlx5_flow_items[14].mask=E2=80=99= ) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:427:12: > note: in expansion of macro =E2=80=98ITEMS=E2=80=99 > .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_ETH), > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:268:2: > note: (near initialization for =E2=80=98mlx5_flow_items[16].items=E2=80= =99) > (const enum rte_flow_item_type []){ \ > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:427:12: > note: in expansion of macro =E2=80=98ITEMS=E2=80=99 > .items =3D ITEMS(RTE_FLOW_ITEM_TYPE_ETH), > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:429:11: > note: (near initialization for =E2=80=98mlx5_flow_items[16].mask=E2=80=99= ) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:435:20: > error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete type= =E2=80=98struct > ibv_flow_spec_tunnel=E2=80=99 > .dst_sz =3D sizeof(struct ibv_flow_spec_tunnel), > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:435:13: > note: (near initialization for =E2=80=98mlx5_flow_items[16].dst_sz=E2=80= =99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c: > In function =E2=80=98mlx5_flow_convert_items_validate=E2=80=99: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:869:20: > error: =E2=80=98IBV_FLOW_SPEC_INNER=E2=80=99 undeclared (first use in thi= s function) > parser->inner =3D IBV_FLOW_SPEC_INNER; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:869:18: > warning: assignment makes integer from pointer without a cast > [-Wint-conversion] > parser->inner =3D IBV_FLOW_SPEC_INNER; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:880:11: > error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete type= =E2=80=98struct > ibv_flow_spec_action_drop=E2=80=99 > sizeof(struct ibv_flow_spec_action_drop); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:879:38: > warning: assignment makes integer from pointer without a cast > [-Wint-conversion] > parser->queue[HASH_RXQ_ETH].offset +=3D > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:885:12: > error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete type= =E2=80=98struct > ibv_flow_spec_action_tag=E2=80=99 > sizeof(struct ibv_flow_spec_action_tag); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:884:28: > warning: assignment makes integer from pointer without a cast > [-Wint-conversion] > parser->queue[i].offset +=3D > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c: > In function =E2=80=98mlx5_flow_convert_finalise=E2=80=99: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1026:34: > error: field =E2=80=98ipv4=E2=80=99 has incomplete type > struct ibv_flow_spec_ipv4_ext ipv4; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1027:30: > error: field =E2=80=98ipv6=E2=80=99 has incomplete type > struct ibv_flow_spec_ipv6 ipv6; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1037:19: > error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete type= =E2=80=98struct > ibv_flow_spec_ipv4_ext=E2=80=99 > size =3D sizeof(struct ibv_flow_spec_ipv4_ext); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1037:10: > warning: assignment makes integer from pointer without a cast > [-Wint-conversion] > size =3D sizeof(struct ibv_flow_spec_ipv4_ext); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1039:6: > error: unknown field =E2=80=98type=E2=80=99 specified in initializer > .type =3D IBV_FLOW_SPEC_IPV4_EXT, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1039:14: > error: =E2=80=98IBV_FLOW_SPEC_IPV4_EXT=E2=80=99 undeclared (first use in = this function) > .type =3D IBV_FLOW_SPEC_IPV4_EXT, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1039:14: > warning: excess elements in struct initializer > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1039:14: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1040:6: > error: unknown field =E2=80=98size=E2=80=99 specified in initializer > .size =3D size, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1040:14: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1041:5: > error: invalid use of undefined type =E2=80=98struct ibv_flow_spec_ipv4_e= xt=E2=80=99 > }; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1043:19: > error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete type= =E2=80=98struct > ibv_flow_spec_ipv6=E2=80=99 > size =3D sizeof(struct ibv_flow_spec_ipv6); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1043:10: > warning: assignment makes integer from pointer without a cast > [-Wint-conversion] > size =3D sizeof(struct ibv_flow_spec_ipv6); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1045:6: > error: unknown field =E2=80=98type=E2=80=99 specified in initializer > .type =3D IBV_FLOW_SPEC_IPV6, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1045:14: > error: =E2=80=98IBV_FLOW_SPEC_IPV6=E2=80=99 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/ml= x5_flow.c:1045:14: > warning: excess elements in struct initializer > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1045:14: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1046:6: > error: unknown field =E2=80=98size=E2=80=99 specified in initializer > .size =3D size, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1046:14: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1047:5: > error: invalid use of undefined type =E2=80=98struct ibv_flow_spec_ipv6= =E2=80=99 > }; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c: > In function =E2=80=98mlx5_flow_create_ipv4=E2=80=99: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1375:34: > error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete type= =E2=80=98struct > ibv_flow_spec_ipv4_ext=E2=80=99 > 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/ml= x5_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/ml= x5_flow.c:1376:9: > error: variable =E2=80=98ipv4=E2=80=99 has initializer but incomplete typ= e > struct ibv_flow_spec_ipv4_ext ipv4 =3D { > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1377:3: > error: unknown field =E2=80=98type=E2=80=99 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/ml= x5_flow.c:1377:27: > error: =E2=80=98IBV_FLOW_SPEC_IPV4_EXT=E2=80=99 undeclared (first use in = this function) > .type =3D parser->inner | IBV_FLOW_SPEC_IPV4_EXT, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1377:25: > error: invalid operands to binary | (have uint32_t {aka unsigned int}=E2= =80=99 and > =E2=80=98const struct mlx5_flow_items *=E2=80=99) > .type =3D parser->inner | IBV_FLOW_SPEC_IPV4_EXT, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1377:11: > note: (near initialization for =E2=80=98ipv4=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1378:3: > error: unknown field =E2=80=98size=E2=80=99 specified in initializer > .size =3D ipv4_size, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1378:11: > note: (near initialization for =E2=80=98ipv4=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1376:32: > error: storage size of =E2=80=98ipv4=E2=80=99 isn=E2=80=99t known > struct ibv_flow_spec_ipv4_ext ipv4 =3D { > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1387:7: > error: request for member =E2=80=98val=E2=80=99 in something not a struct= ure or union > ipv4.val =3D (struct ibv_flow_ipv4_ext_filter){ > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1388:4: > error: unknown field =E2=80=98src_ip=E2=80=99 specified in initializer > .src_ip =3D spec->hdr.src_addr, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1388:14: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1389:4: > error: unknown field =E2=80=98dst_ip=E2=80=99 specified in initializer > .dst_ip =3D spec->hdr.dst_addr, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1389:14: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1390:4: > error: unknown field =E2=80=98proto=E2=80=99 specified in initializer > .proto =3D spec->hdr.next_proto_id, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1390:13: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1391:4: > error: unknown field =E2=80=98tos=E2=80=99 specified in initializer > .tos =3D spec->hdr.type_of_service, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1391:11: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1392:3: > error: invalid use of undefined type =E2=80=98struct ibv_flow_ipv4_ext_fi= lter=E2=80=99 > }; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1393:7: > error: request for member =E2=80=98mask=E2=80=99 in something not a struc= ture or union > ipv4.mask =3D (struct ibv_flow_ipv4_ext_filter){ > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1394:4: > error: unknown field =E2=80=98src_ip=E2=80=99 specified in initializer > .src_ip =3D mask->hdr.src_addr, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1394:14: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1395:4: > error: unknown field =E2=80=98dst_ip=E2=80=99 specified in initializer > .dst_ip =3D mask->hdr.dst_addr, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1395:14: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1396:4: > error: unknown field =E2=80=98proto=E2=80=99 specified in initializer > .proto =3D mask->hdr.next_proto_id, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1396:13: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1397:4: > error: unknown field =E2=80=98tos=E2=80=99 specified in initializer > .tos =3D mask->hdr.type_of_service, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1397:11: > note: (near initialization for =E2=80=98(anonymous =E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1398:3: > error: invalid use of undefined type =E2=80=98struct ibv_flow_ipv4_ext_fi= lter=E2=80=99 > }; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1400:7: > error: request for member =E2=80=98val=E2=80=99 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/ml= x5_flow.c:1400:11: > error: request for member =E2=80=98src_ip=E2=80=99 in something not a str= ucture or union > ipv4.val.src_ip &=3D ipv4.mask.src_ip; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1400:26: > error: request for member =E2=80=98mask=E2=80=99 in something not a struc= ture or union > ipv4.val.src_ip &=3D ipv4.mask.src_ip; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1400:31: > error: request for member =E2=80=98src_ip=E2=80=99 in something not a str= ucture or union > ipv4.val.src_ip &=3D ipv4.mask.src_ip; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1401:7: > error: request for member =E2=80=98val=E2=80=99 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/ml= x5_flow.c:1401:11: > error: request for member =E2=80=98dst_ip=E2=80=99 in something not a str= ucture or union > ipv4.val.dst_ip &=3D ipv4.mask.dst_ip; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1401:26: > error: request for member =E2=80=98mask=E2=80=99 in something not a struc= ture or union > ipv4.val.dst_ip &=3D ipv4.mask.dst_ip; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1401:31: > error: request for member =E2=80=98dst_ip=E2=80=99 in something not a str= ucture or union > ipv4.val.dst_ip &=3D ipv4.mask.dst_ip; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1402:7: > error: request for member =E2=80=98val=E2=80=99 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/ml= x5_flow.c:1402:11: > error: request for member =E2=80=98proto=E2=80=99 in something not a stru= cture or union > ipv4.val.proto &=3D ipv4.mask.proto; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1402:25: > error: request for member =E2=80=98mask=E2=80=99 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/ml= x5_flow.c:1402:30: > error: request for member =E2=80=98proto=E2=80=99 in something not a stru= cture or union > ipv4.val.proto &=3D ipv4.mask.proto; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1403:7: > error: request for member =E2=80=98val=E2=80=99 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/ml= x5_flow.c:1403:11: > error: request for member =E2=80=98tos=E2=80=99 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/ml= x5_flow.c:1403:23: > error: request for member =E2=80=98mask=E2=80=99 in something not a struc= ture or union > ipv4.val.tos &=3D ipv4.mask.tos; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1403:28: > error: request for member =E2=80=98tos=E2=80=99 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/ml= x5_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/ml= x5_flow.c:1405:32: > warning: passing argument 2 of =E2=80=98mlx5_flow_create_copy=E2=80=99 di= scards =E2=80=98const=E2=80=99 > qualifier from pointer target type [-Wdiscarded-array-qualifiers] > mlx5_flow_create_copy(parser, &ipv4, ipv4_size); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1227:1: > note: expected =E2=80=98void *=E2=80=99 but argument is of type =E2=80=98= const struct > mlx5_flow_items (*)[1]=E2=80=99 > mlx5_flow_create_copy(struct mlx5_flow_parse *parser, void *src, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1376:32: > warning: unused variable =E2=80=98ipv4=E2=80=99 [-Wunused-variable] > struct ibv_flow_spec_ipv4_ext ipv4 =3D { > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c: > In function =E2=80=98mlx5_flow_create_ipv6=E2=80=99: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1430:34: > error: invalid application of =E2=80=98sizeof=E2=80=99 to incomplete type= =E2=80=98struct > ibv_flow_spec_ipv6=E2=80=99 > unsigned int ipv6_size =3D sizeof(struct ibv_flow_spec_ipv6); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1431:9: > error: variable =E2=80=98ipv6=E2=80=99 has initializer but incomplete typ= e > struct ibv_flow_spec_ipv6 ipv6 =3D { > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1432:3: > error: unknown field =E2=80=98type=E2=80=99 specified in initializer > .type =3D parser->inner | IBV_FLOW_SPEC_IPV6, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1432:27: > error: =E2=80=98IBV_FLOW_SPEC_IPV6=E2=80=99 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/ml= x5_flow.c:1432:25: > error: invalid operands to binary | (have uint32_t {aka unsigned int}=E2= =80=99 and > =E2=80=98const struct mlx5_flow_items *=E2=80=99) > .type =3D parser->inner | IBV_FLOW_SPEC_IPV6, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1432:11: > note: (near initialization for =E2=80=98ipv6=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1433:3: > error: unknown field =E2=80=98size=E2=80=99 specified in initializer > .size =3D ipv6_size, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_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/ml= x5_flow.c:1433:11: > note: (near initialization for =E2=80=98ipv6=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1431:28: > error: storage size of =E2=80=98ipv6=E2=80=99 isn=E2=80=99t known > struct ibv_flow_spec_ipv6 ipv6 =3D { > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1446:15: > error: request for member =E2=80=98val=E2=80=99 in something not a struct= ure or union > memcpy(&ipv6.val.src_ip, spec->hdr.src_addr, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1446:19: > error: request for member =E2=80=98src_ip=E2=80=99 in something not a str= ucture 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/ml= x5_flow.c:47:0: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1447:22: > error: request for member =E2=80=98val=E2=80=99 in something not a struct= ure or union > RTE_DIM(ipv6.val.src_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:29: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1447:26: > error: request for member =E2=80=98src_ip=E2=80=99 in something not a str= ucture or union > RTE_DIM(ipv6.val.src_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:29: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1447:22: > error: request for member =E2=80=98val=E2=80=99 in something not a struct= ure or union > RTE_DIM(ipv6.val.src_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:43: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1447:26: > error: request for member =E2=80=98src_ip=E2=80=99 in something not a str= ucture or union > RTE_DIM(ipv6.val.src_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:43: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:32: > error: invalid operands to binary / (have =E2=80=98const struct mlx5_flow= _items *=E2=80=99 > and =E2=80=98long unsigned int=E2=80=99) > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1447:10: > note: in expansion of macro =E2=80=98RTE_DIM=E2=80=99 > RTE_DIM(ipv6.val.src_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1446:10: > warning: passing argument 1 of =E2=80=98memcpy=E2=80=99 discards =E2=80= =98const=E2=80=99 qualifier 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/ml= x5_flow.c:35: > /usr/include/x86_64-linux-gnu/bits/string3.h:50:1: note: expected =E2=80= =98void * > restrict=E2=80=99 but argument is of type =E2=80=98const struct mlx5_flow= _items (*)[1]=E2=80=99 > __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/ml= x5_flow.c:47:0: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:20: > warning: passing argument 3 of =E2=80=98memcpy=E2=80=99 makes integer fro= m 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/ml= x5_flow.c:1447:10: > note: in expansion of macro =E2=80=98RTE_DIM=E2=80=99 > 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/ml= x5_flow.c:35: > /usr/include/x86_64-linux-gnu/bits/string3.h:50:1: note: expected =E2=80= =98size_t > {aka long unsigned int}=E2=80=99 but argument is of type =E2=80=98const s= truct > mlx5_flow_items *=E2=80=99 > __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1448:15: > error: request for member =E2=80=98val=E2=80=99 in something not a struct= ure or union > memcpy(&ipv6.val.dst_ip, spec->hdr.dst_addr, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1448:19: > error: request for member =E2=80=98dst_ip=E2=80=99 in something not a str= ucture 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/ml= x5_flow.c:47:0: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1449:22: > error: request for member =E2=80=98val=E2=80=99 in something not a struct= ure or union > RTE_DIM(ipv6.val.dst_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:29: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1449:26: > error: request for member =E2=80=98dst_ip=E2=80=99 in something not a str= ucture or union > RTE_DIM(ipv6.val.dst_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:29: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1449:22: > error: request for member =E2=80=98val=E2=80=99 in something not a struct= ure or union > RTE_DIM(ipv6.val.dst_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:43: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1449:26: > error: request for member =E2=80=98dst_ip=E2=80=99 in something not a str= ucture or union > RTE_DIM(ipv6.val.dst_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:43: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:32: > error: invalid operands to binary / (have =E2=80=98const struct mlx5_flow= _items *=E2=80=99 > and =E2=80=98long unsigned int=E2=80=99) > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1449:10: > note: in expansion of macro =E2=80=98RTE_DIM=E2=80=99 > RTE_DIM(ipv6.val.dst_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1448:10: > warning: passing argument 1 of =E2=80=98memcpy=E2=80=99 discards =E2=80= =98const=E2=80=99 qualifier 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/ml= x5_flow.c:35: > /usr/include/x86_64-linux-gnu/bits/string3.h:50:1: note: expected =E2=80= =98void * > restrict=E2=80=99 but argument is of type =E2=80=98const struct mlx5_flow= _items (*)[1]=E2=80=99 > __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/ml= x5_flow.c:47:0: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:20: > warning: passing argument 3 of =E2=80=98memcpy=E2=80=99 makes integer fro= m 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/ml= x5_flow.c:1449:10: > note: in expansion of macro =E2=80=98RTE_DIM=E2=80=99 > 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/ml= x5_flow.c:35: > /usr/include/x86_64-linux-gnu/bits/string3.h:50:1: note: expected =E2=80= =98size_t > {aka long unsigned int}=E2=80=99 but argument is of type =E2=80=98const s= truct > mlx5_flow_items *=E2=80=99 > __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1450:15: > error: request for member =E2=80=98mask=E2=80=99 in something not a struc= ture or union > memcpy(&ipv6.mask.src_ip, mask->hdr.src_addr, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1450:20: > error: request for member =E2=80=98src_ip=E2=80=99 in something not a str= ucture 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/ml= x5_flow.c:47:0: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1451:22: > error: request for member =E2=80=98mask=E2=80=99 in something not a struc= ture or union > RTE_DIM(ipv6.mask.src_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:29: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1451:27: > error: request for member =E2=80=98src_ip=E2=80=99 in something not a str= ucture or union > RTE_DIM(ipv6.mask.src_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:29: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1451:22: > error: request for member =E2=80=98mask=E2=80=99 in something not a struc= ture or union > RTE_DIM(ipv6.mask.src_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:43: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5_flow.c:1451:27: > error: request for member =E2=80=98src_ip=E2=80=99 in something not a str= ucture or union > RTE_DIM(ipv6.mask.src_ip)); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/x86_64-native-linux= app-gcc/include/rte_common.h:418:43: > note: in definition of macro =E2=80=98RTE_DIM=E2=80=99 > #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c: > In function =E2=80=98mlx5_pci_probe=E2=80=99: > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:921:21: > error: =E2=80=98struct ibv_device_attr_ex=E2=80=99 has no member named = =E2=80=98device_cap_flags_ex=E2=80=99 > !!(device_attr_ex.device_cap_flags_ex & > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:922:7: > error: =E2=80=98IBV_DEVICE_RAW_IP_CSUM=E2=80=99 undeclared (first use in = this function) > IBV_DEVICE_RAW_IP_CSUM); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:922:7: > 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/ml= x5.c:942:18: > error: =E2=80=98struct ibv_device_attr_ex=E2=80=99 has no member named = =E2=80=98rss_caps=E2=80=99 > device_attr_ex.rss_caps.max_rwq_indirection_table_size; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:950:42: > error: =E2=80=98struct ibv_device_attr_ex=E2=80=99 has no member named = =E2=80=98raw_packet_caps=E2=80=99 > priv->hw_vlan_strip =3D !!(device_attr_ex.raw_packet_caps & > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:951:7: > error: =E2=80=98IBV_RAW_PACKET_CAP_CVLAN_STRIPPING=E2=80=99 undeclared (f= irst use in this > function) > IBV_RAW_PACKET_CAP_CVLAN_STRIPPING); > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:955:41: > error: =E2=80=98struct ibv_device_attr_ex=E2=80=99 has no member named = =E2=80=98raw_packet_caps=E2=80=99 > priv->hw_fcs_strip =3D !!(device_attr_ex.raw_packet_caps & > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:956:6: > error: =E2=80=98IBV_RAW_PACKET_CAP_SCATTER_FCS=E2=80=99 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/ml= x5.c:967:23: > error: =E2=80=98struct ibv_device_attr_ex=E2=80=99 has no member named = =E2=80=98tso_caps=E2=80=99 > (device_attr_ex.tso_caps.max_tso > 0) && > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:968:23: > error: =E2=80=98struct ibv_device_attr_ex=E2=80=99 has no member named = =E2=80=98tso_caps=E2=80=99 > (device_attr_ex.tso_caps.supported_qpts & > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:972:19: > error: =E2=80=98struct ibv_device_attr_ex=E2=80=99 has no member named = =E2=80=98tso_caps=E2=80=99 > device_attr_ex.tso_caps.max_tso; > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:1067:10: > error: variable =E2=80=98alctr=E2=80=99 has initializer but incomplete ty= pe > struct mlx5dv_ctx_allocators alctr =3D { > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:1068:4: > error: unknown field =E2=80=98alloc=E2=80=99 specified in initializer > .alloc =3D &mlx5_alloc_verbs_buf, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.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/ml= x5.c:1068:13: > note: (near initialization for =E2=80=98alctr=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:1069:4: > error: unknown field =E2=80=98free=E2=80=99 specified in initializer > .free =3D &mlx5_free_verbs_buf, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.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/ml= x5.c:1069:12: > note: (near initialization for =E2=80=98alctr=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:1070:4: > error: unknown field =E2=80=98data=E2=80=99 specified in initializer > .data =3D priv, > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.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/ml= x5.c:1070:12: > note: (near initialization for =E2=80=98alctr=E2=80=99) > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:1067:32: > error: storage size of =E2=80=98alctr=E2=80=99 isn=E2=80=99t known > struct mlx5dv_ctx_allocators alctr =3D { > ^ > /home/apcon/working/mellanox/DPDK/dpdk-stable-17.11.3/drivers/net/mlx5/ml= x5.c:1072:3: > warning: implicit declaration of function =E2=80=98mlx5dv_set_context_att= r=E2=80=99 [-Wim >