tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
pending-5.10
head: d3d724c776af8a996b98197aa98b8bb86b014ca9
commit: c7cfa7813151e901faa65fe0d77ce0f0c7f76e5d [34/75] net/mlx5e: Split between RX/TX
tunnel FW support indication
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable pending-5.10
git checkout c7cfa7813151e901faa65fe0d77ce0f0c7f76e5d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/byteorder/big_endian.h:5,
from arch/arc/include/uapi/asm/byteorder.h:14,
from include/asm-generic/bitops/le.h:6,
from arch/arc/include/asm/bitops.h:373,
from include/linux/bitops.h:29,
from include/linux/kernel.h:12,
from include/asm-generic/bug.h:20,
from arch/arc/include/asm/bug.h:30,
from include/linux/bug.h:5,
from include/linux/refcount.h:96,
from include/net/act_api.h:9,
from include/net/tc_act/tc_gact.h:5,
from drivers/net/ethernet/mellanox/mlx5/core/en_main.c:33:
drivers/net/ethernet/mellanox/mlx5/core/en_main.c: In function
'mlx5e_tunnel_proto_supported_tx':
> drivers/net/ethernet/mellanox/mlx5/core/en_main.c:4287:23: error:
'struct mlx5_ifc_per_protocol_networking_offload_caps_bits' has no member named
'tunnel_stateless_ip_over_ip_tx'; did you mean
'tunnel_stateless_ip_over_ip'?
4287 | MLX5_CAP_ETH(mdev,
tunnel_stateless_ip_over_ip_tx));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/uapi/linux/byteorder/big_endian.h:40:51: note: in definition of macro
'__be32_to_cpu'
40 | #define __be32_to_cpu(x) ((__force __u32)(__be32)(x))
| ^
include/linux/stddef.h:17:32: note: in expansion of macro
'__compiler_offsetof'
17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
| ^~~~~~~~~~~~~~~~~~~
include/linux/mlx5/device.h:51:35: note: in expansion of macro 'offsetof'
51 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld))
| ^~~~~~~~
include/linux/mlx5/device.h:53:34: note: in expansion of macro
'__mlx5_bit_off'
53 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32)
| ^~~~~~~~~~~~~~
include/linux/mlx5/device.h:96:1: note: in expansion of macro '__mlx5_dw_off'
96 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \
| ^~~~~~~~~~~~~
include/linux/mlx5/device.h:1199:2: note: in expansion of macro 'MLX5_GET'
1199 | MLX5_GET(per_protocol_networking_offload_caps,\
| ^~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_main.c:4287:4: note: in expansion of macro
'MLX5_CAP_ETH'
4287 | MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_tx));
| ^~~~~~~~~~~~
In file included from include/linux/mlx5/driver.h:52,
from include/linux/mlx5/fs.h:36,
from drivers/net/ethernet/mellanox/mlx5/core/en_main.c:35:
> drivers/net/ethernet/mellanox/mlx5/core/en_main.c:4287:23: error:
'struct mlx5_ifc_per_protocol_networking_offload_caps_bits' has no member named
'tunnel_stateless_ip_over_ip_tx'; did you mean
'tunnel_stateless_ip_over_ip'?
4287 | MLX5_CAP_ETH(mdev,
tunnel_stateless_ip_over_ip_tx));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mlx5/device.h:50:59: note: in definition of macro
'__mlx5_bit_sz'
50 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld)
| ^~~
include/linux/mlx5/device.h:96:30: note: in expansion of macro
'__mlx5_dw_bit_off'
96 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \
| ^~~~~~~~~~~~~~~~~
include/linux/mlx5/device.h:1199:2: note: in expansion of macro 'MLX5_GET'
1199 | MLX5_GET(per_protocol_networking_offload_caps,\
| ^~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_main.c:4287:4: note: in expansion of macro
'MLX5_CAP_ETH'
4287 | MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_tx));
| ^~~~~~~~~~~~
In file included from <command-line>:
> drivers/net/ethernet/mellanox/mlx5/core/en_main.c:4287:23: error:
'struct mlx5_ifc_per_protocol_networking_offload_caps_bits' has no member named
'tunnel_stateless_ip_over_ip_tx'; did you mean
'tunnel_stateless_ip_over_ip'?
4287 | MLX5_CAP_ETH(mdev,
tunnel_stateless_ip_over_ip_tx));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:135:57: note: in definition of macro
'__compiler_offsetof'
135 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
| ^
include/linux/mlx5/device.h:51:35: note: in expansion of macro 'offsetof'
51 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld))
| ^~~~~~~~
include/linux/mlx5/device.h:56:70: note: in expansion of macro
'__mlx5_bit_off'
56 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) -
(__mlx5_bit_off(typ, fld) & 0x1f))
|
^~~~~~~~~~~~~~
include/linux/mlx5/device.h:96:30: note: in expansion of macro
'__mlx5_dw_bit_off'
96 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \
| ^~~~~~~~~~~~~~~~~
include/linux/mlx5/device.h:1199:2: note: in expansion of macro 'MLX5_GET'
1199 | MLX5_GET(per_protocol_networking_offload_caps,\
| ^~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_main.c:4287:4: note: in expansion of macro
'MLX5_CAP_ETH'
4287 | MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_tx));
| ^~~~~~~~~~~~
In file included from include/linux/mlx5/driver.h:52,
from include/linux/mlx5/fs.h:36,
from drivers/net/ethernet/mellanox/mlx5/core/en_main.c:35:
> drivers/net/ethernet/mellanox/mlx5/core/en_main.c:4287:23: error:
'struct mlx5_ifc_per_protocol_networking_offload_caps_bits' has no member named
'tunnel_stateless_ip_over_ip_tx'; did you mean
'tunnel_stateless_ip_over_ip'?
4287 | MLX5_CAP_ETH(mdev,
tunnel_stateless_ip_over_ip_tx));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mlx5/device.h:50:59: note: in definition of macro
'__mlx5_bit_sz'
50 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld)
| ^~~
include/linux/mlx5/device.h:97:1: note: in expansion of macro '__mlx5_mask'
97 | __mlx5_mask(typ, fld))
| ^~~~~~~~~~~
include/linux/mlx5/device.h:1199:2: note: in expansion of macro 'MLX5_GET'
1199 | MLX5_GET(per_protocol_networking_offload_caps,\
| ^~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_main.c:4287:4: note: in expansion of macro
'MLX5_CAP_ETH'
4287 | MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_tx));
| ^~~~~~~~~~~~
--
In file included from include/linux/byteorder/big_endian.h:5,
from arch/arc/include/uapi/asm/byteorder.h:14,
from include/asm-generic/bitops/le.h:6,
from arch/arc/include/asm/bitops.h:373,
from include/linux/bitops.h:29,
from include/linux/kernel.h:12,
from include/linux/list.h:9,
from drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:33:
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c: In function
'mlx5e_tunnel_proto_supported_rx':
> drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:789:23: error:
'struct mlx5_ifc_per_protocol_networking_offload_caps_bits' has no member named
'tunnel_stateless_ip_over_ip_rx'; did you mean
'tunnel_stateless_ip_over_ip'?
789 | MLX5_CAP_ETH(mdev,
tunnel_stateless_ip_over_ip_rx));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/uapi/linux/byteorder/big_endian.h:40:51: note: in definition of macro
'__be32_to_cpu'
40 | #define __be32_to_cpu(x) ((__force __u32)(__be32)(x))
| ^
include/linux/stddef.h:17:32: note: in expansion of macro
'__compiler_offsetof'
17 | #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
| ^~~~~~~~~~~~~~~~~~~
include/linux/mlx5/device.h:51:35: note: in expansion of macro 'offsetof'
51 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld))
| ^~~~~~~~
include/linux/mlx5/device.h:53:34: note: in expansion of macro
'__mlx5_bit_off'
53 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32)
| ^~~~~~~~~~~~~~
include/linux/mlx5/device.h:96:1: note: in expansion of macro '__mlx5_dw_off'
96 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \
| ^~~~~~~~~~~~~
include/linux/mlx5/device.h:1199:2: note: in expansion of macro 'MLX5_GET'
1199 | MLX5_GET(per_protocol_networking_offload_caps,\
| ^~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:789:4: note: in expansion of macro
'MLX5_CAP_ETH'
789 | MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_rx));
| ^~~~~~~~~~~~
In file included from include/linux/mlx5/driver.h:52,
from include/linux/mlx5/fs.h:36,
from drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:37:
> drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:789:23: error:
'struct mlx5_ifc_per_protocol_networking_offload_caps_bits' has no member named
'tunnel_stateless_ip_over_ip_rx'; did you mean
'tunnel_stateless_ip_over_ip'?
789 | MLX5_CAP_ETH(mdev,
tunnel_stateless_ip_over_ip_rx));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mlx5/device.h:50:59: note: in definition of macro
'__mlx5_bit_sz'
50 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld)
| ^~~
include/linux/mlx5/device.h:96:30: note: in expansion of macro
'__mlx5_dw_bit_off'
96 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \
| ^~~~~~~~~~~~~~~~~
include/linux/mlx5/device.h:1199:2: note: in expansion of macro 'MLX5_GET'
1199 | MLX5_GET(per_protocol_networking_offload_caps,\
| ^~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:789:4: note: in expansion of macro
'MLX5_CAP_ETH'
789 | MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_rx));
| ^~~~~~~~~~~~
In file included from <command-line>:
> drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:789:23: error:
'struct mlx5_ifc_per_protocol_networking_offload_caps_bits' has no member named
'tunnel_stateless_ip_over_ip_rx'; did you mean
'tunnel_stateless_ip_over_ip'?
789 | MLX5_CAP_ETH(mdev,
tunnel_stateless_ip_over_ip_rx));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:135:57: note: in definition of macro
'__compiler_offsetof'
135 | #define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
| ^
include/linux/mlx5/device.h:51:35: note: in expansion of macro 'offsetof'
51 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld))
| ^~~~~~~~
include/linux/mlx5/device.h:56:70: note: in expansion of macro
'__mlx5_bit_off'
56 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) -
(__mlx5_bit_off(typ, fld) & 0x1f))
|
^~~~~~~~~~~~~~
include/linux/mlx5/device.h:96:30: note: in expansion of macro
'__mlx5_dw_bit_off'
96 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \
| ^~~~~~~~~~~~~~~~~
include/linux/mlx5/device.h:1199:2: note: in expansion of macro 'MLX5_GET'
1199 | MLX5_GET(per_protocol_networking_offload_caps,\
| ^~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:789:4: note: in expansion of macro
'MLX5_CAP_ETH'
789 | MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_rx));
| ^~~~~~~~~~~~
In file included from include/linux/mlx5/driver.h:52,
from include/linux/mlx5/fs.h:36,
from drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:37:
> drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:789:23: error:
'struct mlx5_ifc_per_protocol_networking_offload_caps_bits' has no member named
'tunnel_stateless_ip_over_ip_rx'; did you mean
'tunnel_stateless_ip_over_ip'?
789 | MLX5_CAP_ETH(mdev,
tunnel_stateless_ip_over_ip_rx));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mlx5/device.h:50:59: note: in definition of macro
'__mlx5_bit_sz'
50 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld)
| ^~~
include/linux/mlx5/device.h:97:1: note: in expansion of macro '__mlx5_mask'
97 | __mlx5_mask(typ, fld))
| ^~~~~~~~~~~
include/linux/mlx5/device.h:1199:2: note: in expansion of macro 'MLX5_GET'
1199 | MLX5_GET(per_protocol_networking_offload_caps,\
| ^~~~~~~~
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c:789:4: note: in expansion of macro
'MLX5_CAP_ETH'
789 | MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_rx));
| ^~~~~~~~~~~~
vim +4287 drivers/net/ethernet/mellanox/mlx5/core/en_main.c
4278
4279 static bool mlx5e_tunnel_proto_supported_tx(struct mlx5_core_dev *mdev, u8
proto_type)
4280 {
4281 switch (proto_type) {
4282 case IPPROTO_GRE:
4283 return MLX5_CAP_ETH(mdev, tunnel_stateless_gre);
4284 case IPPROTO_IPIP:
4285 case IPPROTO_IPV6:
4286 return (MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip) ||
4287 MLX5_CAP_ETH(mdev, tunnel_stateless_ip_over_ip_tx));
4288 default:
4289 return false;
4290 }
4291 }
4292
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org