diff options
author | Mohamed Abbas <mabbas@linux.intel.com> | 2008-02-07 13:16:33 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-15 13:44:18 -0500 |
commit | d68ab68066805fdfee1f5f29ec2ec0179fd92fe1 (patch) | |
tree | 6f457e23a5b44d759050e0039a68c9f8ce66ff18 /drivers/net/au1000_eth.c | |
parent | c342a1b91f6ccd317c68defd3b4c7bb75397d967 (diff) |
iwlwifi: earlier rx allocation
Value of count is used to decide when to replenish rx buffers. If it is
equal or above 8 we replenish the buffers. Ensure there is no starvation
by initializing count to 8 - thus forcing replenish at first iteration.
This is helpful when rx receives batches of buffers smaller than 8.
Signed-off-by: Mohamed Abbas <mabbas@linux.intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/au1000_eth.c')
0 files changed, 0 insertions, 0 deletions