Subject: Build failure in -next due to 'xdp: generic XDP handling of xdp_rxq_info'

From: Guenter Roeck <[email-masked]>
Date: Tue, 9 Jan 2018 11:01:47 -0800

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 ]

Reverting the commit fixes the problem. Bisect log is attached.

Guenter

---
# bad: [06d41862286aa7bc634a1dd9e6e7e96f925ef30a] Add linux-next specific files for 20180109
# good: [b2cd1df66037e7c4697c7e40496bf7e4a5e16a2d] Linux 4.15-rc7
git bisect start 'HEAD' 'v4.15-rc7'
# bad: [9da4bdd3a63316ea34855132136f33c5b028a345] Merge remote-tracking branch 'crypto/master'
git bisect bad 9da4bdd3a63316ea34855132136f33c5b028a345
# good: [4367c00fe4237e51bbd365d89afca092de188906] Merge remote-tracking branch 'i2c/i2c/for-next'
git bisect good 4367c00fe4237e51bbd365d89afca092de188906
# bad: [f998b6b10144cd9809da6af02758615f789e8aa1] netfilter: ipset: Missing nfnl_lock()/nfnl_unlock() is added to ip_set_net_exit()
git bisect bad f998b6b10144cd9809da6af02758615f789e8aa1
# good: [918341e063028080bcd73d33540f77d9c1d20602] cxgb4: Report tid start range correctly for T6
git bisect good 918341e063028080bcd73d33540f77d9c1d20602
# good: [4f83435ad777358d9cdc138868feebbe2a23f577] nfp: bpf: allocate vNIC priv for keeping track of the offloaded program
git bisect good 4f83435ad777358d9cdc138868feebbe2a23f577
# good: [8a4816cad00bf14642f0ed6043b32d29a05006ce] tg3: Add Macronix NVRAM support
git bisect good 8a4816cad00bf14642f0ed6043b32d29a05006ce
# bad: [7f0b800048b562d716372466ea8d9de648c422dd] Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
git bisect bad 7f0b800048b562d716372466ea8d9de648c422dd
# good: [c90ecbfaf50d2d7db25c531d9169be7e47435f3f] rds: Use atomic flag to track connections being destroyed
git bisect good c90ecbfaf50d2d7db25c531d9169be7e47435f3f
# good: [0ddf543226acacfb9f521dafc6c817d5b04c7b1f] xdp/mlx5: setup xdp_rxq_info
git bisect good 0ddf543226acacfb9f521dafc6c817d5b04c7b1f
# bad: [e817f85652c14d78f170b18797e4c477c78949e0] xdp: generic XDP handling of xdp_rxq_info
git bisect bad e817f85652c14d78f170b18797e4c477c78949e0
# good: [96a8604f95fa216b9ddfd15c687eed42a2f56901] bnxt_en: setup xdp_rxq_info
git bisect good 96a8604f95fa216b9ddfd15c687eed42a2f56901
# good: [27e95e3648910c81a0840aa10dde77323795519e] thunderx: setup xdp_rxq_info
git bisect good 27e95e3648910c81a0840aa10dde77323795519e
# good: [754b8a21a96d5f11712245aef907149606b323ae] virtio_net: setup xdp_rxq_info
git bisect good 754b8a21a96d5f11712245aef907149606b323ae
# first bad commit: [e817f85652c14d78f170b18797e4c477c78949e0] xdp: generic XDP handling of xdp_rxq_info