FreeBSD/sys/dev/bxe/ecore_sp.c
/* initialize the general and tx parts of a tx-only queue object */
initialize the general and tx parts of a tx-only queue object
initialize the general and tx parts of a tx - only queue object
static void ecore_q_fill_setup_tx_only(struct bxe_softc *sc,
				struct ecore_queue_state_params *cmd_params,
				struct tx_queue_init_ramrod_data *data)
{
	ecore_q_fill_init_general_data(sc, cmd_params->q_obj,
				       &cmd_params->params.tx_only.gen_params,
				       &data->general,
				       &cmd_params->params.tx_only.flags);
	ecore_q_fill_init_tx_data(cmd_params->q_obj,
				  &cmd_params->params.tx_only.txq_params,
				  &data->tx,
				  &cmd_params->params.tx_only.flags);
	ECORE_MSG(sc, "cid %d, tx bd page lo %x hi %x",
		  cmd_params->q_obj->cids[0],
		  data->tx.tx_bd_page_base.lo,
		  data->tx.tx_bd_page_base.hi);
}
static void ecore_q_fill_setup_tx_only ( struct bxe_softc * sc , struct ecore_queue_state_params * cmd_params , struct tx_queue_init_ramrod_data * data ) { ecore_q_fill_init_general_data ( sc , cmd_params -> q_obj , & cmd_params -> params . tx_only . gen_params , & data -> general , & cmd_params -> params . tx_only . flags ) ; ecore_q_fill_init_tx_data ( cmd_params -> q_obj , & cmd_params -> params . tx_only . txq_params , & data -> tx , & cmd_params -> params . tx_only . flags ) ; ECORE_MSG ( sc , " " , cmd_params -> q_obj -> cids [ 0 ] , data -> tx . tx_bd_page_base . lo , data -> tx . tx_bd_page_base . hi ) ; }
initialize the general and tx parts of a tx-only queue object
initialize the general and tx parts of a tx - only queue object