Lines Matching refs:qstate
172 struct bnx2x_queue_init_params *init_p = &p->qstate.params.init; in bnx2x_vfop_qctor_prep()
244 q_params = &qctor->qstate; in bnx2x_vf_queue_create()
519 struct bnx2x_queue_state_params qstate; in bnx2x_vf_queue_flr() local
521 memset(&qstate, 0, sizeof(struct bnx2x_queue_state_params)); in bnx2x_vf_queue_flr()
522 qstate.q_obj = &bnx2x_vfq(vf, qid, sp_obj); in bnx2x_vf_queue_flr()
523 qstate.q_obj->state = BNX2X_Q_STATE_STOPPED; in bnx2x_vf_queue_flr()
524 qstate.cmd = BNX2X_Q_CMD_TERMINATE; in bnx2x_vf_queue_flr()
525 set_bit(RAMROD_COMP_WAIT, &qstate.ramrod_flags); in bnx2x_vf_queue_flr()
526 rc = bnx2x_queue_state_change(bp, &qstate); in bnx2x_vf_queue_flr()
2240 struct bnx2x_queue_state_params qstate; in bnx2x_vf_tpa_update() local
2246 memset(&qstate, 0, sizeof(struct bnx2x_queue_state_params)); in bnx2x_vf_tpa_update()
2247 memcpy(&qstate.params.update_tpa, params, in bnx2x_vf_tpa_update()
2249 qstate.cmd = BNX2X_Q_CMD_UPDATE_TPA; in bnx2x_vf_tpa_update()
2250 set_bit(RAMROD_COMP_WAIT, &qstate.ramrod_flags); in bnx2x_vf_tpa_update()
2253 qstate.q_obj = &bnx2x_vfq(vf, qid, sp_obj); in bnx2x_vf_tpa_update()
2254 qstate.params.update_tpa.sge_map = sge_addr[qid]; in bnx2x_vf_tpa_update()
2258 rc = bnx2x_queue_state_change(bp, &qstate); in bnx2x_vf_tpa_update()