All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH bpf v2] xsk: Fix out of order segment free in __xsk_generic_xmit()
@ 2025-05-31 10:17 kernel test robot
  0 siblings, 0 replies; 19+ messages in thread
From: kernel test robot @ 2025-05-31 10:17 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "__compiletime_assert_NNN"
:::::: 

BCC: lkp@intel.com
CC: llvm@lists.linux.dev
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20250530103456.53564-1-e.kubanski@partner.samsung.com>
References: <20250530103456.53564-1-e.kubanski@partner.samsung.com>
TO: "e.kubanski" <e.kubanski@partner.samsung.com>
TO: netdev@vger.kernel.org
TO: linux-kernel@vger.kernel.org
CC: bjorn@kernel.org
CC: magnus.karlsson@intel.com
CC: maciej.fijalkowski@intel.com
CC: jonathan.lemon@gmail.com
CC: "e.kubanski" <e.kubanski@partner.samsung.com>

Hi e.kubanski,

kernel test robot noticed the following build errors:

[auto build test ERROR on bpf/master]

url:    https://github.com/intel-lab-lkp/linux/commits/e-kubanski/xsk-Fix-out-of-order-segment-free-in-__xsk_generic_xmit/20250530-183723
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git master
patch link:    https://lore.kernel.org/r/20250530103456.53564-1-e.kubanski%40partner.samsung.com
patch subject: [PATCH bpf v2] xsk: Fix out of order segment free in __xsk_generic_xmit()
:::::: branch date: 24 hours ago
:::::: commit date: 24 hours ago
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20250531/202505311701.ysDKIyGZ-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250531/202505311701.ysDKIyGZ-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@intel.com>
| Closes: https://lore.kernel.org/r/202505311701.ysDKIyGZ-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/net/ethernet/meta/fbnic/fbnic_txrx.c:2184:6: error: call to '__compiletime_assert_1551' declared with 'error' attribute: FIELD_PREP: value too large for the field
    2184 |             FIELD_PREP(FBNIC_QUEUE_RDE_CTL0_MIN_TROOM_MASK, FBNIC_RX_TROOM);
         |             ^
   include/linux/bitfield.h:115:3: note: expanded from macro 'FIELD_PREP'
     115 |                 __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: ");    \
         |                 ^
   include/linux/bitfield.h:68:3: note: expanded from macro '__BF_FIELD_CHECK'
      68 |                 BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ?           \
         |                 ^
   include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG'
      39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
         |                                     ^
   note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
   include/linux/compiler_types.h:550:2: note: expanded from macro '_compiletime_assert'
     550 |         __compiletime_assert(condition, msg, prefix, suffix)
         |         ^
   include/linux/compiler_types.h:543:4: note: expanded from macro '__compiletime_assert'
     543 |                         prefix ## suffix();                             \
         |                         ^
   <scratch space>:23:1: note: expanded from here
      23 | __compiletime_assert_1551
         | ^
   1 error generated.


vim +2184 drivers/net/ethernet/meta/fbnic/fbnic_txrx.c

0cb4c0a13723ef Alexander Duyck 2024-07-12  2173  
0cb4c0a13723ef Alexander Duyck 2024-07-12  2174  static void fbnic_config_drop_mode_rcq(struct fbnic_napi_vector *nv,
0cb4c0a13723ef Alexander Duyck 2024-07-12  2175  				       struct fbnic_ring *rcq)
0cb4c0a13723ef Alexander Duyck 2024-07-12  2176  {
0cb4c0a13723ef Alexander Duyck 2024-07-12  2177  	u32 drop_mode, rcq_ctl;
0cb4c0a13723ef Alexander Duyck 2024-07-12  2178  
0cb4c0a13723ef Alexander Duyck 2024-07-12  2179  	drop_mode = FBNIC_QUEUE_RDE_CTL0_DROP_IMMEDIATE;
0cb4c0a13723ef Alexander Duyck 2024-07-12  2180  
0cb4c0a13723ef Alexander Duyck 2024-07-12  2181  	/* Specify packet layout */
0cb4c0a13723ef Alexander Duyck 2024-07-12  2182  	rcq_ctl = FIELD_PREP(FBNIC_QUEUE_RDE_CTL0_DROP_MODE_MASK, drop_mode) |
0cb4c0a13723ef Alexander Duyck 2024-07-12  2183  	    FIELD_PREP(FBNIC_QUEUE_RDE_CTL0_MIN_HROOM_MASK, FBNIC_RX_HROOM) |
0cb4c0a13723ef Alexander Duyck 2024-07-12 @2184  	    FIELD_PREP(FBNIC_QUEUE_RDE_CTL0_MIN_TROOM_MASK, FBNIC_RX_TROOM);
0cb4c0a13723ef Alexander Duyck 2024-07-12  2185  
0cb4c0a13723ef Alexander Duyck 2024-07-12  2186  	fbnic_ring_wr32(rcq, FBNIC_QUEUE_RDE_CTL0, rcq_ctl);
0cb4c0a13723ef Alexander Duyck 2024-07-12  2187  }
0cb4c0a13723ef Alexander Duyck 2024-07-12  2188  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-07-04 15:29 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20250530103506eucas1p1e4091678f4157b928ddfa6f6534a0009@eucas1p1.samsung.com>
2025-05-30 10:34 ` [PATCH bpf v2] xsk: Fix out of order segment free in __xsk_generic_xmit() e.kubanski
2025-05-30 11:56   ` Eryk Kubanski
2025-05-30 16:07   ` Stanislav Fomichev
2025-06-02  9:27     ` Eryk Kubanski
2025-06-02 15:28       ` Stanislav Fomichev
2025-06-02 15:58         ` Eryk Kubanski
2025-06-02 16:03         ` Maciej Fijalkowski
2025-06-02 16:18           ` Eryk Kubanski
2025-06-04 13:50             ` Maciej Fijalkowski
2025-06-04 14:15               ` Eryk Kubanski
2025-06-09 19:41                 ` Maciej Fijalkowski
2025-06-10  9:35                   ` Eryk Kubanski
     [not found]       ` <CGME20250530103506eucas1p1e4091678f4157b928ddfa6f6534a0009@eucms1p3>
2025-06-10  9:11         ` Eryk Kubanski
2025-06-11 13:10           ` Maciej Fijalkowski
2025-07-03 23:37       ` Jason Xing
2025-07-04 12:34         ` Maciej Fijalkowski
2025-07-04 15:29           ` Jason Xing
2025-06-04 14:41   ` kernel test robot
2025-05-31 10:17 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.