[Intel-wired-lan] [PATCH v3] Documentation: e1000e: Update kernel documentation

Shannon Nelson shannon.nelson at oracle.com
Wed Aug 22 16:47:35 UTC 2018


On 8/22/2018 9:28 AM, Jeff Kirsher wrote:
> On Wed, 2018-08-22 at 09:04 -0700, Shannon Nelson wrote:
>> On 8/21/2018 2:39 PM, Jeff Kirsher wrote:
>>> Updated the e1000e kernel documentation with the latest
>>> information.
>>> Also remove the command line parameters, which do not exist with
>>> the
>>> in-kernel driver.  Converted the documentation to the RST format.
>>>
>>> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher at intel.com>
>>> ---
>>> v1/v2: initial documentation update
>>>
>>> v3: convert to RST format, remove module parameters that do not
>>> exist
>>>        and add SPDX header
>>
>> It looks like you removed *all* the module parameters - did you
>> really
>> want to do that?
> 
> Yes, after reviewing the in-kernel driver, the only module parameter is
> "debug".  I know our current and past documentation does not show
> "debug" as a module parameter, so I working with our documentation team
> to come up with useful text/documentation for the debug module
> parameter for this document and all our other driver documentation.
> 

Huh... the code I see in my recent copy of net-next has the file
    drivers/net/ethernet/intel/e1000e/param.c
with several parameters in it, and using modinfo shows several parm entries:

# modinfo e1000e
filename: 
/lib/modules/4.18.0-rc8-ipsec-vlan+/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
version:        3.2.6-k
license:        GPL
description:    Intel(R) PRO/1000 Network Driver
author:         Intel Corporation, <linux.nics at intel.com>
srcversion:     E5F1BBB6319ACF9CF582C86
alias:          pci:v00008086d000015E2sv*sd*bc*sc*i*
   [...]
intree:         Y
name:           e1000e
vermagic:       4.18.0-rc8-ipsec-vlan+ SMP mod_unload modversions
parm:           debug:Debug level (0=none,...,16=all) (int)
parm:           copybreak:Maximum size of packet that is copied to a new 
buffer on receive (uint)
parm:           TxIntDelay:Transmit Interrupt Delay (array of int)
parm:           TxAbsIntDelay:Transmit Absolute Interrupt Delay (array 
of int)
parm:           RxIntDelay:Receive Interrupt Delay (array of int)
parm:           RxAbsIntDelay:Receive Absolute Interrupt Delay (array of 
int)
parm:           InterruptThrottleRate:Interrupt Throttling Rate (array 
of int)
parm:           IntMode:Interrupt Mode (array of int)
parm:           SmartPowerDownEnable:Enable PHY smart power down (array 
of int)
parm:           KumeranLockLoss:Enable Kumeran lock loss workaround 
(array of int)
parm:           WriteProtectNVM:Write-protect NVM [WARNING: disabling 
this can lead to corrupted NVM] (array of int)
parm:           CrcStripping:Enable CRC Stripping, disable if your BMC 
needs the CRC (array of int)

sln


More information about the Intel-wired-lan mailing list