]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4_core: bump default scaled value of num of cqs and srqs
authorMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 29 Mar 2016 02:12:50 +0000 (19:12 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 14 Apr 2016 15:56:34 +0000 (08:56 -0700)
commit072d745d9468d8af0154fa8a53d03bc268977361
tree70ca1db5343e5415a9cc0e5aee0118066259e575
parenta60d347e2a984e92ab1f7026d4d49eae070a8b04
mlx4_core: bump default scaled value of num of cqs and srqs

Bump up the number of cqs and srqs when scale_profile parameter
is set or log_num_cq/log_num_srq are zero implying a scaled
default profile.

This allows higher scalability needed for cloud based platforms
running higher number of processes per hca.

If the individual parameters log_num_srq and/or log_num_cq are
set, they take precedence and scale_profile is ignored.

(Fixes for style problems with quoted strings split across
lines and and block comment format are also piggybacked
in this commit!)

Orabug: 23078966

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Reviewed-by: Wengang Wang <wen.gang.wang@oracle.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/net/ethernet/mellanox/mlx4/main.c