net/mlx4_core: Use min3 to select number of MSI-X vectors
authoryuval.shaia@oracle.com <yuval.shaia@oracle.com>
Fri, 12 May 2017 06:10:51 +0000 (09:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 May 2017 18:20:26 +0000 (14:20 -0400)
commit4762010f09ac0453f613df345c5281e7f2dec510
treea976ac16558a93baa7fc7f9119a876bd6b761108
parent70957eaecc2e43308e403c80293bec3d59632412
net/mlx4_core: Use min3 to select number of MSI-X vectors

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c