[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202311250323.TmiFJ9nb-lkp@intel.com>
Date: Sat, 25 Nov 2023 05:54:21 +0800
From: kernel test robot <lkp@...el.com>
To: Aleksandr Loktionov <aleksandr.loktionov@...el.com>,
intel-wired-lan@...ts.osuosl.org, anthony.l.nguyen@...el.com
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
netdev@...r.kernel.org, Jan Sokolowski <jan.sokolowski@...el.com>,
Padraig J Connolly <padraig.j.connolly@...el.com>
Subject: Re: [PATCH iwl-next v2] i40e: add ability to reset vf for tx and rx
mdd events
Hi Aleksandr,
kernel test robot noticed the following build errors:
[auto build test ERROR on tnguy-next-queue/dev-queue]
url: https://github.com/intel-lab-lkp/linux/commits/Aleksandr-Loktionov/i40e-add-ability-to-reset-vf-for-tx-and-rx-mdd-events/20231125-000929
base: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue
patch link: https://lore.kernel.org/r/20231124160804.2672341-1-aleksandr.loktionov%40intel.com
patch subject: [PATCH iwl-next v2] i40e: add ability to reset vf for tx and rx mdd events
config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20231125/202311250323.TmiFJ9nb-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231125/202311250323.TmiFJ9nb-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311250323.TmiFJ9nb-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/net/ethernet/intel/i40e/i40e_debugfs.c:746:9: error: no member named 'num_mdd_events' in 'struct i40e_vf'
vf->num_mdd_events);
~~ ^
include/linux/dev_printk.h:150:67: note: expanded from macro 'dev_info'
dev_printk_index_wrap(_dev_info, KERN_INFO, dev, dev_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~
include/linux/dev_printk.h:110:23: note: expanded from macro 'dev_printk_index_wrap'
_p_func(dev, fmt, ##__VA_ARGS__); \
^~~~~~~~~~~
1 error generated.
vim +746 drivers/net/ethernet/intel/i40e/i40e_debugfs.c
02e9c290814cc1 Jesse Brandeburg 2013-09-11 727
3118025a070f33 Mitch Williams 2017-04-12 728 /**
3118025a070f33 Mitch Williams 2017-04-12 729 * i40e_dbg_dump_vf - dump VF info
3118025a070f33 Mitch Williams 2017-04-12 730 * @pf: the i40e_pf created in command write
3118025a070f33 Mitch Williams 2017-04-12 731 * @vf_id: the vf_id from the user
3118025a070f33 Mitch Williams 2017-04-12 732 **/
3118025a070f33 Mitch Williams 2017-04-12 733 static void i40e_dbg_dump_vf(struct i40e_pf *pf, int vf_id)
3118025a070f33 Mitch Williams 2017-04-12 734 {
3118025a070f33 Mitch Williams 2017-04-12 735 struct i40e_vf *vf;
3118025a070f33 Mitch Williams 2017-04-12 736 struct i40e_vsi *vsi;
3118025a070f33 Mitch Williams 2017-04-12 737
3118025a070f33 Mitch Williams 2017-04-12 738 if (!pf->num_alloc_vfs) {
3118025a070f33 Mitch Williams 2017-04-12 739 dev_info(&pf->pdev->dev, "no VFs allocated\n");
3118025a070f33 Mitch Williams 2017-04-12 740 } else if ((vf_id >= 0) && (vf_id < pf->num_alloc_vfs)) {
3118025a070f33 Mitch Williams 2017-04-12 741 vf = &pf->vf[vf_id];
3118025a070f33 Mitch Williams 2017-04-12 742 vsi = pf->vsi[vf->lan_vsi_idx];
3118025a070f33 Mitch Williams 2017-04-12 743 dev_info(&pf->pdev->dev, "vf %2d: VSI id=%d, seid=%d, qps=%d\n",
3118025a070f33 Mitch Williams 2017-04-12 744 vf_id, vf->lan_vsi_id, vsi->seid, vf->num_queue_pairs);
5710ab79166504 Jacob Keller 2022-02-16 745 dev_info(&pf->pdev->dev, " num MDD=%lld\n",
5710ab79166504 Jacob Keller 2022-02-16 @746 vf->num_mdd_events);
3118025a070f33 Mitch Williams 2017-04-12 747 } else {
3118025a070f33 Mitch Williams 2017-04-12 748 dev_info(&pf->pdev->dev, "invalid VF id %d\n", vf_id);
3118025a070f33 Mitch Williams 2017-04-12 749 }
3118025a070f33 Mitch Williams 2017-04-12 750 }
3118025a070f33 Mitch Williams 2017-04-12 751
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists