From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by dpdk.org (Postfix) with ESMTP id 2AD691B16A for ; Thu, 11 Oct 2018 22:21:50 +0200 (CEST) Received: by mail-qk1-f177.google.com with SMTP id a13-v6so6327430qkc.7 for ; Thu, 11 Oct 2018 13:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=domainhart-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=IzLUkLsSqGmzYZnz69IqHh9ZYgviKIqlq2Y4PKKXqw0=; b=DgsWItT2RgmAjfG4lkPF73TxVmZL3LSOfiSPi2HVJOM65WSawD+0v6oaoIoc2cMRPA NlO3r78qKkhZZVmb6agPuN9JlvvRiGqiRlVVO9K/C1oYGGC8nAEWjy84U2L7vAkkSUpm pSYhD/BFGHE88AcQ1ET5Q1pL8D7d14VliJYcOiTfYW4D6gMv6NN9C8Bv7uuNjVqAgeok AWRUuTP1rnkRBDXT0q/IF3JCgqgApYDLJsMBsTZfxFxgPRLmo5pzXSr/134YA/gi+/IS 70QE8kMjKvLbbQv3zMt0saQj1Sq5OHIcHdbwcgQDS3k3mtx2NsbnqW/Uyp71tpLtEXbx g+mA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=IzLUkLsSqGmzYZnz69IqHh9ZYgviKIqlq2Y4PKKXqw0=; b=HyWG/xePF72MeXP8JrhT6f494pEev2wX4u6uhEkAYX082Jt4bSVQws4M7TvRmXp4yI wm1gT1V79gnwC2Lg2Hl3WoysedOiCrYGjxEnfLtXZsjnn6t2LYrpJSnZ2c4GozgdFrBX xu3hZPq9Uoj6VIQtp+YMLaySeYW5qmuoB+VCR6aXCtjBZ+7kKelBJRo/YkQQV4ynXjze adtlJR8DZXrrc99W/s0Fc5k/RcPVDy5j/82a2VdATFg5emFMGMj3H9iU34JSaDSVRf51 BYzDYzeZkGgrR8hMbXoKmHr45Ym+HIrM24wkuOzuWp2stnhKdAmDEv09l6rrv6XH2nLP eJKA== X-Gm-Message-State: ABuFfohSLZITLIku2mOSYj0wrkjCSo5fx6y0EXXA2QASXiuS3VsOvnfY WkHIXq6yXlnWn2Vf85+hciPhSg== X-Google-Smtp-Source: ACcGV60yE6G4tg5Mww8SVXojTVOrgTdfSno8rxjTeNUxrv3g/Q24Y64T8zjav1s4kfIAIf95ChsDQQ== X-Received: by 2002:a37:7f81:: with SMTP id a123-v6mr3038622qkd.37.1539289309548; Thu, 11 Oct 2018 13:21:49 -0700 (PDT) Received: from [192.168.1.165] (pool-173-76-218-223.bstnma.fios.verizon.net. [173.76.218.223]) by smtp.gmail.com with ESMTPSA id y35-v6sm15867983qtc.49.2018.10.11.13.21.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 13:21:49 -0700 (PDT) From: Anthony Hart Message-Id: Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Date: Thu, 11 Oct 2018 16:21:48 -0400 In-Reply-To: Cc: users To: Cliff Burdick References: X-Mailer: Apple Mail (2.3445.100.39) 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 20:21:50 -0000 Thanks I will try that > On Oct 11, 2018, at 3:11 PM, Cliff Burdick wrote: >=20 > The easy workaround is to install the mellanox OFED package with the = flags --dpdk --upstream-libs. >=20 > On Thu, Oct 11, 2018 at 8:57 AM Anthony Hart > wrote: >=20 > Having problems compiling DPDK for the Mellanox PMD. >=20 > For dpdk-18-08 I get... >=20 > 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 >=20 >=20 > For dpdk-1711.3 >=20 > 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=98device_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 = function) > 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=98rss_caps=E2=80=99 > device_attr_ex.rss_caps.max_rwq_indirection_table_size; > ^ >=20 >=20 > This is on Lentos 7.5 (3.10.0-862.14.4.el7.x86_64) >=20 > With mlnx-en-4.4-1.0.1.0-rhel7.5-x86_64.iso installed >=20 >=20 > Any thoughts? >=20 > thanks > =E2=80=94 > tony >=20 >=20