qla3xxx: Dynamically size the rx buffer queue based on the MTU.
authorRon Mercer <ron.mercer@qlogic.com>
Mon, 26 Feb 2007 19:06:37 +0000 (11:06 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 27 Feb 2007 09:21:44 +0000 (04:21 -0500)
commit1357bfcf71063637d16a7014639d675b5cbf5189
treeceddef8001201bcc1a84af6421f052923d5270c6
parentcb8bac12ec92ec469ecfe0967429bf9032f835c1
qla3xxx: Dynamically size the rx buffer queue based on the MTU.

This change removes use of constants for rx buffer queue size
and instead calculates the queue length based on what he MTU
is set to.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/qla3xxx.c
drivers/net/qla3xxx.h