From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by dpdk.org (Postfix) with ESMTP id 37C145F72 for ; Thu, 11 Oct 2018 22:12:43 +0200 (CEST) Received: by mail-pg1-f196.google.com with SMTP id f8-v6so4685270pgq.5 for ; Thu, 11 Oct 2018 13:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ljyTyrbkPEReoYh8qlTf+weIPlpl6at8+5LgZVHEtsM=; b=uHSQumXkRM3PJkpD5KK2oetMXNZgtTq+SGWdN6Q4v6PFs4ePZiXF64Gu4fhrEJK/Vp e/xn6hohSmuMljH2D7Mok2GEbX6TujyR3pPAdgZyV5qaeQ6CYrAgD9ArLqoyd+X87JGy Fu/tkGrckw1IwGQmKmHZHemgkErer0/GG0hvJoIeY1VOYTBXoY7aMiByqY+9zndrM9df tvG6qfqxrngFLhU7Fhv7RmVYLzE9Ceq4f0/zOWjw3KxjwgM7TzhJPoaHaSCC44igPecL l1rtSg0KHyfhtf83CaT8LagQVL41r1V1zGJfYVtzU/b21W8BOk9zt9lFmh0oqSxHV5PB WinA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ljyTyrbkPEReoYh8qlTf+weIPlpl6at8+5LgZVHEtsM=; b=JIaNdleo91CpZJyxGYDemo/x+LOeqopEqKlV6ZDT7dg1JM0lQXM5FjIMwRWSygMP/t 2XhB3ejMG9kFPtvvF0QCohKoWrPi1KCVrcW51JHXdq6AiNyscXW0ZAo82HzHkYtezsju Q9O9yRDIuP6zpWB5FZ1+C6Pu1gGaMIh2nr3VctVQU4OzA7QIjvXevxyQVBEkV6c6hejt Eu2xbNAhlPKwVrKCdOBlN+azcK6CeDbEGjUo+928LGz7smzpJWWWyZ31AocxlMPQKjSJ PYrWcDl0rVyLsUhGaFqoSbgevDr94mVbpP1lI76et25E7m//Pjcu6/tO6OEcTAqmnoNx uCNg== X-Gm-Message-State: ABuFfohMVsxeYH6LhQ+e2BKqVfBkKxcHNAGDIko8e656IdWTq816kGDa aF+Yl0W3xyoZoM2GcZ88clZkQw== X-Google-Smtp-Source: ACcGV60T/57j7T35/8sAaWqMvrAA8NfiGjEMJsq7Eidu70TWXws+hsm/ug1y4ggOq+nt5uvzQl6ArA== X-Received: by 2002:a62:4e09:: with SMTP id c9-v6mr2959681pfb.105.1539288762182; Thu, 11 Oct 2018 13:12:42 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id f25-v6sm32978440pfn.177.2018.10.11.13.12.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Oct 2018 13:12:42 -0700 (PDT) Date: Thu, 11 Oct 2018 13:12:26 -0700 From: Stephen Hemminger To: Cliff Burdick Cc: ahart@domainhart.com, users Message-ID: <20181011131226.3cb0ae9f@xeon-e3> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:12:43 -0000 On Thu, 11 Oct 2018 12:11:01 -0700 Cliff Burdick wrote: > 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. > > > > 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:3= 5: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= =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 appear= s 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; > > ^ > > > > > > This is on Lentos 7.5 (3.10.0-862.14.4.el7.x86_64) Current Mellanox drivers want to use rdma-core 18.0 and kernel 4.14.41 or a= bove. or OFED 4.3 or 4.4. =20