Loading and unloading a driver

You can load drivers into the stack from the command line.

For example:

io-pkt-v4-hc -di82544

This command-line invocation works whether or not the driver is a native driver or an io-net-style driver. The stack automatically detects the driver type and loads the devnp-shim.so binary if the driver is an io-net driver.

Note: Make sure that all drivers are located in a directory that can be resolved by the LD_LIBRARY_PATH environment variable if you don't want to have to specify the fully qualified name of the device in the command line.

You can also mount a driver in the standard way:

mount -Tio-pkt /lib/dll/devnp-i82544.so

The mount command still supports the io-net option, to provide backward compatibility with existing scripts:

mount -Tio-net /lib/dll/devnp-i82544.so

The standard way to remove a driver from the stack is with the ifconfig iface destroy command. For example:

ifconfig wm0 destroy