FreeBSD/sys/dev/bxe/ecore_sp.c
/* initialize the general, tx and rx parts of a queue object */
initialize the general, tx and rx parts of a queue object
initialize the general tx and rx parts of a queue object
static void ecore_q_fill_setup_data_cmn(struct bxe_softc *sc,
				struct ecore_queue_state_params *cmd_params,
				struct client_init_ramrod_data *data)
{
	ecore_q_fill_init_general_data(sc, cmd_params->q_obj,
				       &cmd_params->params.setup.gen_params,
				       &data->general,
				       &cmd_params->params.setup.flags);
	ecore_q_fill_init_tx_data(cmd_params->q_obj,
				  &cmd_params->params.setup.txq_params,
				  &data->tx,
				  &cmd_params->params.setup.flags);
	ecore_q_fill_init_rx_data(cmd_params->q_obj,
				  &cmd_params->params.setup.rxq_params,
				  &data->rx,
				  &cmd_params->params.setup.flags);
	ecore_q_fill_init_pause_data(cmd_params->q_obj,
				     &cmd_params->params.setup.pause_params,
				     &data->rx);
}
static void ecore_q_fill_setup_data_cmn ( struct bxe_softc * sc , struct ecore_queue_state_params * cmd_params , struct client_init_ramrod_data * data ) { ecore_q_fill_init_general_data ( sc , cmd_params -> q_obj , & cmd_params -> params . setup . gen_params , & data -> general , & cmd_params -> params . setup . flags ) ; ecore_q_fill_init_tx_data ( cmd_params -> q_obj , & cmd_params -> params . setup . txq_params , & data -> tx , & cmd_params -> params . setup . flags ) ; ecore_q_fill_init_rx_data ( cmd_params -> q_obj , & cmd_params -> params . setup . rxq_params , & data -> rx , & cmd_params -> params . setup . flags ) ; ecore_q_fill_init_pause_data ( cmd_params -> q_obj , & cmd_params -> params . setup . pause_params , & data -> rx ) ; }
initialize the general, tx and rx parts of a queue object
initialize the general tx and rx parts of a queue object