tree:
https://github.com/zen-kernel/zen-kernel 5.11/bbr2
head: 5ded94b0a37ea404ce97aa284b7c8dbfcc39d788
commit: 35d326afdf4fb797b252bc2d01407df0f1f05cdc [14/30] net-tcp: re-generalize TSO sizing
in TCP CC module API
config: i386-randconfig-r023-20210218 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://github.com/zen-kernel/zen-kernel/commit/35d326afdf4fb797b252bc2d0...
git remote add zen-kernel-zen-kernel
https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen-kernel-zen-kernel 5.11/bbr2
git checkout 35d326afdf4fb797b252bc2d01407df0f1f05cdc
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: net/ipv4/tcp_bbr.o: in function `bbr_tso_segs_generic':
> net/ipv4/tcp_bbr.c:313: undefined reference to `__udivdi3'
> ld: net/ipv4/tcp_bbr.c:313: undefined reference to `__udivdi3'
> ld: net/ipv4/tcp_bbr.c:313: undefined reference to `__udivdi3'
vim +313 net/ipv4/tcp_bbr.c
299
300 /* Return the number of segments BBR would like in a TSO/GSO skb, given
301 * a particular max gso size as a constraint.
302 */
303 static u32 bbr_tso_segs_generic(struct sock *sk, unsigned int mss_now,
304 u32 gso_max_size)
305 {
306 u32 segs;
307 u64 bytes;
308
309 /* Budget a TSO/GSO burst size allowance based on bw (pacing_rate). */
310 bytes = sk->sk_pacing_rate >> sk->sk_pacing_shift;
311
312 bytes = min_t(u32, bytes, gso_max_size - 1 - MAX_TCP_HEADER);
313 segs = max_t(u32, bytes / mss_now, bbr_min_tso_segs(sk));
314 return segs;
315 }
316
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org