• Home
  • Raw
  • Download

Lines Matching refs:qtest

5749 	struct bfa_diag_qtest_result_s *res = fcdiag->qtest.result;  in bfa_fcdiag_queuetest_timeout()
5751 bfa_trc(fcdiag, fcdiag->qtest.all); in bfa_fcdiag_queuetest_timeout()
5752 bfa_trc(fcdiag, fcdiag->qtest.count); in bfa_fcdiag_queuetest_timeout()
5754 fcdiag->qtest.timer_active = 0; in bfa_fcdiag_queuetest_timeout()
5757 res->count = QTEST_CNT_DEFAULT - fcdiag->qtest.count; in bfa_fcdiag_queuetest_timeout()
5758 if (fcdiag->qtest.all) in bfa_fcdiag_queuetest_timeout()
5759 res->queue = fcdiag->qtest.all; in bfa_fcdiag_queuetest_timeout()
5762 fcdiag->qtest.status = BFA_STATUS_ETIMER; in bfa_fcdiag_queuetest_timeout()
5763 fcdiag->qtest.cbfn(fcdiag->qtest.cbarg, fcdiag->qtest.status); in bfa_fcdiag_queuetest_timeout()
5764 fcdiag->qtest.lock = 0; in bfa_fcdiag_queuetest_timeout()
5773 req = bfa_reqq_next(fcdiag->bfa, fcdiag->qtest.queue); in bfa_fcdiag_queuetest_send()
5784 bfa_trc(fcdiag, fcdiag->qtest.queue); in bfa_fcdiag_queuetest_send()
5786 bfa_reqq_produce(fcdiag->bfa, fcdiag->qtest.queue, req->mh); in bfa_fcdiag_queuetest_send()
5794 struct bfa_diag_qtest_result_s *res = fcdiag->qtest.result; in bfa_fcdiag_queuetest_comp()
5799 if (!fcdiag->qtest.timer_active) { in bfa_fcdiag_queuetest_comp()
5800 bfa_trc(fcdiag, fcdiag->qtest.timer_active); in bfa_fcdiag_queuetest_comp()
5805 fcdiag->qtest.count--; in bfa_fcdiag_queuetest_comp()
5816 if (fcdiag->qtest.count > 0) { in bfa_fcdiag_queuetest_comp()
5822 } else if (fcdiag->qtest.all > 0 && in bfa_fcdiag_queuetest_comp()
5823 fcdiag->qtest.queue < (BFI_IOC_MAX_CQS - 1)) { in bfa_fcdiag_queuetest_comp()
5824 fcdiag->qtest.count = QTEST_CNT_DEFAULT; in bfa_fcdiag_queuetest_comp()
5825 fcdiag->qtest.queue++; in bfa_fcdiag_queuetest_comp()
5835 if (fcdiag->qtest.timer_active) { in bfa_fcdiag_queuetest_comp()
5836 bfa_timer_stop(&fcdiag->qtest.timer); in bfa_fcdiag_queuetest_comp()
5837 fcdiag->qtest.timer_active = 0; in bfa_fcdiag_queuetest_comp()
5839 res->queue = fcdiag->qtest.queue; in bfa_fcdiag_queuetest_comp()
5840 res->count = QTEST_CNT_DEFAULT - fcdiag->qtest.count; in bfa_fcdiag_queuetest_comp()
5843 fcdiag->qtest.status = res->status; in bfa_fcdiag_queuetest_comp()
5844 fcdiag->qtest.cbfn(fcdiag->qtest.cbarg, fcdiag->qtest.status); in bfa_fcdiag_queuetest_comp()
5845 fcdiag->qtest.lock = 0; in bfa_fcdiag_queuetest_comp()
6066 if (fcdiag->qtest.lock) { in bfa_fcdiag_queuetest()
6067 bfa_trc(fcdiag, fcdiag->qtest.lock); in bfa_fcdiag_queuetest()
6072 fcdiag->qtest.lock = 1; in bfa_fcdiag_queuetest()
6073 fcdiag->qtest.cbfn = cbfn; in bfa_fcdiag_queuetest()
6074 fcdiag->qtest.cbarg = cbarg; in bfa_fcdiag_queuetest()
6075 fcdiag->qtest.result = result; in bfa_fcdiag_queuetest()
6076 fcdiag->qtest.count = QTEST_CNT_DEFAULT; in bfa_fcdiag_queuetest()
6079 fcdiag->qtest.result->status = BFA_STATUS_OK; in bfa_fcdiag_queuetest()
6080 fcdiag->qtest.result->count = 0; in bfa_fcdiag_queuetest()
6084 fcdiag->qtest.result->queue = (u8)queue; in bfa_fcdiag_queuetest()
6085 fcdiag->qtest.queue = (u8)queue; in bfa_fcdiag_queuetest()
6086 fcdiag->qtest.all = 0; in bfa_fcdiag_queuetest()
6088 fcdiag->qtest.result->queue = 0; in bfa_fcdiag_queuetest()
6089 fcdiag->qtest.queue = 0; in bfa_fcdiag_queuetest()
6090 fcdiag->qtest.all = 1; in bfa_fcdiag_queuetest()
6096 bfa_timer_start(bfa, &fcdiag->qtest.timer, in bfa_fcdiag_queuetest()
6099 fcdiag->qtest.timer_active = 1; in bfa_fcdiag_queuetest()