netdev
[Top] [All Lists]

[PATCH 2.6.9-rc2 6/8] S2io: new txd allocation

To: "'Jeff Garzik'" <jgarzik@xxxxxxxxx>, "'Francois Romieu'" <romieu@xxxxxxxxxxxxx>
Subject: [PATCH 2.6.9-rc2 6/8] S2io: new txd allocation
From: "Ravinandan Arakali" <ravinandan.arakali@xxxxxxxx>
Date: Wed, 13 Oct 2004 18:15:42 -0700
Cc: <netdev@xxxxxxxxxxx>, <leonid.grossman@xxxxxxxx>, <raghavendra.koushik@xxxxxxxx>, <rapuru.sriram@xxxxxxxx>
Importance: Normal
In-reply-to:
Reply-to: <ravinandan.arakali@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Hi,
The attached patch contains a modified scheme for allocating Tx descriptor
blocks.
More description follows.

In the old scheme, the entire Tx descriptor space was allocated in one go.
This could cause driver load to fail on systems with low(or scattered)
memory. The Tx descriptor blocks are now allocated on per-page basis. A new
structure (list_info) has been introduced in nic_t structure to keep track
of the physical and virtual addresses of every TxD allocated this way.

Signed-off-by: Raghavendra Koushik <raghavendra.koushik@xxxxxxxx>

Attachment: s2io_newtxalloc.patch6
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>