aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ni65.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2006-03-20 17:49:20 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 17:49:20 -0800
commit13daffa2f2ba65674e7816a0e95e7b93246cb686 (patch)
tree3170a19dfba530398d4f12e54a21400254fa98b1 /drivers/net/ni65.h
parent[BNX2]: Fix bug when rx ring is full (diff)
downloadlinux-dev-13daffa2f2ba65674e7816a0e95e7b93246cb686.tar.xz
linux-dev-13daffa2f2ba65674e7816a0e95e7b93246cb686.zip
[BNX2]: Support larger rx ring sizes (part 1)
Increase maximum receive ring size from 255 to 1020 by supporting up to 4 linked pages of receive descriptors. To accomodate the higher memory usage, each physical descriptor page is allocated separately and the software ring that keeps track of the SKBs and the DMA addresses is allocated using vmalloc. Some of the receive-related fields in the bp structure are re- organized a bit for better locality of reference. The max. was reduced to 1020 from 4080 after discussion with David Miller. This patch contains ring init code changes only. This next patch contains rx data path code changes. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ni65.h')
0 files changed, 0 insertions, 0 deletions