/* GEM TX done handler wrapper for the work queue Wraps the TX done handler, eth_xlnx_gem_handle_tx_done, for the scenario in which the current GEM device is configured to defer RX pending / TX done indication handling to the system work queue. In this case, the work item received by this wrapper function will be enqueued from within the ISR if the corresponding bit is set within the controller's interrupt status register (gem.intr_status).  */
static void eth_xlnx_gem_tx_done_work(struct k_work *item)
/* GEM TX done handler wrapper for the work queue Wraps the TX done handler, eth_xlnx_gem_handle_tx_done, for the scenario in which the current GEM device is configured to defer RX pending / TX done indication handling to the system work queue. In this case, the work item received by this wrapper function will be enqueued from within the ISR if the corresponding bit is set within the controller's interrupt status register (gem.intr_status).  */
static void eth_xlnx_gem_tx_done_work(struct k_work *item)
{
	struct eth_xlnx_gem_dev_data *dev_data = CONTAINER_OF(item,
		struct eth_xlnx_gem_dev_data, tx_done_work);
	const struct device *dev = net_if_get_device(dev_data->iface);
	eth_xlnx_gem_handle_tx_done(dev);
}