Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [net-next:master 229/239] net/bridge/br_forward.c:51:5: error: 'struct sk_buff' has no member named 'offload_fwd_mark'
@ 2021-07-23 20:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-23 20:28 UTC (permalink / raw)
  To: Tobias Waldekranz; +Cc: kbuild-all, netdev, Vladimir Oltean, Florian Fainelli

[-- Attachment #1: Type: text/plain, Size: 2439 bytes --]

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 <lkp@intel.com>

All errors (new ones prefixed by >>):

   net/bridge/br_forward.c: In function 'br_dev_queue_push_xmit':
>> 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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35013 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-23 20:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23 20:28 [net-next:master 229/239] net/bridge/br_forward.c:51:5: error: 'struct sk_buff' has no member named 'offload_fwd_mark' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).