From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by dpdk.org (Postfix) with ESMTP id C9B3D1B4A8 for ; Thu, 11 Oct 2018 21:11:14 +0200 (CEST) Received: by mail-yb1-f178.google.com with SMTP id w80-v6so4030414ybe.10 for ; Thu, 11 Oct 2018 12:11:14 -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=s+Vo3ZJXNposFKlUPH0H9eTXGc+i/Z0ElpaHzCu3+Ng=; b=XCZZ4c1UOvudfztQ576QjG6Qa+9lOnC2Vb6ALUe8f2szxqqaINhyngZnudD1gTcXO2 eGgr5F8aSVef8L2GP9NJ62ypb+Dny9qnwOix5ByPe7mdnMFo50YVv6zbK+fOk/wnobcq lx68lGQXRZjxX+/PzvzqInZ9oUYsMe7dEmEI6B3TQjjleG7+x+B3GfE99EpCZq3eY5+W /WDonLj8el9r63VIz4UGiv6siv8cQMtcW0rrjim/Mf5s+bcL7sifgrcTRcM7hv9IpMhE iAk9nRmH96O0jH9bqkID1zy0O7QzQKcgA2ijTg1zOQAb31Ljy8JZRdAR0PJabyh/7iHG Luog== 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=s+Vo3ZJXNposFKlUPH0H9eTXGc+i/Z0ElpaHzCu3+Ng=; b=WiuyJLsYHTfZMEbRVM0URk/y7i5j1doblZ6uofL8owCOmHbklUMf4tigEjD7CgkeVY dxwvbRZVrROut3R6vmc0AxKZO5tAntO2lBUYdP65LkHHTSHFYcP3dz3FTuacNjpeo3+T Y7GsOHfB1aREUd9H/X2YWmDb+QoUU8zOSUT5dXMgOyOKT7zi+esQgHoG+Iu0gKoDPzfK 4zUyzyEexr6jlX9NhdnrCTN36LUWkDWUm4w10UrrR0PQg7W8NyqWNcYjLmh9CSGtDEgL xfPW8gFNvu5qlUuATW1xdH0ivf5OgDqItIgLo98rW02kIIT3YeEg1hVtAQJDsi6pU1fh M/xg== X-Gm-Message-State: ABuFfogDDcCz/6CRjIvQbwEYFcmG7UBaE5Qk0ywZS/Rqp2BCrSzg4rq7 xJ+79V0Bw2DBfPCYNdLdabaRTUFWrhOmizSgQ0LlZg== X-Google-Smtp-Source: ACcGV62aZwKA1aqFQdvE9KTnNvPBy/DuDK+tRJPE+TLBh1k/QnmLvOlv2FAXInSCIjnoL/36BVtEQ7DMQ3+D3EQXlCk= X-Received: by 2002:a25:ba8c:: with SMTP id s12-v6mr1635139ybg.305.1539285073894; Thu, 11 Oct 2018 12:11:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Cliff Burdick Date: Thu, 11 Oct 2018 12:11:01 -0700 Message-ID: To: ahart@domainhart.com Cc: users 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] Problems compiling DPDK for MLX4 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: Thu, 11 Oct 2018 19:11:15 -0000 The easy workaround is to install the mellanox OFED package with the flags --dpdk --upstream-libs. On Thu, Oct 11, 2018 at 8:57 AM Anthony Hart wrote: > > Having problems compiling DPDK for the Mellanox PMD. > > For dpdk-18-08 I get... > > CC efx_phy.o > In file included from /root/th/dpdk-18.08/drivers/net/mlx4/mlx4_txq.c:35:= 0: > /root/th/dpdk-18.08/drivers/net/mlx4/mlx4_glue.h:16:31: fatal error: > infiniband/mlx4dv.h: No such file or directory > #include > ^ > compilation terminated. > In file included from > /root/th/dpdk-18.08/drivers/net/mlx4/mlx4_intr.c:32:0: > /root/th/dpdk-18.08/drivers/net/mlx4/mlx4_glue.h:16:31: fatal error: > infiniband/mlx4dv.h: No such file or directory > #include > > > For dpdk-1711.3 > > CC mlx5.o > /root/th/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5.c: In function > =E2=80=98mlx5_pci_probe=E2=80=99: > /root/th/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5.c:921:21: error: > =E2=80=98struct ibv_device_attr_ex=E2=80=99 has no member named =E2=80=98= device_cap_flags_ex=E2=80=99 > !!(device_attr_ex.device_cap_flags_ex & > ^ > /root/th/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5.c:922:7: error: > =E2=80=98IBV_DEVICE_RAW_IP_CSUM=E2=80=99 undeclared (first use in this fu= nction) > IBV_DEVICE_RAW_IP_CSUM); > ^ > /root/th/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5.c:922:7: note: each > undeclared identifier is reported only once for each function it appears = in > /root/th/dpdk-stable-17.11.3/drivers/net/mlx5/mlx5.c:942:18: error: > =E2=80=98struct ibv_device_attr_ex=E2=80=99 has no member named =E2=80=98= rss_caps=E2=80=99 > device_attr_ex.rss_caps.max_rwq_indirection_table_size; > ^ > > > This is on Lentos 7.5 (3.10.0-862.14.4.el7.x86_64) > > With mlnx-en-4.4-1.0.1.0-rhel7.5-x86_64.iso installed > > > Any thoughts? > > thanks > =E2=80=94 > tony > > >