View Single Post
Old 06-19-09, 04:42 AM   #12
paix
Registered User
 
Join Date: Jun 2009
Posts: 7
Default Re: Ethernet not working! (forcedeth)

Quote:
Originally Posted by Sasha_A View Post
Code:
options forcedeth optimization_mode=2
Hi,

what means optimization_mode=2 ?

I've looked to the sources (2.6.18, 2.6.24, 2.6.29) and found next:

Code:
/*
 * Optimization can be either throuput mode or cpu mode
 *
 * Throughput Mode: Every tx and rx packet will generate an interrupt.
 * CPU Mode: Interrupts are controlled by a timer.
 */
static int optimization_mode = NV_OPTIMIZATION_MODE_THROUGHPUT;

module_param(optimization_mode, int, 0);
MODULE_PARM_DESC(optimization_mode, "In throughput mode (0), every tx & rx packet will generate an interrupt. In CPU mode (1), interrupts are controlled by a timer.");
i.e by default optimization_mode is "0" (throughput mode), and possible change to "1" (CPU mode)
paix is offline   Reply With Quote