Skip to contentSkip to conversation

drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:46:29: error: field 'xdp_rxq' has incomplete type

PATCH kernel test robot 1 participant 1 message Aug 3, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
head:   648880e9331c68b2008430fd90f3648d1795399d
commit: 680ee0456a5712309db9ec2692e908ea1d6b1644 [3/4] net: invert the netdevice.h vs xdp.h dependency
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20230804/[email protected]/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230804/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

In file included from drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c:13:

>> drivers/net/ethernet/freescale/dpaa/dpaa_eth.h:46:29: error: field 'xdp_rxq' has incomplete type
      46 |         struct xdp_rxq_info xdp_rxq;
         |                             ^~~~~~~

vim +/xdp_rxq +46 drivers/net/ethernet/freescale/dpaa/dpaa_eth.h

9ad1a37493338c Madalin Bucur 2016-11-15  35  
9ad1a37493338c Madalin Bucur 2016-11-15  36  struct dpaa_fq {
9ad1a37493338c Madalin Bucur 2016-11-15  37  	struct qman_fq fq_base;
9ad1a37493338c Madalin Bucur 2016-11-15  38  	struct list_head list;
9ad1a37493338c Madalin Bucur 2016-11-15  39  	struct net_device *net_dev;
9ad1a37493338c Madalin Bucur 2016-11-15  40  	bool init;
9ad1a37493338c Madalin Bucur 2016-11-15  41  	u32 fqid;
9ad1a37493338c Madalin Bucur 2016-11-15  42  	u32 flags;
9ad1a37493338c Madalin Bucur 2016-11-15  43  	u16 channel;
9ad1a37493338c Madalin Bucur 2016-11-15  44  	u8 wq;
9ad1a37493338c Madalin Bucur 2016-11-15  45  	enum dpaa_fq_type fq_type;

d57e57d0cd04be Camelia Groza 2020-11-25 @46 struct xdp_rxq_info xdp_rxq;
9ad1a37493338c Madalin Bucur 2016-11-15 47 };
9ad1a37493338c Madalin Bucur 2016-11-15 48

:::::: The code at line 46 was first introduced by commit
:::::: d57e57d0cd04be5ee533a0e1e6d13ba9251114b7 dpaa_eth: add XDP_TX support

:::::: TO: Camelia Groza <[email protected]>
:::::: CC: Jakub Kicinski <[email protected]>

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki