Skip to content

Commit f9f2ab6

Browse files
kleikampvijay-suman
authored andcommitted
net/mlx4: Increase num_srq in low_mem_profile
kdump fails to save a crash core over nfs/ssh using the mlx4 driver. mlx4_bitmap_init() determines that low_memory_profile.num_srq is too small and fails with -EINVAL. Increase it from 64 to 128. Orabug: 34161492 Fixes: 884c405 ("net/mlx4_core: add sanity check when creating bitmap structure") Signed-off-by: Dave Kleikamp <[email protected]> Reviewed-by: Sharath Srinivasan <[email protected]>
1 parent 968947f commit f9f2ab6

File tree

1 file changed

+4
-0
lines changed
  • drivers/net/ethernet/mellanox/mlx4

1 file changed

+4
-0
lines changed

drivers/net/ethernet/mellanox/mlx4/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,11 @@ static const struct mlx4_profile default_profile = {
148148

149149
static const struct mlx4_profile low_mem_profile = {
150150
.num_qp = 1 << 17,
151+
#ifdef WITHOUT_ORACLE_EXTENSIONS
151152
.num_srq = 1 << 6,
153+
#else
154+
.num_srq = 1 << 7,
155+
#endif /* WITHOUT_ORACLE_EXTENSIONS */
152156
.rdmarc_per_qp = 1 << 4,
153157
.num_cq = 1 << 8,
154158
.num_mcg = 1 << 8,

0 commit comments

Comments
 (0)