[Intel-wired-lan] Is it just me? next-queue_dev-queue Compile problems with ice as a module.
Brown, Aaron F
aaron.f.brown at intel.com
Wed May 27 22:33:19 UTC 2020
Cool... but sounds like we know the answer. And umm, yeah, don't pull fresh (or be ready to re-wind LOL.)
Thanks,
Aaron
> -----Original Message-----
> From: Bowers, AndrewX <andrewx.bowers at intel.com>
> Sent: Wednesday, May 27, 2020 3:24 PM
> To: Brown, Aaron F <aaron.f.brown at intel.com>; intel-wired-lan at osuosl.org
> Subject: RE: [Intel-wired-lan] Is it just me? next-queue_dev-queue Compile
> problems with ice as a module.
>
> Let me do a fresh pull and see if I'm getting the same thing, wasn't getting
> any errors a few days ago.
>
>
> > -----Original Message-----
> > From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> > Brown, Aaron F
> > Sent: Wednesday, May 27, 2020 3:07 PM
> > To: intel-wired-lan at osuosl.org
> > Subject: [Intel-wired-lan] Is it just me? next-queue_dev-queue Compile
> > problems with ice as a module.
> >
> > Hi all,
> >
> > I'm getting a compile failure on a fresh pull of next-queue_dev-queue if I
> try
> > to build a kernel with the ice driver included as a module. It builds fine
> when
> > I checkout master branch and build or if I de-select CONFIG_ICE in the
> > .config. The failure I get is as follows:
> > -----------------------------------------------
> > AR net/core/built-in.a
> > AR net/built-in.a
> > u1519:[2]/usr/src/kernels/next-queue> cat err_make.log
> > drivers/net/ethernet/intel/ice/ice_base.c: In function 'ice_vsi_cfg_rxq':
> > drivers/net/ethernet/intel/ice/ice_base.c:410:37: error: 'struct xdp_umem'
> > has no member named 'chunk_size_nohr'
> > ring->rx_buf_len = ring->xsk_umem->chunk_size_nohr -
> > ^
> > drivers/net/ethernet/intel/ice/ice_base.c:412:8: error: 'struct ice_ring' has
> > no member named 'zca'
> > ring->zca.free = ice_zca_free;
> > ^
> > drivers/net/ethernet/intel/ice/ice_base.c:412:21: error: 'ice_zca_free'
> > undeclared (first use in this function)
> > ring->zca.free = ice_zca_free;
> > ^
> > drivers/net/ethernet/intel/ice/ice_base.c:412:21: note: each undeclared
> > identifier is reported only once for each function it appears in
> > drivers/net/ethernet/intel/ice/ice_base.c:414:9: error:
> > 'MEM_TYPE_ZERO_COPY' undeclared (first use in this function)
> > MEM_TYPE_ZERO_COPY,
> > ^
> > drivers/net/ethernet/intel/ice/ice_base.c:415:14: error: 'struct ice_ring'
> has
> > no member named 'zca'
> > &ring->zca);
> > ^
> > drivers/net/ethernet/intel/ice/ice_base.c:422:8: error: 'struct ice_ring' has
> > no member named 'zca'
> > ring->zca.free = NULL;
> > ^
> > drivers/net/ethernet/intel/ice/ice_base.c:445:3: error: implicit declaration
> of
> > function 'xsk_umem_has_addrs_rq' [-Werror=implicit-function-
> declaration]
> > if (!xsk_umem_has_addrs_rq(ring->xsk_umem, num_bufs)) {
> > ^
> > cc1: some warnings being treated as errors
> > make[6]: *** [drivers/net/ethernet/intel/ice/ice_base.o] Error 1
> > make[6]: *** Waiting for unfinished jobs....
> > make[5]: *** [drivers/net/ethernet/intel/ice] Error 2
> > make[4]: *** [drivers/net/ethernet/intel] Error 2
> > make[3]: *** [drivers/net/ethernet] Error 2
> > make[2]: *** [drivers/net] Error 2
> > make[1]: *** [drivers] Error 2
> > make[1]: *** Waiting for unfinished jobs....
> > make: *** [sub-make] Error 2
> > u1519:[2]/usr/src/kernels/next-queue>
> > -----------------------------------------------
> > I bisected it down to this patch or one on either side:
> > 714c21f ice: Check UMEM FQ size when allocating bufs I am not exactly sure
> > as I had 0 steps left when I got here, but received a different message on
> > compile instead:
> > u1519:[2]/usr/src/kernels/next-queue> cat err_make.log
> > drivers/net/ethernet/intel/ice/ice_base.c: In function 'ice_setup_rx_ctx':
> > drivers/net/ethernet/intel/ice/ice_base.c:432:3: error: implicit declaration
> of
> > function 'xsk_umem_has_addrs_rq' [-Werror=implicit-function-
> declaration]
> > if (!xsk_umem_has_addrs_rq(ring->xsk_umem, num_bufs)) {
> > ^
> > cc1: some warnings being treated as errors
> > make[6]: *** [drivers/net/ethernet/intel/ice/ice_base.o] Error 1
> > make[5]: *** [drivers/net/ethernet/intel/ice] Error 2
> > make[4]: *** [drivers/net/ethernet/intel] Error 2
> > make[3]: *** [drivers/net/ethernet] Error 2
> > make[2]: *** [drivers/net] Error 2
> > make[1]: *** [drivers] Error 2
> > make: *** [sub-make] Error 2
> > u1519:[2]/usr/src/kernels/next-queue>
> >
> > I'm using a relatively minimal kernel so could easily be missing something
> that
> > gets defined elsewhere.
> >
> > _______________________________________________
> > Intel-wired-lan mailing list
> > Intel-wired-lan at osuosl.org
> > https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
More information about the Intel-wired-lan
mailing list