1
0
Fork 0
alistair23-linux/drivers/net/ethernet/mellanox
Parav Pandit 7c1ef1959b net/mlx5: SF, do not use ecpu bit for vhca state processing
Device firmware doesn't handle ecpu bit for vhca state processing
events and commands. Instead device firmware refers to the unique
function id to distinguish SF of different PCI functions.

When ecpu bit is used, firmware returns a syndrome.

mlx5_cmd_check:780:(pid 872): MODIFY_VHCA_STATE(0xb0e) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0x263211)
mlx5_sf_dev_table_create:248:(pid 872): SF DEV table create err = -22

Hence, avoid using ecpu bit.

Fixes: 8f01054186 ("net/mlx5: SF, Add port add delete functionality")
Fixes: 90d010b863 ("net/mlx5: SF, Add auxiliary device support")
Signed-off-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Vu Pham <vuhuong@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2021-03-22 13:16:41 -07:00
..
mlx4 net/mlx4_en: update moderation when config reset 2021-03-05 12:42:31 -08:00
mlx5/core net/mlx5: SF, do not use ecpu bit for vhca state processing 2021-03-22 13:16:41 -07:00
mlxfw net/mlxfw: Use kzalloc for allocating only one thing 2021-01-05 16:01:02 -08:00
mlxsw mlxsw: spectrum_router: Ignore routes using a deleted nexthop object 2021-02-26 15:47:53 -08:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00