MAC_TX_UPDATE(9F) Kernel Functions for Drivers MAC_TX_UPDATE(9F)

indicate that a device can transmit again

#include <sys/mac_provider.h>

mac_tx_update(mac_handle_t mh);

illumos DDI specific

The MAC handle obtained from a call to mac_register(9F).

The mac_tx_update() function is used by device drivers to indicate that the device represented by the handle mh can transmit data again. It should only be called after the device driver has returned data from its mc_tx(9E) endpoint. For more information on when this should be called, see both mc_tx(9E) and the Transmitting Data and Back Pressure section of mac(9E).

Device drivers should not hold any of their own locks when calling into this function. See the MAC Callbacks section of mac(9E) for more information.

The mac_tx_update() function may be called from user, kernel, or interrupt context.

mac(9E), mc_tx(9E), mac_register(9F)
June 2, 2016 OmniOS