From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [saeed:net-next 86/170] drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:540:1: warning: the frame size of 1032 bytes is larger than 1024 bytes
Date: Fri, 18 Dec 2020 02:07:11 +0800 [thread overview]
Message-ID: <202012180200.CBs3axyq-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3066 bytes --]
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/?id=a1e0719ff64c063dc869f26a337c57518303cd3f
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@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@mellanox.com>
:::::: CC: Saeed Mahameed <saeedm@mellanox.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 75940 bytes --]
reply other threads:[~2020-12-17 18:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202012180200.CBs3axyq-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.