src/dpdk/drivers/net/cxgbe/cxgbe_main.c
int cxgbe_up(struct adapter *adap)
{
	enable_rx(adap, &adap->sge.fw_evtq);
	t4_sge_tx_monitor_start(adap);
	if (is_pf4(adap))
		t4_intr_enable(adap);
	adap->flags |= FULL_INIT_DONE;

	/* TODO: deadman watchdog ?? */
	return 0;
}
/**
 * cxgb_up - enable the adapter
 * @adap: adapter being enabled
 *
 * Called when the first port is enabled, this function performs the
 * actions necessary to make an adapter operational, such as completing
 * the initialization of HW modules, and enabling interrupts.
 */
enable the adapter
@adap: adapter being enabled

Called when the first port is enabled, this function performs the
actions necessary to make an adapter operational, such as completing
the initialization of HW modules, and enabling interrupts.
enable the adapter @adap : adapter being enabled Called when the first port is enabled this function performs the actions necessary to make an adapter operational such as completing the initialization of HW modules and enabling interrupts .
int cxgbe_up(struct adapter *adap)
{
	enable_rx(adap, &adap->sge.fw_evtq);
	t4_sge_tx_monitor_start(adap);
	if (is_pf4(adap))
		t4_intr_enable(adap);
	adap->flags |= FULL_INIT_DONE;
	return 0;
}
int cxgbe_up ( struct adapter * adap ) { enable_rx ( adap , & adap -> sge . fw_evtq ) ; t4_sge_tx_monitor_start ( adap ) ; if ( is_pf4 ( adap ) ) t4_intr_enable ( adap ) ; adap -> flags |= FULL_INIT_DONE ; return 0 ; }
cxgb_up - enable the adapter
 @adap: adapter being enabled
cxgb_up - enable the adapter @adap : adapter being enabled
/* TODO: deadman watchdog ?? */