summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorAya Levin <ayal@nvidia.com>2020-11-18 10:19:22 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-18 17:46:20 -0800
commit6d9c8d15af0ef20a66a0b432cac0d08319920602 (patch)
treebfb80ce2ddafe292ca580c3cf5d1d3e49f316134 /drivers/virtio
parentf93e8497a9bc6d4b7a0efcb9f54e36f806544a38 (diff)
downloadlinux-stable-6d9c8d15af0ef20a66a0b432cac0d08319920602.tar.gz
linux-stable-6d9c8d15af0ef20a66a0b432cac0d08319920602.tar.bz2
linux-stable-6d9c8d15af0ef20a66a0b432cac0d08319920602.zip
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: a40ded604365 ("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>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions