lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201707012327.hLENYX0B%fengguang.wu@intel.com>
Date:   Sat, 1 Jul 2017 23:25:35 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Manish Chopra <manish.chopra@...ium.com>
Cc:     kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
        Yuval.Mintz@...ium.com, rahul.verma@...ium.com,
        sudarsana.kalluru@...ium.com
Subject: Re: [PATCH net-next 6/7] qed/qede: Read per queue coalesce from
 hardware

Hi Rahul,

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Manish-Chopra/qed-qede-Enhancements/20170701-205133
config: i386-randconfig-x018-06250006 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18) 6.3.0 20170516
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/net//ethernet/qlogic/qed/qed_l2.c: In function 'qed_get_queue_coalesce':
>> drivers/net//ethernet/qlogic/qed/qed_l2.c:2137:8: error: implicit declaration of function 'qed_vf_pf_get_coalesce' [-Werror=implicit-function-declaration]
      rc = qed_vf_pf_get_coalesce(p_hwfn, p_coal, p_cid);
           ^~~~~~~~~~~~~~~~~~~~~~
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:__set_bit
   Cyclomatic Complexity 2 arch/x86/include/asm/bitops.h:clear_bit
   Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls
   Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u32
   Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
   Cyclomatic Complexity 1 arch/x86/include/asm/io.h:writel
   Cyclomatic Complexity 67 include/linux/slab.h:kmalloc_large
   Cyclomatic Complexity 3 include/linux/slab.h:kmalloc
   Cyclomatic Complexity 1 include/linux/slab.h:kzalloc
   Cyclomatic Complexity 1 include/linux/etherdevice.h:ether_addr_copy
   Cyclomatic Complexity 2 include/linux/qed/qed_if.h:__internal_ram_wr
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed.h:qed_db_addr
   Cyclomatic Complexity 2 drivers/net//ethernet/qlogic/qed/qed.h:qed_concrete_to_sw_fid
   Cyclomatic Complexity 2 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_vport_update_sge_tpa
   Cyclomatic Complexity 4 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_filter_action
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_set_fw_mac_addr
   Cyclomatic Complexity 6 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_calc_crc32c
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:__qed_get_vport_pstats_addrlen
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:__qed_get_vport_ustats_addrlen
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:__qed_get_vport_mstats_addrlen
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_register_eth_ops
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_check_mac
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_arfs_sp_response_handler
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_queue_qid_usage_del
   Cyclomatic Complexity 14 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_update_accept_mode
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_update_mcast_bin
   Cyclomatic Complexity 5 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_queue_qid_usage_add
   Cyclomatic Complexity 12 drivers/net//ethernet/qlogic/qed/qed_l2.c:_qed_eth_queue_to_cid
   Cyclomatic Complexity 28 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_filter_ucast_common
   Cyclomatic Complexity 7 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_pf_rx_queue_stop
   Cyclomatic Complexity 2 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_pf_tx_queue_stop
   Cyclomatic Complexity 9 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_configure_rfs_ntuple_filter
   Cyclomatic Complexity 7 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_ntuple_arfs_filter_config
   Cyclomatic Complexity 17 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_vport_update_rss
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_crc32c_le
   Cyclomatic Complexity 11 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_update_vport_rss
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:__qed_get_vport_mstats
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:__qed_get_vport_ustats
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:__qed_get_vport_pstats
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:__qed_get_vport_port_stats
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:__qed_get_vport_tstats
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:__qed_get_vport_stats
   Cyclomatic Complexity 7 drivers/net//ethernet/qlogic/qed/qed_l2.c:_qed_get_vport_stats
   Cyclomatic Complexity 4 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_get_vport_stats
   Cyclomatic Complexity 13 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_arfs_mode_configure
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_configure_arfs_searcher
   Cyclomatic Complexity 6 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_tunn_configure
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_fp_cqe_completion
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_fastpath_stop
   Cyclomatic Complexity 7 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_fill_eth_dev_info
   Cyclomatic Complexity 6 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_l2_alloc
   Cyclomatic Complexity 2 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_l2_setup
   Cyclomatic Complexity 6 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_l2_free
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_queue_cid_release
   Cyclomatic Complexity 8 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_queue_to_cid
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_queue_to_cid_pf
   Cyclomatic Complexity 4 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_eth_vport_start
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_vport_start
   Cyclomatic Complexity 4 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_vport_update
   Cyclomatic Complexity 11 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_filter_accept_cmd
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_configure_filter_rx_mode
   Cyclomatic Complexity 12 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_update_vport
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_vport_stop
   Cyclomatic Complexity 4 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_stop_vport
   Cyclomatic Complexity 10 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_rxq_start_ramrod
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_pf_rx_queue_start
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_rx_queue_start
   Cyclomatic Complexity 6 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_start_rxq
   Cyclomatic Complexity 4 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_eth_rx_queues_update
   Cyclomatic Complexity 2 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_rx_queue_stop
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_stop_rxq
   Cyclomatic Complexity 2 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_txq_start_ramrod
   Cyclomatic Complexity 2 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_pf_tx_queue_start
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_tx_queue_start
   Cyclomatic Complexity 6 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_start_txq
   Cyclomatic Complexity 2 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_eth_tx_queue_stop
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_stop_txq
   Cyclomatic Complexity 16 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_eth_filter_ucast
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_filter_ucast_cmd
   Cyclomatic Complexity 13 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_configure_filter_ucast
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_mcast_bin_from_mac
   Cyclomatic Complexity 8 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_sp_eth_filter_mcast
   Cyclomatic Complexity 4 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_filter_mcast_cmd
   Cyclomatic Complexity 6 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_configure_filter_mcast
   Cyclomatic Complexity 6 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_configure_filter
   Cyclomatic Complexity 7 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_reset_vport_stats
   Cyclomatic Complexity 11 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_start_vport
   Cyclomatic Complexity 4 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_get_rxq_coalesce
   Cyclomatic Complexity 4 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_get_txq_coalesce
   Cyclomatic Complexity 3 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_get_queue_coalesce
   Cyclomatic Complexity 4 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_get_coalesce
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_get_eth_ops
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:qed_put_eth_ops
   Cyclomatic Complexity 1 drivers/net//ethernet/qlogic/qed/qed_l2.c:_GLOBAL__sub_I_65535_0_qed_l2_alloc
   cc1: some warnings being treated as errors

vim +/qed_vf_pf_get_coalesce +2137 drivers/net//ethernet/qlogic/qed/qed_l2.c

  2131	{
  2132		struct qed_queue_cid *p_cid = handle;
  2133		struct qed_ptt *p_ptt;
  2134		int rc = 0;
  2135	
  2136		if (IS_VF(p_hwfn->cdev)) {
> 2137			rc = qed_vf_pf_get_coalesce(p_hwfn, p_coal, p_cid);
  2138			if (rc)
  2139				DP_NOTICE(p_hwfn, "Unable to read queue coalescing\n");
  2140	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (34048 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ