From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754918AbeAIWhx (ORCPT + 1 other); Tue, 9 Jan 2018 17:37:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44264 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752557AbeAIWhs (ORCPT ); Tue, 9 Jan 2018 17:37:48 -0500 Date: Tue, 9 Jan 2018 23:37:42 +0100 From: Jesper Dangaard Brouer To: Guenter Roeck Cc: Alexei Starovoitov , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, brouer@redhat.com Subject: Re: Build failure in -next due to 'xdp: generic XDP handling of xdp_rxq_info' Message-ID: <20180109233742.101bfa1a@redhat.com> In-Reply-To: <20180109190147.GA28680@roeck-us.net> References: <20180109190147.GA28680@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 09 Jan 2018 22:37:48 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, 9 Jan 2018 11:01:47 -0800 Guenter Roeck wrote: > Hi, > > commit e817f85652c ("xdp: generic XDP handling of xdp_rxq_info") results in > the following error when building m68k:m5208evb_defconfig in -next. > > net/core/dev.c: In function 'netif_get_rxqueue': > net/core/dev.c:3926:15: error: 'struct net_device' has no member named '_rx' > net/core/dev.c:3931:28: error: > 'struct net_device' has no member named 'real_num_rx_queues' > > net/core/dev.c: In function 'netif_alloc_rx_queues': > net/core/dev.c:7633:29: error: > 'struct net_device' has no member named 'num_rx_queues' > > [ and so on ] Hi Guenter, This is caused by CONFIG_SYSFS is not set in your config. I'm preparing a patch... can I ask you to test it, as I have a hard time disabling on my X86_64 system. -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer