From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by dpdk.org (Postfix) with ESMTP id 7F4821B4CD for ; Wed, 11 Jul 2018 23:07:53 +0200 (CEST) Received: by mail-pf0-f196.google.com with SMTP id c21-v6so14566899pfn.8 for ; Wed, 11 Jul 2018 14:07:53 -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:mime-version; bh=bs0td0E4qUZ9hDi1VclPL2h5oPBF5X8ufOj2JbbbiEs=; b=uxpEaLr3A+8t0+27CY+/5VlbcRB0at/Cf5nXzo7N0npYqo1HUU2yEaphMxfDBFVRi4 p7Pf8doMvQtVfiovRqT729bQMGwul6O4pXAiR7U1O97zcZtHktQbyTH94wPCQGg/hSdj xcjg4ie0shwzx0fJ0DTHN+RabpmVsbm3y6F/hxNeswRDIrxc+qBzrAPki05RsbjAS3KY X/5ccu9L3SWPZLvZ+tMn3hImegSvpFvCXoVa0gTvQN3O0hS1CdK6Qncs8cXnSJjT2XOb Hx99rzoZfqryZ2wGYxY264aVYGEwpYyBq/1uvmIEXLUwTLdqN1b8SwntxzmLJTmdNmMW pirw== 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:mime-version; bh=bs0td0E4qUZ9hDi1VclPL2h5oPBF5X8ufOj2JbbbiEs=; b=ICYDmEq5VaIvtYE1Wh0LpyZX4vJBY12huKAGwMNcnW6yOBc9+VDh2yvt0x05dcaUHQ PJxZgWd1xl7/1NtXFusilBEiyr5/LXrz2HOWW5RrYS32Su/bPmCG1wyMlG6PSMMBUsK2 33TZ1LMdrzTXhHsWPyNEQqI2nrRtDeRZNjuAiKv0lwU+gbN/SSMqmvXXslPIJbsurh+3 rfqTHFONyX6gHeQ3AXi91mUmnaPPESgGmENJNWi+KDJyyqabcFjW1rYaZcZSlJg+AhHm fx5QyiQEDbjRj36Jf4sGGE11frRrsfLJMqzUCZjypJZU6bEEY8xyUjToMZ5W48Sk4NT+ Jhaw== X-Gm-Message-State: AOUpUlEWdSFUiWYvTCAWLnuxD6Nsq/+W7nIMDsvTLzSF0RLXWBPkSHi3 E9/YORbsNTnqbPwK2EYs4XuB/toOJGY= X-Google-Smtp-Source: AAOMgpeHxiACPTzDWPUnKpcLRkNyshjUbtu4ro/7mmJ/K/ZOU9twkejVaj4wTg+CiA9zmyqm5RalXA== X-Received: by 2002:a62:4dc5:: with SMTP id a188-v6mr210447pfb.217.1531343272703; Wed, 11 Jul 2018 14:07:52 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id j27-v6sm65344187pfe.48.2018.07.11.14.07.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Jul 2018 14:07:52 -0700 (PDT) Date: Wed, 11 Jul 2018 14:07:49 -0700 From: Stephen Hemminger To: yskoh@mellanox.com, shahafs@mellanox.com, matan@mellanox.com Cc: dev@dpdk.org Message-ID: <20180711140749.0d975323@xeon-e3> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] [BUG] mlx5 build failure on Debian testing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2018 21:07:53 -0000 I am seeing a build failure of MLX5 driver on Debian testing (buster) with dpdk.org master branch. This is using libibverbs-dev version 19.0-1 The failure is: mlx5_glue.h:94:11: error: =E2=80=98struct ibv_counter_set_init_attr=E2=80= =99 declared inside parameter list will not be visible outside of this defi= nition or declaration [-Werror] struct ibv_counter_set_init_attr *init_attr); ^~~~~~~~~~~~~~~~~~~~~~~~~ It looks like this is being caused because HAVE_IBV_DEVICE_COUNTERS_SET_SUP= PORT is not set, but the header file does not have the counter stuff. The Makefile is generating this mlx5 autoconf file by looking for "enum IBV= _FLOW_SPEC_ACTION_COUNT" in /usr/include/infiniband/verbs.h. This enum is present, but counters are= not. $ grep IBV_FLOW_SPEC_ACTION /usr/include/infiniband/verbs.h=20 IBV_FLOW_SPEC_ACTION_TAG =3D 0x1000, IBV_FLOW_SPEC_ACTION_DROP =3D 0x1001, IBV_FLOW_SPEC_ACTION_HANDLE =3D 0x1002, IBV_FLOW_SPEC_ACTION_COUNT =3D 0x1003,