tree:
https://github.com/dsahern/linux nvme-tcp-offload-v2
head: 04a43a05cc597ec306915c93b223b2cb4682dd08
commit: 8eb351bb71fb9079ec5844a58411f18aa703be13 [20/21] net/mlx5e: NVMEoTCP statistics
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://github.com/dsahern/linux/commit/8eb351bb71fb9079ec5844a58411f18aa...
git remote add dsahern-linux
https://github.com/dsahern/linux
git fetch --no-tags dsahern-linux nvme-tcp-offload-v2
git checkout 8eb351bb71fb9079ec5844a58411f18aa703be13
# 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/ipoib/ipoib.c: In function
'mlx5i_grp_sw_update_stats':
> drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c:143:1:
warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
143 | }
| ^
vim +143 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
48935bbb7ae8bd41 drivers/net/ethernet/mellanox/mlx5/core/ipoib.c Saeed Mahameed
2017-04-13 117
fbb66ad5dcbebc1b drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Wei Yongjun
2018-09-05 118 static void mlx5i_grp_sw_update_stats(struct mlx5e_priv *priv)
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 119 {
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 120 struct mlx5e_sw_stats s = { 0 };
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 121 int i, j;
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 122
694826e366349d5b drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Tariq Toukan
2019-07-14 123 for (i = 0; i < priv->max_nch; i++) {
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 124 struct mlx5e_channel_stats *channel_stats;
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 125 struct mlx5e_rq_stats *rq_stats;
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 126
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 127 channel_stats = &priv->channel_stats[i];
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 128 rq_stats = &channel_stats->rq;
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 129
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 130 s.rx_packets += rq_stats->packets;
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 131 s.rx_bytes += rq_stats->bytes;
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 132
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 133 for (j = 0; j < priv->max_opened_tc; j++) {
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 134 struct mlx5e_sq_stats *sq_stats = &channel_stats->sq[j];
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 135
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 136 s.tx_packets += sq_stats->packets;
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 137 s.tx_bytes += sq_stats->bytes;
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 138 s.tx_queue_dropped += sq_stats->dropped;
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 139 }
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 140 }
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 141
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 142 memcpy(&priv->stats.sw, &s, sizeof(s));
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 @143 }
c57d2358ff0dfa09 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c Feras Daoud
2018-09-02 144
:::::: The code at line 143 was first introduced by commit
:::::: c57d2358ff0dfa09a05dea10d0ea1dd0895029b4 net/mlx5e: IPoIB, Add ndo stats support
for IPoIB netdevices
:::::: TO: Feras Daoud <ferasda(a)mellanox.com>
:::::: CC: David S. Miller <davem(a)davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org