[net-next:master 229/239] net/bridge/br_forward.c:51:5: error: 'struct sk_buff' has no member named 'offload_fwd_mark'
From: kernel test robot <hidden>
Date: 2021-07-23 20:28:30
Also in:
oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master head: 94a994d2b2b74420c6fff5100220c2b636317242 commit: 472111920f1c5fbe103022a4b05bfb37128a2a29 [229/239] net: bridge: switchdev: allow the TX data plane forwarding to be offloaded config: nios2-randconfig-r031-20210723 (attached as .config) compiler: nios2-linux-gcc (GCC) 10.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/commit/?id=472111920f1c5fbe103022a4b05bfb37128a2a29 git remote add net-next https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git git fetch --no-tags net-next master git checkout 472111920f1c5fbe103022a4b05bfb37128a2a29 # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash net/bridge/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>): net/bridge/br_forward.c: In function 'br_dev_queue_push_xmit':
quoted
net/bridge/br_forward.c:51:5: error: 'struct sk_buff' has no member named 'offload_fwd_mark'
51 | skb->offload_fwd_mark = br_switchdev_frame_uses_tx_fwd_offload(skb);
| ^~
vim +51 net/bridge/br_forward.c
32
33 int br_dev_queue_push_xmit(struct net *net, struct sock *sk, struct sk_buff *skb)
34 {
35 skb_push(skb, ETH_HLEN);
36 if (!is_skb_forwardable(skb->dev, skb))
37 goto drop;
38
39 br_drop_fake_rtable(skb);
40
41 if (skb->ip_summed == CHECKSUM_PARTIAL &&
42 eth_type_vlan(skb->protocol)) {
43 int depth;
44
45 if (!__vlan_get_protocol(skb, skb->protocol, &depth))
46 goto drop;
47
48 skb_set_network_header(skb, depth);
49 }
50
> 51 skb->offload_fwd_mark = br_switchdev_frame_uses_tx_fwd_offload(skb);
52
53 dev_queue_xmit(skb);
54
55 return 0;
56
57 drop:
58 kfree_skb(skb);
59 return 0;
60 }
61 EXPORT_SYMBOL_GPL(br_dev_queue_push_xmit);
62
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 35013 bytes