Hi Ahmed,
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/Ahmed-Zaki/net-move-ARFS-rmap-management-to-core/20250110-073339
base: net-next/main
patch link: https://lore.kernel.org/r/20250109233107.17519-4-ahmed.zaki%40intel.com (local)
patch subject: [Intel-wired-lan] [PATCH net-next v4 3/6] net: napi: add CPU affinity to napi_config
config: arm-randconfig-003-20250110 (https://download.01.org/0day-ci/archive/20250110/202501101047.KVl1kI5I-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250110/202501101047.KVl1kI5I-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 [off-list ref]
| Closes: https://lore.kernel.org/oe-kbuild-all/202501101047.KVl1kI5I-lkp@intel.com/ (local)
All errors (new ones prefixed by >>):
quoted
net/core/dev.c:6795:37: error: no member named 'rx_cpu_rmap' in 'struct net_device'
6795 | struct cpu_rmap *rmap = napi->dev->rx_cpu_rmap;
| ~~~~~~~~~ ^quoted
net/core/dev.c:6797:18: error: no member named 'napi_rmap_idx' in 'struct napi_struct'
6797 | rmap->obj[napi->napi_rmap_idx] = NULL;
| ~~~~ ^
2 errors generated.
vim +6795 net/core/dev.c
064d6072cac4f4 Ahmed Zaki 2025-01-09 6789
064d6072cac4f4 Ahmed Zaki 2025-01-09 6790 static void
064d6072cac4f4 Ahmed Zaki 2025-01-09 6791 netif_napi_affinity_release(struct kref *ref)
064d6072cac4f4 Ahmed Zaki 2025-01-09 6792 {
064d6072cac4f4 Ahmed Zaki 2025-01-09 6793 struct napi_struct *napi =
064d6072cac4f4 Ahmed Zaki 2025-01-09 6794 container_of(ref, struct napi_struct, notify.kref);
064d6072cac4f4 Ahmed Zaki 2025-01-09 @6795 struct cpu_rmap *rmap = napi->dev->rx_cpu_rmap;
064d6072cac4f4 Ahmed Zaki 2025-01-09 6796
064d6072cac4f4 Ahmed Zaki 2025-01-09 @6797 rmap->obj[napi->napi_rmap_idx] = NULL;
064d6072cac4f4 Ahmed Zaki 2025-01-09 6798 cpu_rmap_put(rmap);
064d6072cac4f4 Ahmed Zaki 2025-01-09 6799 }
064d6072cac4f4 Ahmed Zaki 2025-01-09 6800
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki