mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-22 17:41:55 +00:00
[tg3] Fix excessive DMA alignment.
Change the DMA alignment from 4096 bytes to 16 bytes, to conserve available DMA memory. The hardware doesn't have any specific alignment requirements. Signed-off-by: Thomas Miletich <thomas.miletich@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
183a70e8b7
commit
ced1493c02
@ -3277,8 +3277,7 @@ struct tg3 {
|
||||
#define TG3_TX_RING_SIZE 512
|
||||
#define TG3_DEF_TX_RING_PENDING (TG3_TX_RING_SIZE - 1)
|
||||
|
||||
/* FIXME: look up alignment requirement in datasheet, page align for now */
|
||||
#define TG3_DMA_ALIGNMENT 4096
|
||||
#define TG3_DMA_ALIGNMENT 16
|
||||
|
||||
#define TG3_RX_STD_DMA_SZ (1536 + 64 + 2)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user