Re: [PATCH net-next v2 3/3] net: ti: icssg-prueth: Add XDP support

From: kernel test robot
Date: Tue Feb 11 2025 - 17:21:43 EST


Hi Meghana,

kernel test robot noticed the following build errors:

[auto build test ERROR on acdefab0dcbc3833b5a734ab80d792bb778517a0]

url: https://github.com/intel-lab-lkp/linux/commits/Meghana-Malladi/net-ti-icssg-prueth-Use-page_pool-API-for-RX-buffer-allocation/20250210-183805
base: acdefab0dcbc3833b5a734ab80d792bb778517a0
patch link: https://lore.kernel.org/r/20250210103352.541052-4-m-malladi%40ti.com
patch subject: [PATCH net-next v2 3/3] net: ti: icssg-prueth: Add XDP support
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20250212/202502120546.Y6ri4qi6-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250212/202502120546.Y6ri4qi6-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502120546.Y6ri4qi6-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

drivers/net/ethernet/ti/icssg/icssg_prueth.c: In function 'prueth_create_xdp_rxqs':
>> drivers/net/ethernet/ti/icssg/icssg_prueth.c:568:55: error: 'struct xdp_rxq_info' has no member named 'napi_id'
568 | ret = xdp_rxq_info_reg(rxq, emac->ndev, 0, rxq->napi_id);
| ^~


vim +568 drivers/net/ethernet/ti/icssg/icssg_prueth.c

561
562 static int prueth_create_xdp_rxqs(struct prueth_emac *emac)
563 {
564 struct xdp_rxq_info *rxq = &emac->rx_chns.xdp_rxq;
565 struct page_pool *pool = emac->rx_chns.pg_pool;
566 int ret;
567
> 568 ret = xdp_rxq_info_reg(rxq, emac->ndev, 0, rxq->napi_id);
569 if (ret)
570 return ret;
571
572 ret = xdp_rxq_info_reg_mem_model(rxq, MEM_TYPE_PAGE_POOL, pool);
573 if (ret)
574 xdp_rxq_info_unreg(rxq);
575
576 return ret;
577 }
578

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