Lines Matching defs:status

90 	int			status;
179 status = IBT_QP_ATTR_RO;
192 status = IBT_QP_STATE_INVALID;
201 status = hermon_qp_reset2init(state, qp, info_p);
202 if (status != DDI_SUCCESS) {
230 status = hermon_qp_reset2err(state, qp);
231 if (status != DDI_SUCCESS) {
241 status = IBT_QP_STATE_INVALID;
254 status = hermon_wrid_from_reset_handling(state, qp);
255 if (status != DDI_SUCCESS) {
281 status = IBT_QP_ATTR_RO;
294 status = IBT_QP_STATE_INVALID;
303 status = hermon_qp_init2rtr(state, qp, flags, info_p);
304 if (status != DDI_SUCCESS) {
316 status = hermon_qp_init2init(state, qp, flags, info_p);
317 if (status != DDI_SUCCESS) {
329 status = hermon_qp_to_reset(state, qp);
330 if (status != DDI_SUCCESS) {
342 status = hermon_wrid_to_reset_handling(state, qp);
343 if (status != IBT_SUCCESS) {
353 status = hermon_qp_to_error(state, qp);
354 if (status != DDI_SUCCESS) {
364 status = IBT_QP_STATE_INVALID;
384 status = IBT_QP_ATTR_RO;
397 status = IBT_QP_STATE_INVALID;
406 status = hermon_qp_rtr2rts(state, qp, flags, info_p);
407 if (status != DDI_SUCCESS) {
419 status = hermon_qp_to_reset(state, qp);
420 if (status != DDI_SUCCESS) {
432 status = hermon_wrid_to_reset_handling(state, qp);
433 if (status != IBT_SUCCESS) {
443 status = hermon_qp_to_error(state, qp);
444 if (status != DDI_SUCCESS) {
454 status = IBT_QP_STATE_INVALID;
472 status = IBT_QP_ATTR_RO;
485 status = hermon_qp_rts2rts(state, qp, flags, info_p);
486 if (status != DDI_SUCCESS) {
499 status = hermon_qp_rts2sqd(state, qp, flags);
500 if (status != DDI_SUCCESS) {
509 status = IBT_QP_STATE_INVALID;
518 status = hermon_qp_to_reset(state, qp);
519 if (status != DDI_SUCCESS) {
531 status = hermon_wrid_to_reset_handling(state, qp);
532 if (status != IBT_SUCCESS) {
542 status = hermon_qp_to_error(state, qp);
543 if (status != DDI_SUCCESS) {
553 status = IBT_QP_STATE_INVALID;
569 status = IBT_QP_ATTR_RO;
582 status = hermon_qp_sqerr2rts(state, qp, flags, info_p);
583 if (status != DDI_SUCCESS) {
595 status = hermon_qp_to_reset(state, qp);
596 if (status != DDI_SUCCESS) {
608 status = hermon_wrid_to_reset_handling(state, qp);
609 if (status != IBT_SUCCESS) {
619 status = hermon_qp_to_error(state, qp);
620 if (status != DDI_SUCCESS) {
630 status = IBT_QP_STATE_INVALID;
651 status = IBT_QP_ATTR_RO;
665 status = hermon_qp_sqd2sqd(state, qp, flags, info_p);
666 if (status != DDI_SUCCESS) {
693 status = hermon_qp_sqd2sqd(state, qp, flags, info_p);
694 if (status != DDI_SUCCESS) {
706 status = hermon_qp_sqd2rts(state, qp,
708 if (status != DDI_SUCCESS) {
720 status = hermon_qp_to_reset(state, qp);
721 if (status != DDI_SUCCESS) {
733 status = hermon_wrid_to_reset_handling(state, qp);
734 if (status != IBT_SUCCESS) {
744 status = hermon_qp_to_error(state, qp);
745 if (status != DDI_SUCCESS) {
755 status = IBT_QP_STATE_INVALID;
770 status = hermon_qp_to_reset(state, qp);
771 if (status != DDI_SUCCESS) {
783 status = hermon_wrid_to_reset_handling(state, qp);
784 if (status != IBT_SUCCESS) {
804 status = IBT_QP_STATE_INVALID;
817 status = IBT_QP_STATE_INVALID;
825 return (status);
842 int status;
985 status = hermon_fcoib_set_id(state, portnum,
987 if (status != DDI_SUCCESS)
988 return (status);
997 status = hermon_fcoib_fexch_mkey_init(state,
1000 if (status != DDI_SUCCESS)
1001 return (status);
1091 status = hermon_cmn_qp_cmd_post(state, RST2INIT_QP, qpc, qp->qp_qpnum,
1093 if (status != HERMON_CMD_SUCCESS) {
1095 state->hs_instance, status);
1096 if (status == HERMON_CMD_INVALID_STATUS) {
1120 int status;
1292 status = hermon_cmn_qp_cmd_post(state, INIT2INIT_QP, qpc, qp->qp_qpnum,
1294 if (status != HERMON_CMD_SUCCESS) {
1295 if (status != HERMON_CMD_BAD_QP_STATE) {
1297 "failed: %08x\n", state->hs_instance, status);
1298 if (status == HERMON_CMD_INVALID_STATUS) {
1329 int status;
1398 status = hermon_set_addr_path(state, adds_vect, qpc_path,
1400 if (status != DDI_SUCCESS) {
1401 return (status);
1499 status = hermon_set_addr_path(state, adds_vect,
1501 if (status != DDI_SUCCESS) {
1502 return (status);
1541 status = hermon_set_addr_path(state, adds_vect, qpc_path,
1543 if (status != DDI_SUCCESS) {
1544 return (status);
1614 status = hermon_set_addr_path(state, adds_vect,
1616 if (status != DDI_SUCCESS) {
1617 return (status);
1666 status = hermon_cmn_qp_cmd_post(state, INIT2RTR_QP, qpc, qp->qp_qpnum,
1668 if (status != HERMON_CMD_SUCCESS) {
1669 if (status != HERMON_CMD_BAD_QP_STATE) {
1671 "failed: %08x\n", state->hs_instance, status);
1672 if (status == HERMON_CMD_INVALID_STATUS) {
1702 int status;
1802 status = hermon_set_addr_path(state, adds_vect,
1804 if (status != DDI_SUCCESS) {
1805 return (status);
1885 status = hermon_set_addr_path(state, adds_vect,
1887 if (status != DDI_SUCCESS) {
1888 return (status);
1935 status = hermon_cmn_qp_cmd_post(state, RTR2RTS_QP, qpc, qp->qp_qpnum,
1937 if (status != HERMON_CMD_SUCCESS) {
1938 if (status != HERMON_CMD_BAD_QP_STATE) {
1940 "%08x\n", state->hs_instance, status);
1941 if (status == HERMON_CMD_INVALID_STATUS) {
1971 int status;
2043 status = hermon_set_addr_path(state, adds_vect,
2045 if (status != DDI_SUCCESS) {
2046 return (status);
2116 status = hermon_set_addr_path(state, adds_vect,
2118 if (status != DDI_SUCCESS) {
2119 return (status);
2166 status = hermon_cmn_qp_cmd_post(state, RTS2RTS_QP, qpc, qp->qp_qpnum,
2168 if (status != HERMON_CMD_SUCCESS) {
2169 if (status != HERMON_CMD_BAD_QP_STATE) {
2171 "%08x\n", state->hs_instance, status);
2172 if (status == HERMON_CMD_INVALID_STATUS) {
2195 int status;
2216 status = hermon_cmn_qp_cmd_post(state, RTS2SQD_QP, NULL, qp->qp_qpnum,
2218 if (status != HERMON_CMD_SUCCESS) {
2219 if (status != HERMON_CMD_BAD_QP_STATE) {
2221 "%08x\n", state->hs_instance, status);
2222 if (status == HERMON_CMD_INVALID_STATUS) {
2261 int status;
2361 status = hermon_set_addr_path(state, adds_vect,
2363 if (status != DDI_SUCCESS) {
2364 return (status);
2475 status = hermon_set_addr_path(state, adds_vect,
2477 if (status != DDI_SUCCESS) {
2478 return (status);
2525 status = hermon_cmn_qp_cmd_post(state, SQD2RTS_QP, qpc, qp->qp_qpnum,
2527 if (status != HERMON_CMD_SUCCESS) {
2528 if (status != HERMON_CMD_BAD_QP_STATE) {
2530 "%08x\n", state->hs_instance, status);
2531 if (status == HERMON_CMD_INVALID_STATUS) {
2562 int status;
2644 status = hermon_set_addr_path(state, adds_vect,
2646 if (status != DDI_SUCCESS) {
2647 return (status);
2732 status = hermon_set_addr_path(state, adds_vect,
2734 if (status != DDI_SUCCESS) {
2735 return (status);
2862 status = hermon_set_addr_path(state, adds_vect,
2864 if (status != DDI_SUCCESS) {
2865 return (status);
2926 status = hermon_set_addr_path(state, adds_vect,
2928 if (status != DDI_SUCCESS) {
2929 return (status);
2976 status = hermon_cmn_qp_cmd_post(state, SQD2SQD_QP, qpc, qp->qp_qpnum,
2978 if (status != HERMON_CMD_SUCCESS) {
2979 if (status != HERMON_CMD_BAD_QP_STATE) {
2981 "%08x\n", state->hs_instance, status);
2982 if (status == HERMON_CMD_INVALID_STATUS) {
3007 int status;
3063 status = hermon_cmn_qp_cmd_post(state, SQERR2RTS_QP, qpc, qp->qp_qpnum,
3065 if (status != HERMON_CMD_SUCCESS) {
3066 if (status != HERMON_CMD_BAD_QP_STATE) {
3068 "failed: %08x\n", state->hs_instance, status);
3069 if (status == HERMON_CMD_INVALID_STATUS) {
3090 int status;
3102 status = hermon_cmn_qp_cmd_post(state, TOERR_QP, NULL, qp->qp_qpnum,
3104 if (status != HERMON_CMD_SUCCESS) {
3106 state->hs_instance, status);
3107 if (status == HERMON_CMD_INVALID_STATUS) {
3125 int status;
3142 status = hermon_cmn_qp_cmd_post(state, TORST_QP, qpc, qp->qp_qpnum,
3144 if (status != HERMON_CMD_SUCCESS) {
3146 state->hs_instance, status);
3147 if (status == HERMON_CMD_INVALID_STATUS) {
3153 status = hermon_fcoib_fexch_mkey_fini(state, qp->qp_pdhdl,
3155 if (status != DDI_SUCCESS)
3157 "%08x\n", state->hs_instance, status);
3171 int status;
3286 status = hermon_cmn_qp_cmd_post(state, RST2INIT_QP, qpc, qp->qp_qpnum,
3288 if (status != HERMON_CMD_SUCCESS) {
3290 state->hs_instance, status);
3291 if (status == HERMON_CMD_INVALID_STATUS) {
3306 status = hermon_cmn_qp_cmd_post(state, TOERR_QP, NULL, qp->qp_qpnum,
3308 if (status != HERMON_CMD_SUCCESS) {
3310 state->hs_instance, status);
3311 if (status == HERMON_CMD_INVALID_STATUS) {