From: Stephen Hemminger <stephen@networkplumber.org>
To: yskoh@mellanox.com, shahafs@mellanox.com, matan@mellanox.com
Cc: dev@dpdk.org
Subject: [dpdk-dev] [BUG] mlx5 build failure on Debian testing
Date: Wed, 11 Jul 2018 14:07:49 -0700 [thread overview]
Message-ID: <20180711140749.0d975323@xeon-e3> (raw)
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: ‘struct ibv_counter_set_init_attr’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct ibv_counter_set_init_attr *init_attr);
^~~~~~~~~~~~~~~~~~~~~~~~~
It looks like this is being caused because HAVE_IBV_DEVICE_COUNTERS_SET_SUPPORT 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
IBV_FLOW_SPEC_ACTION_TAG = 0x1000,
IBV_FLOW_SPEC_ACTION_DROP = 0x1001,
IBV_FLOW_SPEC_ACTION_HANDLE = 0x1002,
IBV_FLOW_SPEC_ACTION_COUNT = 0x1003,
next reply other threads:[~2018-07-11 21:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-11 21:07 Stephen Hemminger [this message]
2018-07-12 5:49 ` Shahaf Shuler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180711140749.0d975323@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=matan@mellanox.com \
--cc=shahafs@mellanox.com \
--cc=yskoh@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).