[Comm] Speed and Duplex

Nick N. Vinogradov =?iso-8859-1?q?vinogradov_=CE=C1_dwellis=2Eru?=
Ср Апр 9 14:56:07 MSD 2003


>>>>>Подскажите, пожалуйста, как можно "насильно" установить скорость 
>>>>>линии (10/100) и режим дуплекса (half/full) для сетевой карты? Для

>>
>>IMHO, это должно устанавливаться через параметры загрузки кернел
>>модуля - драйвера соответствующей сетевушки. По идее, нужно смотреть
>>доки ядра или исходник этого модуля ядра.
> 
> 
> Или modinfo <driver_name>. Покажет параметры, понимаемые модулем.
> 
nfs:~ # modinfo e100
filename:    /lib/modules/2.4.19-64GB-SMP/kernel/drivers/net/e100/e100.o
description: "Intel(R) PRO/100 Network Driver"
author:      "Intel Corporation, <linux.nics на intel.com>"
license:     "GPL"
parm:        TxDescriptors int array (min = 1, max = 16), description 
"Number of transmit descriptors"
parm:        RxDescriptors int array (min = 1, max = 16), description 
"Number of receive descriptors"
parm:        XsumRX int array (min = 1, max = 16), description "Disable 
or enable Receive Checksum offload"
parm:        e100_speed_duplex int array (min = 1, max = 16), 
description "Speed and Duplex settings"
parm:        ucode int array (min = 1, max = 16), description "Disable 
or enable microcode loading"
parm:        ber int array (min = 1, max = 16), description "Value for 
the BER correction algorithm"
parm:        flow_control int array (min = 1, max = 16), description 
"Disable or enable Ethernet PAUSE frames processing"
parm:        IntDelay int array (min = 1, max = 16), description "Value 
for CPU saver's interrupt delay"
parm:        BundleSmallFr int array (min = 1, max = 16), description 
"Disable or enable interrupt bundling of small frames"
parm:        BundleMax int array (min = 1, max = 16), description 
"Maximum number for CPU saver's packet bundling"
parm:        IFS int array (min = 1, max = 16), description "Disable or 
enable the adaptive IFS algorithm"
parm:        RxCongestionControl int array (min = 1, max = 16), 
description "Disable or enable switch to polling mode"
parm:        PollingMaxWork int array (min = 1, max = 16), description 
"Max number of receive packets processed on single polling call"

Ага, параметр вижу (e100_speed_duplex). Остался вопрос, как его передать 
модулю при загрузке.

WBR, Hash :-)







Подробная информация о списке рассылки community