* [alobakin:idpf-libie 9/18] drivers/net/ethernet/intel/libie/rx.c:18: warning: Function parameter or member 'pp' not described in 'libie_rx_hw_len'
@ 2023-11-29 21:36 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-29 21:36 UTC (permalink / raw)
To: Alexander Lobakin; +Cc: oe-kbuild-all
tree: https://github.com/alobakin/linux idpf-libie
head: 06e16df156eea0862b47e50485e17c70c3d8ea8f
commit: 58f0ab910da24eae9c4021b2ebac59d8cc8cc905 [9/18] libie: add Rx buffer management (via Page Pool)
config: microblaze-allmodconfig (https://download.01.org/0day-ci/archive/20231130/202311300213.f55howeK-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/202311300213.f55howeK-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/oe-kbuild-all/202311300213.f55howeK-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/intel/libie/rx.c:18: warning: Function parameter or member 'pp' not described in 'libie_rx_hw_len'
>> drivers/net/ethernet/intel/libie/rx.c:18: warning: Excess function parameter 'dev' description in 'libie_rx_hw_len'
>> drivers/net/ethernet/intel/libie/rx.c:18: warning: Excess function parameter 'max_len' description in 'libie_rx_hw_len'
vim +18 drivers/net/ethernet/intel/libie/rx.c
7
8 /**
9 * libie_rx_hw_len - get the actual buffer size to be passed to HW
10 * @dev: &net_device to calculate the size for
11 * @max_len: maximum length for the given page size
12 *
13 * Return: HW-writeable length per one buffer to pass it to the HW accounting:
14 * MTU the @dev has, HW required alignment, minimum and maximum allowed values,
15 * and system's page size.
16 */
17 static u32 libie_rx_hw_len(const struct page_pool_params *pp)
> 18 {
19 u32 len;
20
21 len = READ_ONCE(pp->netdev->mtu) + LIBIE_RX_LL_LEN;
22 len = ALIGN(len, LIBIE_RX_BUF_LEN_ALIGN);
23 len = clamp(len, LIBIE_MIN_RX_BUF_LEN, pp->max_len);
24
25 return len;
26 }
27
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-29 21:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29 21:36 [alobakin:idpf-libie 9/18] drivers/net/ethernet/intel/libie/rx.c:18: warning: Function parameter or member 'pp' not described in 'libie_rx_hw_len' 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.