mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [leon-rdma:xfrm-next 42/44] drivers/net/ethernet/mellanox/mlx5/core/eq.c:579:43: error: 'MLX5_IPSEC_CAP_FULL_OFFLOAD' undeclared
@ 2022-09-04 15:42 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-04 15:42 UTC (permalink / raw)
  To: Leon Romanovsky; +Cc: kbuild-all, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-09-04 15:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-04 15:42 [leon-rdma:xfrm-next 42/44] drivers/net/ethernet/mellanox/mlx5/core/eq.c:579:43: error: 'MLX5_IPSEC_CAP_FULL_OFFLOAD' undeclared kernel test robot

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®