mlxsw: pci: Check number of CQEs for CQE version 2
authorJiri Pirko <jiri@mellanox.com>
Thu, 3 May 2018 11:59:42 +0000 (14:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2018 17:44:43 +0000 (13:44 -0400)
commit41107685b9ce3c204be4ba784c3dd6baf9e4bcf4
tree8b119216a020a7cfe627aa2b1e0f5674b9a62f7a
parent8404f6f2e8ed2bd667c0c95ee40561b63e0800f9
mlxsw: pci: Check number of CQEs for CQE version 2

Check number of CQEs for CQE version 2 reported by QUERY_AQ_CAP command.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/cmd.h
drivers/net/ethernet/mellanox/mlxsw/pci.c