linux/drivers/net/ethernet/mellanox/mlx4
Aya Levin 6d9c8d15af net/mlx4_core: Fix init_hca fields offset
Slave function read the following capabilities from the wrong offset:
1. log_mc_entry_sz
2. fs_log_entry_sz
3. log_mc_hash_sz

Fix that by adjusting these capabilities offset to match firmware
layout.

Due to the wrong offset read, the following issues might occur:
1+2. Negative value reported at max_mcast_qp_attach.
3. Driver to init FW with multicast hash size of zero.

Fixes: a40ded6043 ("net/mlx4_core: Add masking for a few queries on HCA caps")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Eran Ben Elisha <eranbe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20201118081922.553-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-18 17:46:20 -08:00
..
alloc.c
catas.c
cmd.c
cq.c net: mlx: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
crdump.c
en_clock.c
en_cq.c
en_dcb_nl.c
en_ethtool.c mlx4: add pause frame stats 2020-09-15 13:26:29 -07:00
en_main.c
en_netdev.c bpf, xdp: Remove XDP_QUERY_PROG and XDP_QUERY_PROG_HW XDP commands 2020-07-25 20:37:02 -07:00
en_port.c
en_port.h
en_resources.c
en_rx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-15 12:43:21 -07:00
en_selftest.c
en_tx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-15 12:43:21 -07:00
eq.c net: mlx: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
fw.c net/mlx4_core: Fix init_hca fields offset 2020-11-18 17:46:20 -08:00
fw.h net/mlx4_core: Fix init_hca fields offset 2020-11-18 17:46:20 -08:00
fw_qos.c
fw_qos.h
icm.c
icm.h
intf.c
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
main.c devlink: Add devlink reload limit option 2020-10-09 12:06:52 -07:00
Makefile
mcg.c net/mlx4: Use fallthrough pseudo-keyword 2020-07-27 13:14:10 -07:00
mlx4.h net: mlx: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:37 -07:00
mlx4_en.h mlx4: convert to new udp_tunnel_nic infra 2020-07-10 13:54:00 -07:00
mlx4_stats.h mlx4: add pause frame stats 2020-09-15 13:26:29 -07:00
mr.c net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init() 2020-09-01 13:13:15 -07:00
pd.c
port.c
profile.c
qp.c
reset.c
resource_tracker.c
sense.c
srq.c