devnp-speedo.so

Driver for Intel 82557, 82558, and 82559 Fast Ethernet LAN adapters

Syntax:

io-pkt-variant -d speedo [[index:option[,[index:option ...]] ... 

where variant is v4-hc or v6-hc.

Runs on:

QNX Neutrino

Targets:

x86

Options:

Note: Use commas, not spaces, to separate the options.
did=0xXXXX
Device ID. Attach only to devices with this PCI index. The default is automatically detected on supported hardware.
duplex=0|1
Half (0) or full (1) duplex mode. The default is automatically detected on supported hardware. If you specify duplex, you must also specify speed.
irq=num
The IRQ of the interface. The default is automatically detected on supported hardware.
kermask=0|1
Specify the masking:
  • 1 — use the kernel interrupt-masking methodology.
  • 0 — manually mask the NIC in the interrupt handler.
mac=XXXXXXXXXXXX
The MAC address of the controller. The default is automatically detected on supported hardware.
mmap
Use memory-mapped registers. The default is I/O mapped.
Note: The mmap option is supported on all targets except x86.
nomulticast
Disable the driver from sending or receiving multicast packets. By default, multicast is enabled.
pci=0xXXXX
The PCI index of the controller. The default is automatically detected on supported hardware.
phy=num
The address of the connected PHY device.
receive=num
The number of receive descriptors; the default is 256.
speed=10|100
The media data rate (10 Mbit or 100 Mbit operation). The default (0) is automatically detected on supported hardware. If you specify speed, you must also specify duplex.
transmit=num
The number of transmit descriptors; the default is 1024.
verbose or verbose=num
Be verbose. Specify num for more verbosity (num can be 1-4; the higher the number, the more detailed the output). The output goes to slogger2; invoke slog2info to view it.
vid=0xXXXX
Attach only to devices with this PCI vendor ID. The default is 0x8086.

Description:

The devnp-speedo.so driver manages the Intel 82557, 82558, and 82559 Fast Ethernet LAN adapters. Its interface names are in the form fxpX, where X is an integer.

Some devices support hardware checksums, although some might do so in only one direction; to determine if your device does, type:

ifconfig fxpX

and look for the following in the list of supported options:

You can then use ifconfig to enable or disable whichever of these options your device supports.

Note: The network drivers don't put entries into the /dev namespace, so a waitfor command for such an entry won't work properly in buildfiles or scripts. Use if_up -p instead; for example, if_up -p fxp0.

Examples:

Start io-pkt using the devnp-speedo.so driver:

io-pkt -d speedo -p tcpip
ifconfig fxp0 10.1.0.184

For the second instance of the device in the system, start io-pkt using the devnp-speedo.so driver, but use increased verbosity and override the default MAC address:

io-pkt -d speedo verbose,idx1:mac=00:03:02:01:00:00 -p tcpip
ifconfig fxp0 10.1.0.184