myri10ge: fix the number of interrupt slots
authorBrice Goglin <brice@myri.com>
Fri, 9 May 2008 00:20:47 +0000 (02:20 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 May 2008 05:30:31 +0000 (01:30 -0400)
commit014377a1df693ff30a9e8b69f0bbb0a38e601f75
tree6390e803ed6200bba31b892819c1022eb828304b
parentfa0a90d96b08856203435b051dd1c155b58ccd0f
myri10ge: fix the number of interrupt slots

Fix a long-standing bug/misunderstanding between the
driver and the firmware.  The size of the interrupt
queue must be set to the number of rx slots (big + small),
and it should never have been a tunable.
Setting it too small results in chaos.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/myri10ge/myri10ge.c