From: kernel test robot <lkp@intel.com>
To: Leon Romanovsky <leonro@nvidia.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [leon-rdma:xfrm-next 42/44] drivers/net/ethernet/mellanox/mlx5/core/eq.c:579:43: error: 'MLX5_IPSEC_CAP_FULL_OFFLOAD' undeclared
Date: Sun, 4 Sep 2022 23:42:27 +0800 [thread overview]
Message-ID: <202209042336.6G07ozQ9-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git xfrm-next
head: 0ed4792e3e488854df662617cf374ab96de8fc2a
commit: 5a11229976c3b581cbcff47c2312bb646f129e40 [42/44] net/mlx5e: Handle hardware IPsec events
config: parisc-randconfig-r023-20220904 (https://download.01.org/0day-ci/archive/20220904/202209042336.6G07ozQ9-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/commit/?id=5a11229976c3b581cbcff47c2312bb646f129e40
git remote add leon-rdma https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
git fetch --no-tags leon-rdma xfrm-next
git checkout 5a11229976c3b581cbcff47c2312bb646f129e40
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=parisc SHELL=/bin/bash drivers/net/ethernet/mellanox/mlx5/core/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/net/ethernet/mellanox/mlx5/core/eq.c: In function 'gather_async_events_mask':
>> drivers/net/ethernet/mellanox/mlx5/core/eq.c:579:43: error: 'MLX5_IPSEC_CAP_FULL_OFFLOAD' undeclared (first use in this function)
579 | if (mlx5_ipsec_device_caps(dev) & MLX5_IPSEC_CAP_FULL_OFFLOAD)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/eq.c:579:43: note: each undeclared identifier is reported only once for each function it appears in
vim +/MLX5_IPSEC_CAP_FULL_OFFLOAD +579 drivers/net/ethernet/mellanox/mlx5/core/eq.c
538
539 static void gather_async_events_mask(struct mlx5_core_dev *dev, u64 mask[4])
540 {
541 u64 async_event_mask = MLX5_ASYNC_EVENT_MASK;
542
543 if (MLX5_VPORT_MANAGER(dev))
544 async_event_mask |= (1ull << MLX5_EVENT_TYPE_NIC_VPORT_CHANGE);
545
546 if (MLX5_CAP_GEN(dev, general_notification_event))
547 async_event_mask |= (1ull << MLX5_EVENT_TYPE_GENERAL_EVENT);
548
549 if (MLX5_CAP_GEN(dev, port_module_event))
550 async_event_mask |= (1ull << MLX5_EVENT_TYPE_PORT_MODULE_EVENT);
551 else
552 mlx5_core_dbg(dev, "port_module_event is not set\n");
553
554 if (MLX5_PPS_CAP(dev))
555 async_event_mask |= (1ull << MLX5_EVENT_TYPE_PPS_EVENT);
556
557 if (MLX5_CAP_GEN(dev, fpga))
558 async_event_mask |= (1ull << MLX5_EVENT_TYPE_FPGA_ERROR) |
559 (1ull << MLX5_EVENT_TYPE_FPGA_QP_ERROR);
560 if (MLX5_CAP_GEN_MAX(dev, dct))
561 async_event_mask |= (1ull << MLX5_EVENT_TYPE_DCT_DRAINED);
562
563 if (MLX5_CAP_GEN(dev, temp_warn_event))
564 async_event_mask |= (1ull << MLX5_EVENT_TYPE_TEMP_WARN_EVENT);
565
566 if (MLX5_CAP_MCAM_REG(dev, tracer_registers))
567 async_event_mask |= (1ull << MLX5_EVENT_TYPE_DEVICE_TRACER);
568
569 if (MLX5_CAP_GEN(dev, max_num_of_monitor_counters))
570 async_event_mask |= (1ull << MLX5_EVENT_TYPE_MONITOR_COUNTER);
571
572 if (mlx5_eswitch_is_funcs_handler(dev))
573 async_event_mask |=
574 (1ull << MLX5_EVENT_TYPE_ESW_FUNCTIONS_CHANGED);
575
576 if (MLX5_CAP_GEN_MAX(dev, vhca_state))
577 async_event_mask |= (1ull << MLX5_EVENT_TYPE_VHCA_STATE_CHANGE);
578
> 579 if (mlx5_ipsec_device_caps(dev) & MLX5_IPSEC_CAP_FULL_OFFLOAD)
580 async_event_mask |=
581 (1ull << MLX5_EVENT_TYPE_OBJECT_CHANGE_EVENT);
582
583 mask[0] = async_event_mask;
584
585 if (MLX5_CAP_GEN(dev, event_cap))
586 gather_user_async_events(dev, mask);
587 }
588
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-09-04 15:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202209042336.6G07ozQ9-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=leonro@nvidia.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®