One way of getting the information you want is to modify ../src/igb_ethtool.c to add the following lines to return the Interrupt Throttle Rates via the ethtool -S --statistics option (or create your own option just to return the relevant value). Add the following to the end of the statistics structure (igb_gstrings_stats[]), compile and reinstall the igb driver.
I only have an e1000e driver installed at present so cannot test this change for an igb driver but it worked for my e1000e driver. Here is the relevant output from ethtool -S eth0
Hope this helps you.
Hi Everyone!
How can we make a socket() system call from a linux module executing in kernel space?
If any one knows, kindly tell me. It will be great.
I want to use the socket interface in linux kernel space for sending raw packets over the network.
Hamayun (0 Replies)
Hi All,
Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff.
Cheers,
Brendan (4 Replies)
Hi all,
I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/.
I need to know if I can... (0 Replies)
Hi,
if I install a module with specific parameter, will this parameters applied next time system boots?
for exampe, I want to disable InterruptThrottleRate
modprobe e1000e InterruptThrottleRate=0
Is this parameter apllied only for this run, or this module will always use this parameter when... (2 Replies)
how to display pid and other parameters of current process in linux platform ?
i know it can be done through a linux commmand ps -F
but i want it done through kernel program
thanks in advance (1 Reply)
cannot generate .ko file on my linux, although it can generate module.symvers.
But when I copy .c file and Makefile to another linux computer, there's no problem.
The strange thing is: make is successfuly executed, and returned 0;
make output:
make -C /lib/modules/2.6.18-92.el5xen/build ... (4 Replies)
Hi,
I need to set qlogic qla2xxx parameters in /etc/modprobe.conf
(Oracle Linux Server release 5.7, almost equal to RedHat 5.7)
two questions:
how can I pass this parameters to the module while it is loaded (fibre channel luns are in use), if possible at all
and how can I check the... (3 Replies)
please tell me the list of kernel parameters in RHEL 5.7
Because we've a requirement in one project.
Also tell me the importance of eah kernel parameter if possible.
==Thanks in Advance==:):D (1 Reply)
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
LEARN ABOUT REDHAT
modinfo
MODINFO(8) Linux Module Support MODINFO(8)NAME
modinfo - display information about a kernel module
SYNOPSIS
modinfo [ options ] <module_file>
DESCRIPTION
The modinfo utility examines the object file module_file associated with a kernel module and displays any information that it can glean.
OPTIONS
-a, --author
Display the module's author.
-d, --description
Display the module's description.
-fformat_string, --format format_string
Let the user specify an arbitrary format string which can extract values from the ELF section in module_file which contains the mod-
ule information. Replacements consist of a percent sign followed by a tag name in curly braces. A tagname of %{filename} is always
supported, even if the module has no modinfo section. %{kernel_version} shows the version of the kernel the module was compiled
for. %{using_checksums} expands to 1 is the module has versioned symbols and to 0 or <none> otherwise.
A tagname of %{parm} is special: the format string line is repeated for each known module parameter (which may be zero times) and
%{parm} is then replaced by descriptions of module parameters (one parameter on each repeated line).
Alternatively, %a, %d, %l, %n and %p can be used instead of %{author}, %{description}, %{filename}, %{license} and %{parm}, respec-
tively.
-h, --help
Display a summary of options and immediately exit.
-l, --license
Display the module's license.
-n, --filename
Display the module's filename.
-p, --parameters
Display the typed parameters that a module may support.
-V, --version
Display the version of modinfo.
If no options are supplied, the default is filename, description, author, license and parameters.
SEE ALSO insmod(8), modprobe(8), depmod(8), rmmod(8), lsmod(8), ksyms(8), modules(2)Linux March 19, 2002 MODINFO(8)