Re: [PATCH] net/mlx5: poll mlx5 eq during irq migration
From: kernel test robot <hidden>
Date: 2026-03-05 09:29:49
Also in:
linux-rdma, lkml, oe-kbuild-all
Hi Praveen, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] [also build test WARNING on net/main linus/master v7.0-rc2 next-20260304] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Praveen-Kumar-Kannoju/net-mlx5-poll-mlx5-eq-during-irq-migration/20260305-003505 base: net-next/main patch link: https://lore.kernel.org/r/20260304161704.910564-1-praveen.kannoju%40oracle.com patch subject: [PATCH] net/mlx5: poll mlx5 eq during irq migration config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260305/202603051743.ceus9qzu-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260305/202603051743.ceus9qzu-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/202603051743.ceus9qzu-lkp@intel.com/ (local) All warnings (new ones prefixed by >>):
quoted
drivers/net/ethernet/mellanox/mlx5/core/eq.c:958:6: warning: no previous prototype for 'mlx5_eq_reap_irq_notify' [-Wmissing-prototypes]
958 | void mlx5_eq_reap_irq_notify(struct irq_affinity_notify *notify, const cpumask_t *mask)
| ^~~~~~~~~~~~~~~~~~~~~~~quoted
drivers/net/ethernet/mellanox/mlx5/core/eq.c:978:6: warning: no previous prototype for 'mlx5_eq_reap_irq_release' [-Wmissing-prototypes]
978 | void mlx5_eq_reap_irq_release(struct kref *ref) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/mlx5_eq_reap_irq_notify +958 drivers/net/ethernet/mellanox/mlx5/core/eq.c
957
> 958 void mlx5_eq_reap_irq_notify(struct irq_affinity_notify *notify, const cpumask_t *mask)
959 {
960 u32 eqe_count;
961 struct mlx5_eq_comp *eq = container_of(notify, struct mlx5_eq_comp, notify);
962
963 if (mlx5_reap_eq_irq_aff_change) {
964 mlx5_core_warn(eq->core.dev, "irqn = 0x%x migration notified, EQ 0x%x: Cons = 0x%x\n",
965 eq->core.irqn, eq->core.eqn, eq->core.cons_index);
966
967 while (!rtnl_trylock())
968 msleep(20);
969
970 eqe_count = mlx5_eq_poll_irq_disabled(eq);
971 if (eqe_count)
972 mlx5_core_warn(eq->core.dev, "Recovered %d eqes on EQ 0x%x\n",
973 eqe_count, eq->core.eqn);
974 rtnl_unlock();
975 }
976 }
977
> 978 void mlx5_eq_reap_irq_release(struct kref *ref) {}
979
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki