H A D | bnx2x_main.c | 8658 struct bnx2x_queue_state_params *q_params, bnx2x_setup_tx_only() 8665 q_params->cmd = BNX2X_Q_CMD_SETUP_TX_ONLY; bnx2x_setup_tx_only() 8681 tx_index, q_params->q_obj->cids[FIRST_TX_COS_INDEX], bnx2x_setup_tx_only() 8682 q_params->q_obj->cids[tx_index], q_params->q_obj->cl_id, bnx2x_setup_tx_only() 8686 return bnx2x_queue_state_change(bp, q_params); bnx2x_setup_tx_only() 8703 struct bnx2x_queue_state_params q_params = {NULL}; bnx2x_setup_queue() local 8705 &q_params.params.setup; bnx2x_setup_queue() 8707 &q_params.params.tx_only; bnx2x_setup_queue() 8718 q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj; bnx2x_setup_queue() 8720 __set_bit(RAMROD_COMP_WAIT, &q_params.ramrod_flags); bnx2x_setup_queue() 8723 bnx2x_pf_q_prep_init(bp, fp, &q_params.params.init); bnx2x_setup_queue() 8726 q_params.cmd = BNX2X_Q_CMD_INIT; bnx2x_setup_queue() 8729 rc = bnx2x_queue_state_change(bp, &q_params); bnx2x_setup_queue() 8754 q_params.cmd = BNX2X_Q_CMD_SETUP; bnx2x_setup_queue() 8760 rc = bnx2x_queue_state_change(bp, &q_params); bnx2x_setup_queue() 8772 rc = bnx2x_setup_tx_only(bp, fp, &q_params, bnx2x_setup_queue() 8788 struct bnx2x_queue_state_params q_params = {NULL}; bnx2x_stop_queue() local 8793 q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj; bnx2x_stop_queue() 8795 __set_bit(RAMROD_COMP_WAIT, &q_params.ramrod_flags); bnx2x_stop_queue() 8809 q_params.cmd = BNX2X_Q_CMD_TERMINATE; bnx2x_stop_queue() 8810 memset(&q_params.params.terminate, 0, bnx2x_stop_queue() 8811 sizeof(q_params.params.terminate)); bnx2x_stop_queue() 8812 q_params.params.terminate.cid_index = tx_index; bnx2x_stop_queue() 8814 rc = bnx2x_queue_state_change(bp, &q_params); bnx2x_stop_queue() 8819 q_params.cmd = BNX2X_Q_CMD_CFC_DEL; bnx2x_stop_queue() 8820 memset(&q_params.params.cfc_del, 0, bnx2x_stop_queue() 8821 sizeof(q_params.params.cfc_del)); bnx2x_stop_queue() 8822 q_params.params.cfc_del.cid_index = tx_index; bnx2x_stop_queue() 8823 rc = bnx2x_queue_state_change(bp, &q_params); bnx2x_stop_queue() 8829 q_params.cmd = BNX2X_Q_CMD_HALT; bnx2x_stop_queue() 8830 rc = bnx2x_queue_state_change(bp, &q_params); bnx2x_stop_queue() 8835 q_params.cmd = BNX2X_Q_CMD_TERMINATE; bnx2x_stop_queue() 8836 memset(&q_params.params.terminate, 0, bnx2x_stop_queue() 8837 sizeof(q_params.params.terminate)); bnx2x_stop_queue() 8838 q_params.params.terminate.cid_index = FIRST_TX_COS_INDEX; bnx2x_stop_queue() 8839 rc = bnx2x_queue_state_change(bp, &q_params); bnx2x_stop_queue() 8843 q_params.cmd = BNX2X_Q_CMD_CFC_DEL; bnx2x_stop_queue() 8844 memset(&q_params.params.cfc_del, 0, bnx2x_stop_queue() 8845 sizeof(q_params.params.cfc_del)); bnx2x_stop_queue() 8846 q_params.params.cfc_del.cid_index = FIRST_TX_COS_INDEX; bnx2x_stop_queue() 8847 return bnx2x_queue_state_change(bp, &q_params); bnx2x_stop_queue() 14667 struct bnx2x_queue_state_params q_params; bnx2x_enable_ptp_packets() local 14671 memset(&q_params, 0, sizeof(q_params)); bnx2x_enable_ptp_packets() 14672 __set_bit(RAMROD_COMP_WAIT, &q_params.ramrod_flags); bnx2x_enable_ptp_packets() 14673 q_params.cmd = BNX2X_Q_CMD_UPDATE; bnx2x_enable_ptp_packets() 14675 &q_params.params.update.update_flags); bnx2x_enable_ptp_packets() 14677 &q_params.params.update.update_flags); bnx2x_enable_ptp_packets() 14684 q_params.q_obj = &bnx2x_sp_obj(bp, fp).q_obj; for_each_eth_queue() 14687 rc = bnx2x_queue_state_change(bp, &q_params); for_each_eth_queue() 8657 bnx2x_setup_tx_only(struct bnx2x *bp, struct bnx2x_fastpath *fp, struct bnx2x_queue_state_params *q_params, struct bnx2x_queue_setup_tx_only_params *tx_only_params, int tx_index, bool leading) bnx2x_setup_tx_only() argument
|