From: kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org,
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Parav Pandit <parav-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH rdma-next V1] IB/mlx5: Support congestion related counters
Date: Thu, 13 Apr 2017 23:46:05 +0800 [thread overview]
Message-ID: <201704132344.9FXRhvwm%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170413134810.13159-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 5568 bytes --]
Hi Parav,
[auto build test ERROR on rdma/master]
[also build test ERROR on v4.11-rc6 next-20170413]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Leon-Romanovsky/IB-mlx5-Support-congestion-related-counters/20170413-231953
base: https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git master
config: x86_64-randconfig-x018-201715 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
In file included from include/linux/mlx5/driver.h:48:0,
from include/linux/mlx5/port.h:36,
from drivers/infiniband/hw/mlx5/main.c:50:
>> include/linux/mlx5/device.h:51:80: error: 'struct mlx5_ifc_query_cong_statistics_out_bits' has no member named 'np_cnp_sent_high'; did you mean 'np_cnps_sent_high'?
#define __mlx5_bit_off(typ, fld) ((unsigned)(unsigned long)(&(__mlx5_nullp(typ)->fld)))
^
>> include/linux/mlx5/device.h:65:34: note: in expansion of macro '__mlx5_bit_off'
#define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8)
^~~~~~~~~~~~~~
>> drivers/infiniband/hw/mlx5/main.c:3166:3: note: in expansion of macro 'MLX5_BYTE_OFF'
MLX5_BYTE_OFF(query_cong_statistics_out, _name ## _high)}
^~~~~~~~~~~~~
>> drivers/infiniband/hw/mlx5/main.c:3172:2: note: in expansion of macro 'INIT_CONG_COUNTER'
INIT_CONG_COUNTER(np_cnp_sent),
^~~~~~~~~~~~~~~~~
--
In file included from include/linux/mlx5/driver.h:48:0,
from include/linux/mlx5/port.h:36,
from drivers/infiniband//hw/mlx5/main.c:50:
>> include/linux/mlx5/device.h:51:80: error: 'struct mlx5_ifc_query_cong_statistics_out_bits' has no member named 'np_cnp_sent_high'; did you mean 'np_cnps_sent_high'?
#define __mlx5_bit_off(typ, fld) ((unsigned)(unsigned long)(&(__mlx5_nullp(typ)->fld)))
^
>> include/linux/mlx5/device.h:65:34: note: in expansion of macro '__mlx5_bit_off'
#define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8)
^~~~~~~~~~~~~~
drivers/infiniband//hw/mlx5/main.c:3166:3: note: in expansion of macro 'MLX5_BYTE_OFF'
MLX5_BYTE_OFF(query_cong_statistics_out, _name ## _high)}
^~~~~~~~~~~~~
drivers/infiniband//hw/mlx5/main.c:3172:2: note: in expansion of macro 'INIT_CONG_COUNTER'
INIT_CONG_COUNTER(np_cnp_sent),
^~~~~~~~~~~~~~~~~
vim +51 include/linux/mlx5/device.h
e126ba97 Eli Cohen 2013-07-07 45 #error Host endianness not defined
e126ba97 Eli Cohen 2013-07-07 46 #endif
e126ba97 Eli Cohen 2013-07-07 47
d29b796a Eli Cohen 2014-10-02 48 /* helper macros */
d29b796a Eli Cohen 2014-10-02 49 #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0)
d29b796a Eli Cohen 2014-10-02 50 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld)
d29b796a Eli Cohen 2014-10-02 @51 #define __mlx5_bit_off(typ, fld) ((unsigned)(unsigned long)(&(__mlx5_nullp(typ)->fld)))
d29b796a Eli Cohen 2014-10-02 52 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32)
d29b796a Eli Cohen 2014-10-02 53 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64)
d29b796a Eli Cohen 2014-10-02 54 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f))
d29b796a Eli Cohen 2014-10-02 55 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1))
d29b796a Eli Cohen 2014-10-02 56 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld))
d29b796a Eli Cohen 2014-10-02 57 #define __mlx5_st_sz_bits(typ) sizeof(struct mlx5_ifc_##typ##_bits)
d29b796a Eli Cohen 2014-10-02 58
d29b796a Eli Cohen 2014-10-02 59 #define MLX5_FLD_SZ_BYTES(typ, fld) (__mlx5_bit_sz(typ, fld) / 8)
d29b796a Eli Cohen 2014-10-02 60 #define MLX5_ST_SZ_BYTES(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 8)
d29b796a Eli Cohen 2014-10-02 61 #define MLX5_ST_SZ_DW(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 32)
9218b44d Gal Pressman 2016-04-24 62 #define MLX5_ST_SZ_QW(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 64)
938fe83c Saeed Mahameed 2015-05-28 63 #define MLX5_UN_SZ_BYTES(typ) (sizeof(union mlx5_ifc_##typ##_bits) / 8)
938fe83c Saeed Mahameed 2015-05-28 64 #define MLX5_UN_SZ_DW(typ) (sizeof(union mlx5_ifc_##typ##_bits) / 32)
d29b796a Eli Cohen 2014-10-02 @65 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8)
d29b796a Eli Cohen 2014-10-02 66 #define MLX5_ADDR_OF(typ, p, fld) ((char *)(p) + MLX5_BYTE_OFF(typ, fld))
d29b796a Eli Cohen 2014-10-02 67
d29b796a Eli Cohen 2014-10-02 68 /* insert a value to a struct */
:::::: The code at line 51 was first introduced by commit
:::::: d29b796adada8780db3512c4a34b339f9aeef1ae net/mlx5_core: Use hardware registers description header file
:::::: TO: Eli Cohen <eli-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
:::::: CC: David S. Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27385 bytes --]
next prev parent reply other threads:[~2017-04-13 15:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-13 13:48 [PATCH rdma-next V1] IB/mlx5: Support congestion related counters Leon Romanovsky
[not found] ` <20170413134810.13159-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-04-13 15:46 ` kbuild test robot [this message]
2017-04-13 19:32 ` kbuild test robot
[not found] ` <201704140302.3OiAKJBn%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-04-13 20:17 ` Leon Romanovsky
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=201704132344.9FXRhvwm%fengguang.wu@intel.com \
--to=lkp-ral2jqcrhueavxtiumwx3w@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=kbuild-all-JC7UmRfGjtg@public.gmane.org \
--cc=leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=parav-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
/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