iflib_device_attach()
|
Function initiates a device registration with the iflib framework.
It calls the iflib_register function, which is responsible for allocating
and initializing the if_ctx_t structure.
|
iflib_device_detach()
|
Shutdown and detach the device.
Unregister vlan events, drain any dependent tasks, and release irq, pci, and
msix memory.
|
iflib_device_suspend()
|
Suspend a device by calling the device dependent suspend function and
bus_generic_suspend.
|
iflib_device_resume()
|
Resume a device by calling the device dependent resume function, the
iflib_init_locked function, and bus_generic_resume.
|
iflib_device_register()
|
Register a device with the iflib framework.
Allocate and initialize the
if_ctx_t structure.
Setup and initialize the MSI or MSI/X interrupt queues if necessary.
Allocate memory for queues and qset structure setup.
|
iflib_irq_alloc()
|
Allocate an interrupt resource for a given rid value with an associated filter
and handler function.
|
iflib_irq_alloc_generic()
|
Performs the same function as iflib_device_irq_alloc along with the additional
functionality of adding a taskgroup.
The data fields and callback function are determined by the type of interrupt,
such as
IFLIB_INTR_TX,
IFLIB_INTR_RX,
and
IFLIB_INTR_ADMIN.
|
iflib_led_create()
|
Calls led_create to initialize the ctx->ifc_led_dev field
|
iflib_tx_intr_deferred()
|
Calls GROUPTASK_ENQUEUE to enqueue the transfer queues ift_task.
|
iflib_rx_intr_deferred()
|
Calls GROUPTASK_ENQUEUE to enqueue the receive queues ifr_task.
|
iflib_link_intr_deferred()
|
Calls GROUPTASK_ENQUEUE to enqueue the link task
|
iflib_link_state_change()
|
Change the interface link status to either
LINK_STATE_UP
or
LINK_STATE_DOWN
as specified by the second argument to the function.
Interface Link States
The following link states are currently defined:
|
LINK_STATE_UP
|
The link is up.
|
LINK_STATE_DOWN
|
The link is down.
|
iflib_add_int_delay_sysctl()
|
Modifies settings to user defined values for a given set of variables.
|