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 NETBSD
igb
IGB(4) BSD Kernel Interfaces Manual IGB(4)NAME
igb -- Intel(R) PRO/1000 PCI Express Gigabit Ethernet adapter driver
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
device igb
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
if_igb_load="YES"
DESCRIPTION
The igb driver provides support for PCI Express Gigabit Ethernet adapters based on the Intel 82575 and 82576 Ethernet controller chips. The
driver supports Transmit/Receive checksum offload and Jumbo Frames. Furthermore it supports TCP segmentation offload (TSO) on all adapters.
The identification LEDs of the adapters supported by the igb driver can be controlled via the led(4) API for localization purposes.
For questions related to hardware requirements, refer to the documentation supplied with your Intel PRO/1000 adapter. All hardware require-
ments listed apply to use with FreeBSD.
Support for Jumbo Frames is provided via the interface MTU setting. Selecting an MTU larger than 1500 bytes with the ifconfig(8) utility
configures the adapter to receive and transmit Jumbo Frames. The maximum MTU size for Jumbo Frames is 9216.
This driver supports hardware assisted VLANs. The igb driver supports the following media types:
autoselect Enables auto-negotiation for speed and duplex.
10baseT/UTP Sets 10Mbps operation. Use the mediaopt option to select full-duplex mode.
100baseTX Sets 100Mbps operation. Use the mediaopt option to select full-duplex mode.
1000baseSX Sets 1000Mbps operation. Only full-duplex mode is supported at this speed.
1000baseTX Sets 1000Mbps operation. Only full-duplex mode is supported at this speed.
The igb driver supports the following media options:
full-duplex Forces full-duplex operation
half-duplex Forces half-duplex operation.
Only use mediaopt to set the driver to full-duplex. If mediaopt is not specified, the driver defaults to half-duplex.
For more information on configuring this device, see ifconfig(8).
HARDWARE
The igb driver supports Gigabit Ethernet adapters based on the Intel 82575 and 82576 controller chips:
o Intel Gigabit ET Dual Port Server Adapter (82576)
o Intel Gigabit VT Quad Port Server Adapter (82575)
LOADER TUNABLES
Tunables can be set at the loader(8) prompt before booting the kernel or stored in loader.conf(5).
hw.igb.rxd
Number of receive descriptors allocated by the driver. The default value is 256. The minimum is 80, and the maximum is 4096.
hw.igb.txd
Number of transmit descriptors allocated by the driver. The default value is 256. The minimum is 80, and the maximum is 4096.
hw.igb.enable_aim
If set to 1, enable Adaptive Interrupt Moderation. The default is to enable Adaptive Interrupt Moderation.
DIAGNOSTICS
igb%d: Unable to allocate bus resource: memory A fatal initialization error has occurred.
igb%d: Unable to allocate bus resource: interrupt A fatal initialization error has occurred.
igb%d: watchdog timeout -- resetting The device has stopped responding to the network, or there is a problem with the network connection
(cable).
SUPPORT
For general information and support, go to the Intel support website at: http://support.intel.com.
If an issue is identified with the released source code on the supported kernel with a supported adapter, email the specific information
related to the issue to <freebsdnic@mailbox.intel.com>.
FILES
/dev/led/igb* identification LED device nodes
EXAMPLES
Make the identification LED of igb0 blink:
echo f2 > /dev/led/igb0
Turn the identification LED of igb0 off again:
echo 0 > /dev/led/igb0
SEE ALSO altq(4), arp(4), em(4), led(4), netintro(4), ng_ether(4), polling(4), vlan(4), ifconfig(8)HISTORY
The igb device driver first appeared in FreeBSD 7.1.
AUTHORS
The igb driver was written by Intel Corporation <freebsdnic@mailbox.intel.com>.
BSD May 14, 2010 BSD