From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C276E244661 for ; Sat, 17 Jan 2026 02:05:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768615537; cv=none; b=hBjXDQ1wVbknjVNrNqxNqrD2ZobhDAh0s1iq9Qc25p56bkWmydn2pxgCstgOMVFt6d4M6CQvqv7WYRG3wnaxLeRk/H8YjNbH1DdEhmuTNobHFKR03wWHZAJgCXZa5dkUBXJMBtZ5+j4lj9r8H5VDbNlN9CRkWxglMRdDpg/atWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768615537; c=relaxed/simple; bh=jWMDub43DIgGHfo4lIB+zJWib3ETqf2Ll1i6IWSUdTM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Gzx6rWf09iQMgml+Mgz010nRumChCBM3Rty6nQMMO7PgKV6tEuAnlv4o/uMvBnFlETNUOdWIAicfBdfHb7AVjFSq/RpXX+m5ji2QtUMB+C9jxKg4lHJXoeKxZoVAYzP6x6fd2w1nHbBAJveQHjDBidAQAFjivjwAOq2WBPyuxh4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=SNZUah2F; arc=none smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SNZUah2F" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1768615536; x=1800151536; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=jWMDub43DIgGHfo4lIB+zJWib3ETqf2Ll1i6IWSUdTM=; b=SNZUah2F2zrFj9kKMSKNSf/u11zwkxf+KStEb5EHcvHnB+WLxl5M4Eva badt4DgDziuMaoeTFT7VX8fuLM4sGUNPt2Ru5kYqNRvFWV0NjmYrZFO5C cF+BtgFdMx1o4CspgtiCdZKN8j6jlu9aiXIkf6qDF6hBYV/SNMDlH9Cij fzbiv/LbaB8tlP5j56248tHGRR2+plFIheTtzijN7udIlNDoN2QPeyP9U nu4S5SmojRAe8n5nt/CnwdLuScRm1/OTExdEZQ4947RHvskMGOTfPXOiv SWxerpug3zokkbNvk2gfbFq6EhHf+QdfzS9M2IGV1gpAQEEn+E9PQsClG w==; X-CSE-ConnectionGUID: tP1BqgBNR2OHpaBwKTfQug== X-CSE-MsgGUID: RN0MvtPzQ8CnR/Na0ZF8iw== X-IronPort-AV: E=McAfee;i="6800,10657,11673"; a="95403057" X-IronPort-AV: E=Sophos;i="6.21,232,1763452800"; d="scan'208";a="95403057" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2026 18:05:35 -0800 X-CSE-ConnectionGUID: DeSnNGaTQZq0b9wwr6A+EA== X-CSE-MsgGUID: NIuEwUEdTPG8Z0+XDfxFQA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,232,1763452800"; d="scan'208";a="228381812" Received: from lkp-server01.sh.intel.com (HELO 765f4a05e27f) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 16 Jan 2026 18:05:33 -0800 Received: from kbuild by 765f4a05e27f with local (Exim 4.98.2) (envelope-from ) id 1vgvgw-00000000LS8-3TgB; Sat, 17 Jan 2026 02:05:30 +0000 Date: Sat, 17 Jan 2026 10:05:24 +0800 From: kernel test robot To: Eric Dumazet , "David S . Miller" , Jakub Kicinski , Paolo Abeni Cc: oe-kbuild-all@lists.linux.dev, Simon Horman , netdev@vger.kernel.org, Willem de Bruijn , Kuniyuki Iwashima , eric.dumazet@gmail.com, Eric Dumazet Subject: Re: [PATCH net-next 2/3] gro: inline tcp6_gro_receive() Message-ID: <202601170958.L4uFo8qq-lkp@intel.com> References: <20260116152957.1825626-3-edumazet@google.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260116152957.1825626-3-edumazet@google.com> Hi Eric, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Eric-Dumazet/net-always-inline-__skb_incr_checksum_unnecessary/20260116-233745 base: net-next/main patch link: https://lore.kernel.org/r/20260116152957.1825626-3-edumazet%40google.com patch subject: [PATCH net-next 2/3] gro: inline tcp6_gro_receive() config: powerpc-ge_imp3a_defconfig (https://download.01.org/0day-ci/archive/20260117/202601170958.L4uFo8qq-lkp@intel.com/config) compiler: powerpc-linux-gcc (GCC) 15.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260117/202601170958.L4uFo8qq-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202601170958.L4uFo8qq-lkp@intel.com/ All errors (new ones prefixed by >>): net/ipv6/ip6_offload.c: In function 'ipv6_gro_receive': >> net/ipv6/ip6_offload.c:304:22: error: implicit declaration of function 'udp6_gro_receive'; did you mean 'udp_gro_receive'? [-Wimplicit-function-declaration] 304 | pp = udp6_gro_receive(head, skb); | ^~~~~~~~~~~~~~~~ | udp_gro_receive >> net/ipv6/ip6_offload.c:304:20: error: assignment to 'struct sk_buff *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 304 | pp = udp6_gro_receive(head, skb); | ^ vim +304 net/ipv6/ip6_offload.c 215 216 INDIRECT_CALLABLE_SCOPE struct sk_buff *ipv6_gro_receive(struct list_head *head, 217 struct sk_buff *skb) 218 { 219 const struct net_offload *ops; 220 struct sk_buff *pp = NULL; 221 struct sk_buff *p; 222 struct ipv6hdr *iph; 223 unsigned int nlen; 224 unsigned int hlen; 225 unsigned int off; 226 u16 flush = 1; 227 int proto; 228 229 off = skb_gro_offset(skb); 230 hlen = off + sizeof(*iph); 231 iph = skb_gro_header(skb, hlen, off); 232 if (unlikely(!iph)) 233 goto out; 234 235 NAPI_GRO_CB(skb)->network_offsets[NAPI_GRO_CB(skb)->encap_mark] = off; 236 237 flush += ntohs(iph->payload_len) != skb->len - hlen; 238 239 proto = iph->nexthdr; 240 ops = rcu_dereference(inet6_offloads[proto]); 241 if (!ops || !ops->callbacks.gro_receive) { 242 proto = ipv6_gro_pull_exthdrs(skb, hlen, proto); 243 244 ops = rcu_dereference(inet6_offloads[proto]); 245 if (!ops || !ops->callbacks.gro_receive) 246 goto out; 247 248 iph = skb_gro_network_header(skb); 249 } else { 250 skb_gro_pull(skb, sizeof(*iph)); 251 } 252 253 skb_set_transport_header(skb, skb_gro_offset(skb)); 254 255 NAPI_GRO_CB(skb)->proto = proto; 256 257 flush--; 258 nlen = skb_gro_offset(skb) - off; 259 260 list_for_each_entry(p, head, list) { 261 const struct ipv6hdr *iph2; 262 __be32 first_word; /* */ 263 264 if (!NAPI_GRO_CB(p)->same_flow) 265 continue; 266 267 iph2 = (struct ipv6hdr *)(p->data + off); 268 first_word = *(__be32 *)iph ^ *(__be32 *)iph2; 269 270 /* All fields must match except length and Traffic Class. 271 * XXX skbs on the gro_list have all been parsed and pulled 272 * already so we don't need to compare nlen 273 * (nlen != (sizeof(*iph2) + ipv6_exthdrs_len(iph2, &ops))) 274 * memcmp() alone below is sufficient, right? 275 */ 276 if ((first_word & htonl(0xF00FFFFF)) || 277 !ipv6_addr_equal(&iph->saddr, &iph2->saddr) || 278 !ipv6_addr_equal(&iph->daddr, &iph2->daddr) || 279 iph->nexthdr != iph2->nexthdr) { 280 not_same_flow: 281 NAPI_GRO_CB(p)->same_flow = 0; 282 continue; 283 } 284 if (unlikely(nlen > sizeof(struct ipv6hdr))) { 285 if (memcmp(iph + 1, iph2 + 1, 286 nlen - sizeof(struct ipv6hdr))) 287 goto not_same_flow; 288 } 289 } 290 291 NAPI_GRO_CB(skb)->flush |= flush; 292 293 skb_gro_postpull_rcsum(skb, iph, nlen); 294 295 if (unlikely(gro_recursion_inc_test(skb))) { 296 flush = 1; 297 goto out; 298 } 299 300 if (likely(proto == IPPROTO_TCP)) 301 pp = tcp6_gro_receive(head, skb); 302 #if IS_BUILTIN(CONFIG_IPV6) 303 else if (likely(proto == IPPROTO_UDP)) > 304 pp = udp6_gro_receive(head, skb); 305 #endif 306 else 307 pp = ops->callbacks.gro_receive(head, skb); 308 out: 309 skb_gro_flush_final(skb, pp, flush); 310 311 return pp; 312 } 313 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki