Skip Navigation Links | |
Exit Print View | |
man pages section 9: DDI and DKI Properties and Data Structures Oracle Solaris 11.1 Information Library |
- ring information data structure
#include <sys/mac_provider.h>
Solaris architecture specific (Solaris DDI)
The mac_ring_info structure is used by a network device driver to describe it's RX and TX rings. The structure is used as an argument to the mr_rget(9E) driver entry point when querying the ring.
mac_ring_driver_t mri_driver; mac_ring_start_t mri_start; mac_ring_stop_t mri_stop; mac_intr_enable_t mri_intr_enable; mac_intr_disable_t mri_intr_disable; ddi_intr_handle_t mri_intr_ddi_handle; mac_ring_send_t mri_tx; mac_ring_poll_t mri_poll; mac_ring_stat_t mri_stat; uint_t mri_flags;
Filled by the driver as handle to the driver's ring structure.
The driver entry point for starting a driver's ring.
The driver entry point for stopping a driver ring.
The driver entry point for getting statistics for ring.
The driver entry point for transmitting packet for TX rings.
The driver entry point for polling RX ring for packets.
A set of flags for describing ring behavior.
The DDI interrupt handle associated with the interrupt for this ring.
For RX rings, this driver entry point will enable interrupts again and transition the driver polling to interrupt mode.
For RX rings, this driver entry point will disable interrupts and place the driver into polling mode.
See attributes(5) for descriptions of the following attributes:
|
attributes(5), mr_rget(9E), mac_capab_rings(9E), mac_ring_info(9E), mac_group_info(9E), ddi_intr_alloc(9F), mac_register(9S)