[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202511130005.Y0cxF4Ms-lkp@intel.com>
Date: Thu, 13 Nov 2025 12:51:01 +0800
From: kernel test robot <lkp@...el.com>
To: Bhargava Marreddy <bhargava.marreddy@...adcom.com>, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
andrew+netdev@...n.ch, horms@...nel.org
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, michael.chan@...adcom.com,
pavan.chebbi@...adcom.com, vsrama-krishna.nemani@...adcom.com,
vikas.gupta@...adcom.com,
Bhargava Marreddy <bhargava.marreddy@...adcom.com>,
Rajashekar Hudumula <rajashekar.hudumula@...adcom.com>
Subject: Re: [net-next 08/12] bng_en: Add support for TPA events
Hi Bhargava,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Bhargava-Marreddy/bng_en-Query-PHY-and-report-link-status/20251112-050616
base: net-next/main
patch link: https://lore.kernel.org/r/20251111205829.97579-9-bhargava.marreddy%40broadcom.com
patch subject: [net-next 08/12] bng_en: Add support for TPA events
config: arc-randconfig-001-20251112 (https://download.01.org/0day-ci/archive/20251113/202511130005.Y0cxF4Ms-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251113/202511130005.Y0cxF4Ms-lkp@intel.com/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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511130005.Y0cxF4Ms-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/broadcom/bnge/bnge_txrx.c:477:24: warning: 'bnge_gro_func' defined but not used [-Wunused-function]
static struct sk_buff *bnge_gro_func(struct bnge_tpa_info *tpa_info,
^~~~~~~~~~~~~
vim +/bnge_gro_func +477 drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
476
> 477 static struct sk_buff *bnge_gro_func(struct bnge_tpa_info *tpa_info,
478 int payload_off, int tcp_ts,
479 struct sk_buff *skb)
480 {
481 #ifdef CONFIG_INET
482 u16 outer_ip_off, inner_ip_off, inner_mac_off;
483 u32 hdr_info = tpa_info->hdr_info;
484 int iphdr_len, nw_off;
485
486 inner_ip_off = BNGE_TPA_INNER_L3_OFF(hdr_info);
487 inner_mac_off = BNGE_TPA_INNER_L2_OFF(hdr_info);
488 outer_ip_off = BNGE_TPA_OUTER_L3_OFF(hdr_info);
489
490 nw_off = inner_ip_off - ETH_HLEN;
491 skb_set_network_header(skb, nw_off);
492 iphdr_len = (tpa_info->flags2 & RX_TPA_START_CMP_FLAGS2_IP_TYPE) ?
493 sizeof(struct ipv6hdr) : sizeof(struct iphdr);
494 skb_set_transport_header(skb, nw_off + iphdr_len);
495
496 if (inner_mac_off) { /* tunnel */
497 __be16 proto = *((__be16 *)(skb->data + outer_ip_off -
498 ETH_HLEN - 2));
499
500 bnge_gro_tunnel(skb, proto);
501 }
502 #endif
503 return skb;
504 }
505
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists