diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-11-28 14:50:16 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:04:19 -0800 |
commit | 5f06eba4dce361bfc077868d044768476b41d698 (patch) | |
tree | fd3522e31b06bae67609b9088231b82200834316 /drivers/net/pasemi_mac.h | |
parent | f03b865491c2f30f2a4d77cdafc69c978ceb38a0 (diff) | |
download | op-kernel-dev-5f06eba4dce361bfc077868d044768476b41d698.zip op-kernel-dev-5f06eba4dce361bfc077868d044768476b41d698.tar.gz |
sky2: rx allocation threshold change
When using larger MTU's sky2 driver changes from allocating one
data area, to using multiple pages. The threshold for this was based on
a heuristic where the cost of a single allocation is bigger than one
page. Since the allocator has changed, this heuristic is now incorrect;
instead just make the threshold be when the total size of the allocation
is greater than one page.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pasemi_mac.h')
0 files changed, 0 insertions, 0 deletions