tree:
https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git net-next
head: e58ce5220c61ae66b93dc2284557e7b57d28a00b
commit: a1e0719ff64c063dc869f26a337c57518303cd3f [86/170] net/mlx5e: Increase indirection
RQ table size to 256
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git/commit/?i...
git remote add saeed
https://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux.git
git fetch --no-tags saeed net-next
git checkout a1e0719ff64c063dc869f26a337c57518303cd3f
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c: In function
'mlx5e_hairpin_fill_rqt_rqns':
> drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:540:1: warning:
the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
540 | }
| ^
vim +540 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
77ab67b7f0f998a Or Gerlitz 2017-11-12 522
3f6d08d196b2d05 Or Gerlitz 2017-11-26 523 static void mlx5e_hairpin_fill_rqt_rqns(struct
mlx5e_hairpin *hp, void *rqtc)
3f6d08d196b2d05 Or Gerlitz 2017-11-26 524 {
3f6d08d196b2d05 Or Gerlitz 2017-11-26 525 u32 indirection_rqt[MLX5E_INDIR_RQT_SIZE],
rqn;
3f6d08d196b2d05 Or Gerlitz 2017-11-26 526 struct mlx5e_priv *priv = hp->func_priv;
3f6d08d196b2d05 Or Gerlitz 2017-11-26 527 int i, ix, sz = MLX5E_INDIR_RQT_SIZE;
3f6d08d196b2d05 Or Gerlitz 2017-11-26 528
3f6d08d196b2d05 Or Gerlitz 2017-11-26 529
mlx5e_build_default_indir_rqt(indirection_rqt, sz,
3f6d08d196b2d05 Or Gerlitz 2017-11-26 530 hp->num_channels);
3f6d08d196b2d05 Or Gerlitz 2017-11-26 531
3f6d08d196b2d05 Or Gerlitz 2017-11-26 532 for (i = 0; i < sz; i++) {
3f6d08d196b2d05 Or Gerlitz 2017-11-26 533 ix = i;
bbeb53b8b2c92fd Aya Levin 2018-11-06 534 if (priv->rss_params.hfunc ==
ETH_RSS_HASH_XOR)
3f6d08d196b2d05 Or Gerlitz 2017-11-26 535 ix = mlx5e_bits_invert(i, ilog2(sz));
3f6d08d196b2d05 Or Gerlitz 2017-11-26 536 ix = indirection_rqt[ix];
3f6d08d196b2d05 Or Gerlitz 2017-11-26 537 rqn = hp->pair->rqn[ix];
3f6d08d196b2d05 Or Gerlitz 2017-11-26 538 MLX5_SET(rqtc, rqtc, rq_num[i], rqn);
3f6d08d196b2d05 Or Gerlitz 2017-11-26 539 }
3f6d08d196b2d05 Or Gerlitz 2017-11-26 @540 }
3f6d08d196b2d05 Or Gerlitz 2017-11-26 541
:::::: The code at line 540 was first introduced by commit
:::::: 3f6d08d196b2d05e36c86d7ccbbaa3431a431bed net/mlx5e: Add RSS support for hairpin
:::::: TO: Or Gerlitz <ogerlitz(a)mellanox.com>
:::::: CC: Saeed Mahameed <saeedm(a)mellanox.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org