DEV_REMOVE_OFFLOAD(9) Network device support DEV_REMOVE_OFFLOAD(9)NAME
dev_remove_offload - remove packet offload handler
SYNOPSIS
void dev_remove_offload(struct packet_offload * po);
ARGUMENTS
po
packet offload declaration
DESCRIPTION
Remove a packet offload handler that was previously added to the kernel offload handlers by dev_add_offload. The passed offload_type is
removed from the kernel lists and can be freed or reused once this function returns.
This call sleeps to guarantee that no CPU is looking at the packet type after return.
COPYRIGHT Kernel Hackers Manual 3.10 June 2014 DEV_REMOVE_OFFLOAD(9)
Check Out this Related Man Page
SFXGE(4) BSD Kernel Interfaces Manual SFXGE(4)NAME
sfxge -- Solarflare 10Gb Ethernet adapter driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device sfxge
To load the driver as a module at boot time, place the following line in loader.conf(5):
sfxge_load="YES"
DESCRIPTION
The sfxge driver provides support for 10Gb Ethernet adapters based on Solarflare SFC9000 family controllers. The driver supports jumbo
frames, transmit/receive checksum offload, TCP Segmentation Offload (TSO), Large Receive Offload (LRO), VLAN checksum offload, VLAN TSO, and
Receive Side Scaling (RSS) using MSI-X interrupts.
The driver allocates 1 receive queue, transmit queue, event queue and IRQ per CPU up to a maximum of 64. IRQ affinities should be spread out
using cpuset(1). Interrupt moderation may be controlled through the sysctl dev.sfxge.%d.int_mod (units are microseconds).
For more information on configuring this device, see ifconfig(8).
A large number of MAC, PHY and data path statistics are available under the sysctl dev.sfxge.%d.stats. The adapter's VPD fields including
its serial number are available under the sysctl dev.sfxge.%d.vpd.
HARDWARE
The sfxge driver supports all 10Gb Ethernet adapters based on Solarflare SFC9000 family controllers.
LOADER TUNABLES
Tunables can be set at the loader(8) prompt before booting the kernel or stored in loader.conf(5). Actual values can be obtained using
sysctl(8).
hw.sfxge.rx_ring
The maximum number of descriptors in a receive queue ring. Supported values are: 512, 1024, 2048 and 4096.
hw.sfxge.tx_ring
The maximum number of descriptors in a transmit queue ring. Supported values are: 512, 1024, 2048 and 4096.
hw.sfxge.tx_dpl_get_max
The maximum length of the deferred packet ``get-list'' for queued transmit packets (TCP and non-TCP), used only if the transmit queue
lock can be acquired. If a packet is dropped, the tx_get_overflow counter is incremented and the local sender receives ENOBUFS. The
value must be greater than 0.
hw.sfxge.tx_dpl_get_non_tcp_max
The maximum number of non-TCP packets in the deferred packet ``get-list'' , used only if the transmit queue lock can be acquired. If
packet is dropped, the tx_get_non_tcp_overflow counter is incremented and the local sender receives ENOBUFS. The value must be
greater than 0.
hw.sfxge.tx_dpl_put_max
The maximum length of the deferred packet ``put-list'' for queued transmit packets, used if the transmit queue lock cannot be
acquired. If a packet is dropped, the tx_put_overflow counter is incremented and the local sender receives ENOBUFS. The value must
be greater than or equal to 0.
hw.sfxge.N.max_rss_channels
The maximum number of allocated RSS channels for the Nth adapter. If set to 0 or unset, the number of channels is determined by the
number of CPU cores.
SUPPORT
For general information and support, go to the Solarflare support website at: https://support.solarflare.com.
SEE ALSO cpuset(1), arp(4), netintro(4), ng_ether(4), vlan(4), ifconfig(8)AUTHORS
The sfxge driver was written by Philip Paeps and
Solarflare Communications, Inc.
BSD September 30, 2014 BSD