Build Error in Linux-next, intel ethernet driver

Lucas Tanure tanure at linux.com
Tue Aug 5 18:57:37 EDT 2014


of course

drivers/net/ethernet/intel/i40e/i40e_fcoe.c: In function ‘i40e_get_fcoe_tc_map’:
drivers/net/ethernet/intel/i40e/i40e_fcoe.c:354:23: error:
‘IEEE_8021QAZ_APP_SEL_ETHERTYPE’ undeclared (first use in this
function)
   if (app.selector == IEEE_8021QAZ_APP_SEL_ETHERTYPE &&
                       ^
drivers/net/ethernet/intel/i40e/i40e_fcoe.c:354:23: note: each
undeclared identifier is reported only once for each function it
appears in
scripts/Makefile.build:257: recipe for target
'drivers/net/ethernet/intel/i40e/i40e_fcoe.o' failed
make[5]: *** [drivers/net/ethernet/intel/i40e/i40e_fcoe.o] Error 1
scripts/Makefile.build:404: recipe for target
'drivers/net/ethernet/intel/i40e' failed
make[4]: *** [drivers/net/ethernet/intel/i40e] Error 2
scripts/Makefile.build:404: recipe for target
'drivers/net/ethernet/intel' failed
make[3]: *** [drivers/net/ethernet/intel] Error 2
make[3]: *** Waiting for unfinished jobs....

Thanks
--
Lucas Tanure
+55 (19) 988176559


On Tue, Aug 5, 2014 at 7:54 PM, Jeff Kirsher
<jeffrey.t.kirsher at intel.com> wrote:
> On Tue, 2014-08-05 at 19:37 -0300, Lucas Tanure wrote:
>> Thanks for reviewing my patch. My .config was bigger than 40k ( max
>> attachment size for kernelnewbies list).
>
> First thing I noticed was that your config was missing CONFIG_I40E_DCB=y
> option.  So it appears that some of the recent FCoE code that was added
> to the i40e driver needs to be wrapped with #ifdef CONFIG_I40E_DCB.
>
> Can you provide the error that you are receiving, without your patch
> applied?  That will help me narrow down what code needs to be wrapped.



More information about the Kernelnewbies mailing list