[Intel-wired-lan] [jkirsher-next-queue:dev-queue 80/82] drivers/net/ethernet/intel/i40e/i40e_main.c:2911:18: error: 'I40E_FLAG_IWARP_ENABLED' undeclared
Sullivan, Catherine
catherine.sullivan at intel.com
Fri Jun 19 18:23:51 UTC 2015
I cannot reproduce this error with the given config file. The tree has been rebased since the error was reported and I can no longer checkout the commit ID given but the version of the patch on the tree does not have this error.
> -----Original Message-----
> From: Wu, Fengguang
> Sent: Thursday, June 11, 2015 5:23 PM
> To: Singhai, Anjali
> Cc: kbuild-all at 01.org; Kirsher, Jeffrey T; Sullivan, Catherine; intel-wired-
> lan at lists.osuosl.org
> Subject: [jkirsher-next-queue:dev-queue 80/82]
> drivers/net/ethernet/intel/i40e/i40e_main.c:2911:18: error:
> 'I40E_FLAG_IWARP_ENABLED' undeclared
>
> tree: git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git
> dev-queue
> head: a77608e2c8d74ca16cf2738a9d2e9d90f9499c24
> commit: 7872cba88f99f0269e3f64df367265f6d3c12bda [80/82] i40e: Add
> IWARP support for X722
> config: i386-randconfig-r0-201523 (attached as .config)
> reproduce:
> git checkout 7872cba88f99f0269e3f64df367265f6d3c12bda
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All error/warnings (new ones prefixed by >>):
>
> In file included from include/linux/list.h:8:0,
> from include/net/tcp.h:23,
> from drivers/net/ethernet/intel/i40e/i40e.h:30,
> from drivers/net/ethernet/intel/i40e/i40e_main.c:28:
> drivers/net/ethernet/intel/i40e/i40e_main.c: In function
> 'i40e_vsi_setup_queue_map':
> drivers/net/ethernet/intel/i40e/i40e.h:88:19: error:
> 'I40E_FLAG_128_QP_RSS_CAPABLE' undeclared (first use in this function)
> (((pf)->flags & I40E_FLAG_128_QP_RSS_CAPABLE) ? 128 : 64)
> ^
> include/linux/kernel.h:764:17: note: in definition of macro 'min_t'
> type __min2 = (y); \
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c:1553:38: note: in expansion of
> macro 'i40e_pf_get_max_q_per_tc'
> num_tc_qps = min_t(int, num_tc_qps, i40e_pf_get_max_q_per_tc(pf));
> ^
> drivers/net/ethernet/intel/i40e/i40e.h:88:19: note: each undeclared identifier
> is reported only once for each function it appears in
> (((pf)->flags & I40E_FLAG_128_QP_RSS_CAPABLE) ? 128 : 64)
> ^
> include/linux/kernel.h:764:17: note: in definition of macro 'min_t'
> type __min2 = (y); \
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c:1553:38: note: in expansion of
> macro 'i40e_pf_get_max_q_per_tc'
> num_tc_qps = min_t(int, num_tc_qps, i40e_pf_get_max_q_per_tc(pf));
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c: In function
> 'i40e_enable_misc_int_causes':
> >> drivers/net/ethernet/intel/i40e/i40e_main.c:2911:18: error:
> 'I40E_FLAG_IWARP_ENABLED' undeclared (first use in this function)
> if (pf->flags & I40E_FLAG_IWARP_ENABLED)
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c: In function 'i40e_intr':
> drivers/net/ethernet/intel/i40e/i40e_main.c:3204:19: error:
> 'I40E_FLAG_IWARP_ENABLED' undeclared (first use in this function)
> if ((pf->flags & I40E_FLAG_IWARP_ENABLED) &&
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c: In function 'i40e_alloc_rings':
> drivers/net/ethernet/intel/i40e/i40e_main.c:7084:26: error:
> 'I40E_FLAG_WB_ON_ITR_CAPABLE' undeclared (first use in this function)
> if (vsi->back->flags & I40E_FLAG_WB_ON_ITR_CAPABLE)
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c:7086:26: error:
> 'I40E_FLAG_OUTER_UDP_CSUM_CAPABLE' undeclared (first use in this
> function)
> if (vsi->back->flags & I40E_FLAG_OUTER_UDP_CSUM_CAPABLE)
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c: In function
> 'i40e_vsi_config_rss':
> drivers/net/ethernet/intel/i40e/i40e_main.c:7545:18: error:
> 'I40E_FLAG_RSS_AQ_CAPABLE' undeclared (first use in this function)
> if (pf->flags & I40E_FLAG_RSS_AQ_CAPABLE)
> ^
> In file included from drivers/net/ethernet/intel/i40e/i40e.h:64:0,
> from drivers/net/ethernet/intel/i40e/i40e_main.c:28:
> drivers/net/ethernet/intel/i40e/i40e_main.c: In function 'i40e_config_rss':
> drivers/net/ethernet/intel/i40e/i40e_txrx.h:90:18: error:
> 'I40E_FLAG_MULTIPLE_TCP_UDP_RSS_PCTYPE' undeclared (first use in this
> function)
> (((pf)->flags & I40E_FLAG_MULTIPLE_TCP_UDP_RSS_PCTYPE) ? \
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c:7601:10: note: in expansion of
> macro 'i40e_pf_get_default_rss_hena'
> hena |= i40e_pf_get_default_rss_hena(pf);
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c:7601:2: warning: left shift count
> >= width of type
> hena |= i40e_pf_get_default_rss_hena(pf);
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c:7601:2: warning: left shift count
> >= width of type
> drivers/net/ethernet/intel/i40e/i40e_main.c:7601:2: warning: left shift count
> >= width of type
> drivers/net/ethernet/intel/i40e/i40e_main.c:7601:2: warning: left shift count
> >= width of type
> drivers/net/ethernet/intel/i40e/i40e_main.c:7615:18: error:
> 'I40E_FLAG_RSS_AQ_CAPABLE' undeclared (first use in this function)
> if (pf->flags & I40E_FLAG_RSS_AQ_CAPABLE)
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c: In function 'i40e_vsi_setup':
> drivers/net/ethernet/intel/i40e/i40e_main.c:9033:19: error:
> 'I40E_FLAG_RSS_AQ_CAPABLE' undeclared (first use in this function)
> if ((pf->flags & I40E_FLAG_RSS_AQ_CAPABLE) &&
> ^
> drivers/net/ethernet/intel/i40e/i40e_main.c: In function 'i40e_config_rss':
> drivers/net/ethernet/intel/i40e/i40e_main.c:7619:1: warning: control reaches
> end of non-void function [-Wreturn-type]
> }
> ^
>
> vim +/I40E_FLAG_IWARP_ENABLED +2911
> drivers/net/ethernet/intel/i40e/i40e_main.c
>
> 2905 I40E_PFINT_ICR0_ENA_PCI_EXCEPTION_MASK |
> 2906 I40E_PFINT_ICR0_ENA_GPIO_MASK |
> 2907 I40E_PFINT_ICR0_ENA_HMC_ERR_MASK |
> 2908 I40E_PFINT_ICR0_ENA_VFLR_MASK |
> 2909 I40E_PFINT_ICR0_ENA_ADMINQ_MASK;
> 2910
> > 2911 if (pf->flags & I40E_FLAG_IWARP_ENABLED)
> 2912 val |= I40E_PFINT_ICR0_ENA_PE_CRITERR_MASK;
> 2913
> 2914 if (pf->flags & I40E_FLAG_PTP)
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
More information about the Intel-wired-lan
mailing list