]> git.baikalelectronics.ru Git - kernel.git/commit
qlge: Allow RX buf rings to be > than 4096 bytes.
authorRon Mercer <ron.mercer@qlogic.com>
Wed, 10 Jun 2009 15:49:34 +0000 (15:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2009 09:37:05 +0000 (02:37 -0700)
commit02e8850cf48ed81aa164f28d5d9b2bd0fe560eb1
tree11e7b481ab9436d5cbaf616101b46aa67cb4bc36
parent0c50501600fb05108307abefe8b73d5c4ebef0e2
qlge: Allow RX buf rings to be > than 4096 bytes.

RX buffer rings can be comprised of non-contiguous fixed
size chunks of memory. The ring is given to the hardware
as a pointer to a location that stores the location of
the queue.  If the queue is greater than 4096 bytes then
the hardware gets a list of said pointers.
This patch addes the necessary logic to generate the list if
the queue size exceeds 4096.

Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge.h
drivers/net/qlge/qlge_main.c