commit | e4c870b1b496c90dc4fa9cf24937c7a45e84187f | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Oct 15 17:43:17 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 15 23:27:47 2015 -0700 |
tree | 6855413dd37b674ec941634310cc95fa4921a76d | |
parent | ffe053285b77e9cd87c3b8e37f35bdb8de8172d1 [diff] |
mlxsw: pci: Use MLXSW_PCI_CQS_MAX instead of MLXSW_PCI_CQS_COUNT The count of CQs can be different for various ASICs, so just define maximal value and check for that. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>