]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
mlx4_en: Verify number of RX rings doesn't exceed MAX_RX_RINGS
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Tue, 30 Dec 2008 02:38:21 +0000 (18:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Dec 2008 02:38:21 +0000 (18:38 -0800)
commitc2b559ed8683ffb5a7bdd9e71b3803b231623c86
tree348b528a7b8718c05d07285197b056f35650b909
parent68888d105365366c5e1e0424cc939c1fc757f9c4
mlx4_en: Verify number of RX rings doesn't exceed MAX_RX_RINGS

Required in cases were dev->caps.num_comp_vectors > MAX_RX_RINGS.
For current values this would happen on machines that have more
then 16 cores.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_main.c