/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4fp.c | 26 DbgBreakIf(con->dpc_info.dpc_completed_tail == NULL); 30 DbgBreakIf(con->rq_nbytes < con->dpc_info.dpc_actual_bytes_completed); 46 DbgBreakIf(s_list_is_empty(&completed_bufs)); 88 DbgBreakIf((con->type == TCP_CON_TYPE_RX) && !tcp_buf); /* RX: even if completed_bytes==0 */ 93 DbgBreakIf((tcp_buf->more_to_comp == tcp_buf->size) && 110 DbgBreakIf(tcp_buf->app_buf_xferred != tcp_buf->app_buf_size); /* this is NOT partial completion */ 115 DbgBreakIf(GET_FLAGS(con->flags, TCP_POST_DELAYED) == 0); 124 DbgBreakIf((con->type == TCP_CON_TYPE_RX) && completed_bytes && !tcp_buf); 125 DbgBreakIf((con->type == TCP_CON_TYPE_TX) && completed_bytes > 1 && !tcp_buf); /* could be 1 if fin */ 126 DbgBreakIf(tcp_bu [all...] |
H A D | lm_l4tx.c | 36 DbgBreakIf((db_data->bds_prod & 0xff) == 0); 40 DbgBreakIf(db_data->flags & (TOE_TX_DB_DATA_FIN << TOE_TX_DB_DATA_FIN_SHIFT)); 69 DbgBreakIf(S64_SUB(tx_con->bytes_post_cnt + tx_con->db_more_bytes, tx_con->bytes_comp_cnt) < 0); 103 DbgBreakIf(!(pdev && tcp && tcp_buf && frag_list)); 104 DbgBreakIf(tcp->cid && (tcp != lm_cid_cookie(pdev, TOE_CONNECTION_TYPE, tcp->cid))); 105 DbgBreakIf(frag_list->cnt == 0); 110 DbgBreakIf(tx_con->flags & TCP_FIN_REQ_POSTED); 140 DbgBreakIf(frag->size > 0xffff || frag->size == 0); /* hw limit: each bd can point to a buffer with max size of 64KB */ 161 DbgBreakIf(frag_list->cnt > 0xffff); 164 DbgBreakIf(tcp_bu [all...] |
H A D | lm_l4rx.c | 67 DbgBreakIf(!isles_pool); 74 DbgBreakIf(!free_list); 87 DbgBreakIf(!(tcp && tcp->rx_con)); 90 DbgBreakIf(!isle_cnt); 91 DbgBreakIf(num_isle > isle_cnt); 119 DbgBreakIf(!(tcp && tcp->rx_con)); 122 DbgBreakIf(!(num_isle && (num_isle <= isles_cnt))); 125 // DbgBreakIf((isles_cnt > 1) && (num_isle == 1)); 213 DbgBreakIf(S64_SUB(rx_con->bytes_post_cnt + rx_con->db_more_bytes, rx_con->bytes_comp_cnt) < 0); 316 DbgBreakIf(fra [all...] |
H A D | lm_l4sp.c | 65 DbgBreakIf(!(src_ticks_per_sec && trg_ticks_per_sec)); 88 DbgBreakIf(src_time < src_ticks_per_sec); 101 DbgBreakIf(result > 0xffffffff); 159 DbgBreakIf(!(pdev && tcp)); 215 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 228 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 238 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 243 DbgBreakIf(toe_info->grqs[i].isles_pool); 252 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 263 DbgBreakIf(DBG_BREAK_O [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | l2_dbg.c | 16 DbgBreakIf(!def_sb); 37 DbgBreakIf(!def_sb); 38 DbgBreakIf(mm_le32_to_cpu(def_sb->atten_status_block.attn_bits) & lines_to_assert); 63 DbgBreakIf(!def_sb); 64 DbgBreakIf(~mm_le32_to_cpu(def_sb->atten_status_block.attn_bits) & lines_to_deassert); 88 DbgBreakIf(!def_sb); 89 DbgBreakIf(mm_le32_to_cpu(def_sb->atten_status_block.attn_bits_ack) & assert_lines_to_ack); 114 DbgBreakIf(!def_sb); 115 DbgBreakIf(~def_sb->atten_status_block.attn_bits_ack & deassert_lines_to_ack); 132 DbgBreakIf(!pde [all...] |
H A D | bnxe_context.c | 16 DbgBreakIf(cid > pdev->params.max_func_connections); 17 DbgBreakIf(pdev->context_info->array[cid].invalid != LM_CONTEXT_VALID); 38 DbgBreakIf(cid > pdev->params.max_func_connections); 39 DbgBreakIf(pdev->context_info->array[cid].invalid != LM_CONTEXT_VALID); 72 DbgBreakIf(!pdev->params.max_func_connections); 76 DbgBreakIf(!( hash_info->searcher_table)); 161 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 204 DbgBreakIf(!pdev); 212 DbgBreakIf( context == NULL ); 236 DbgBreakIf(contex [all...] |
H A D | lm_niv.c | 378 DbgBreakIf(mcp_resp != FW_MSG_CODE_AFEX_STATSGET_ACK); 399 DbgBreakIf(list_idx > 0xFFFF); 403 DbgBreakIf(list_bitmap > 0xFF); 407 DbgBreakIf(lm_status != LM_STATUS_SUCCESS); 411 DbgBreakIf(mcp_resp != FW_MSG_CODE_AFEX_LISTSET_ACK); 431 DbgBreakIf(list_idx > 0xFFFF); 435 DbgBreakIf (LM_STATUS_SUCCESS != lm_status); 439 DbgBreakIf(mcp_resp != FW_MSG_CODE_AFEX_LISTGET_ACK); 488 DbgBreakIf(1);//invalid value - FUNC_DELETED without FUNC_DISABLED 495 DbgBreakIf(mcp_res [all...] |
H A D | lm_recv.c | 14 DbgBreakIf(!(pdev && rcq_chain)); 279 DbgBreakIf(LM_TPA_CHAIN_BD_NUM_ELEM(_pdev, chain_idx) < (2^15) ); 307 DbgBreakIf(LM_TPA_MASK_LEN(pdev, chain_idx) <= mask_entry_idx); 311 DbgBreakIf(0 != (lm_bd_chain_bds_per_page(bd_chain) & BIT_VEC64_ELEM_MASK)); 312 DbgBreakIf(BIT_VEC64_ELEM_SZ >= lm_bd_chain_bds_per_page(bd_chain)); 372 DbgBreakIf( mm_le16_to_cpu(cqe->pkt_len) < pkt->l2pkt_rx_info->size); 374 DbgBreakIf( TRUE != tpa_chain->start_coales_bd[queue_index].is_entry_used); 393 DbgBreakIf(ARRSIZE(cqe->sgl_or_raw_data.sgl) < sge_num_elem); 400 DbgBreakIf( mm_le16_to_cpu(cqe->pkt_len) != pkt->l2pkt_rx_info->size); 407 DbgBreakIf(ARRSIZ [all...] |
H A D | lm_dcbx.c | 165 DbgBreakIf(dcb_config != dcb_config_sf); 247 DbgBreakIf(FALSE == pdev->params.dcbx_port_params.dcbx_enabled); 263 DbgBreakIf(pdev->params.dcbx_port_params.app.traffic_type_priority[pri] >= MAX_PFC_PRIORITIES); 294 DbgBreakIf(ELINK_STATUS_OK != elink_status); 313 DbgBreakIf(class_rx_pause == class_rx_nonpause); 314 DbgBreakIf((0 != class_rx_pause) && (1 != class_rx_pause)); 315 DbgBreakIf((0 != class_rx_nonpause) && (1 != class_rx_nonpause)); 358 DbgBreakIf(1 != class_rx_pause); 366 DbgBreakIf(ELINK_STATUS_OK != elink_status); 378 DbgBreakIf(CHIP_IS_E1 [all...] |
H A D | lm_resc.c | 134 DbgBreakIf(1); 195 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 264 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 325 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 388 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 433 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 492 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 509 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 522 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 533 DbgBreakIf(DBG_BREAK_O [all...] |
H A D | lm_sp.c | 165 DbgBreakIf(!pdev); 243 DbgBreakIf(cid == FWD_CID(pdev)); 342 DbgBreakIf(1); 416 DbgBreakIf(1); 583 DbgBreakIf(client_info_idx >= ARRSIZE(pdev->client_info)); 663 DbgBreakIf(cid >= MAX_RX_CHAIN(pdev)); 668 DbgBreakIf( LM_CLI_UPDATE_NOT_USED != pdev->client_info[client_idx].update.state); 728 DbgBreakIf( LM_CLIENT_ATTRIBUTES_RX != GET_FLAGS(attributes_bitmap,LM_CLIENT_ATTRIBUTES_RX )); 734 DbgBreakIf( LM_CLIENT_ATTRIBUTES_RX == GET_FLAGS(attributes_bitmap,LM_CLIENT_ATTRIBUTES_RX )); 755 DbgBreakIf( LM_CLIENT_ATTRIBUTES_R [all...] |
H A D | lm_sb.c | 54 DbgBreakIf(value == 0xffffffff); 73 DbgBreakIf(value == 0xffffffffffffffffULL); 171 DbgBreakIf(mode > LM_INT_MODE_MIMD); 268 DbgBreakIf(!pdev); 310 DbgBreakIf(!(pdev && (drv_sb_id <= ARRSIZE(pdev->vars.status_blocks_arr)))); 313 DbgBreakIf(!LM_SB_ID_VALID(pdev, drv_sb_id)); 503 DbgBreakIf(!pdev); 510 DbgBreakIf(!rss_sb); 511 DbgBreakIf(*(LM_RCQ(pdev, index). 513 DbgBreakIf(*(LM_TX [all...] |
H A D | lm_hw_access.c | 200 DbgBreakIf(entry->refcnt != 0); 280 DbgBreakIf (lm_status != LM_STATUS_SUCCESS); 316 DbgBreakIf(offset == INVALID_NIG_OFFSET); //trying to remove an address that isn't in the NIG. 388 DbgBreakIf(1) ; 420 DbgBreakIf(!pdev); 421 DbgBreakIf(!value_ptr); 527 DbgBreakIf(!pdev); 609 DbgBreakIf(!pdev); 812 DbgBreakIf(!pdev); 864 DbgBreakIf(!pde [all...] |
H A D | lm_dcbx_mp.c | 251 DbgBreakIf(FALSE == MM_DCB_MP_L2_IS_ENABLE(pdev)); 252 DbgBreakIf(1 == max_num_cos);
|
H A D | lm_dmae.c | 345 DbgBreakIf(LM_DMAE_MODE_SINGLE_BLOCK != context->mode); 346 DbgBreakIf(0 == context->completion_word_paddr.as_u64); 433 DbgBreakIf(LM_DMAE_MODE_SGL != context->mode); 434 DbgBreakIf(0 == context->completion_word_paddr.as_u64); 440 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 517 DbgBreakIf(LM_DMAE_MODE_SGL != operation->mode); 602 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 650 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 778 DbgBreakIf(IS_VFDEV(pdev)); 947 DbgBreakIf(contex [all...] |
H A D | bd_chain.h | 125 DbgBreakIf( 129 DbgBreakIf(!bd_chain->b_is_chain_mode); 204 DbgBreakIf((bd_chain->page_cnt + 1) * BD_PER_PAGE(bd_size) > 0xffff); 209 DbgBreakIf(bd_chain->bd_size != bd_size); 233 DbgBreakIf(bd_chain->bds_per_page != log2_align((u32_t)bd_chain->bds_per_page)); 273 DbgBreakIf(page_cnt * BD_PER_PAGE(bd_size) > 0xffff); 285 DbgBreakIf(bd_chain->bds_per_page != log2_align((u32_t)bd_chain->bds_per_page)); 423 DbgBreakIf(!bd_chain->bd_chain_virt); 521 DbgBreakIf(!bd_chain->bd_left); 572 DbgBreakIf(bd_chai [all...] |
H A D | lm_hw_attn.c | 78 DbgBreakIf(arr_size < MAX_ATTN_REGS); 428 DbgBreakIf(1); // E?? 431 DbgBreakIf( chip_idx >= ARRSIZE( init_mask_values_arr[0].mask_value ) ); 627 DbgBreakIf(1); 658 DbgBreakIf(1); 751 DbgBreakIf(PORT_ID(pdev) != 1); 838 DbgBreakIf(PORT_ID(pdev) != 1); 885 DbgBreakIf(pdev->vars.attn_state & assertion_proc_flgs); 1180 DbgBreakIf(1); 1218 DbgBreakIf( [all...] |
H A D | lm_sp_req_mgr.c | 59 DbgBreakIf( !s_list_is_empty(&sp_req_mgr->pending_reqs) ); 169 DbgBreakIf( seq_num != sp_req_mgr->req_seq_number ); 170 DbgBreakIf( (sp_req_mgr->blocked == FALSE) && (sp_req_mgr->posted_req != NULL) );
|
H A D | lm_pf.c | 93 DbgBreakIf(!DBG_BREAK_ON(UNDER_TEST)); 146 DbgBreakIf(!DBG_BREAK_ON(UNDER_TEST)); 152 DbgBreakIf(!DBG_BREAK_ON(UNDER_TEST)); 162 DbgBreakIf(!DBG_BREAK_ON(UNDER_TEST)); 227 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 237 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 246 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 254 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 263 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 301 DbgBreakIf(!(pde [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l5/ |
H A D | lm_l5sp.c | 16 DbgBreakIf(iscsi->hdr.status != STATE_STATUS_INIT_CONTEXT); 36 DbgBreakIf(iscsi->hdr.status != STATE_STATUS_NORMAL); 65 DbgBreakIf(!(pdev && iscsi && request)); 111 DbgBreakIf(!(pdev && state_blk && iscsi)); 141 DbgBreakIf(!(pdev && iscsi)); 142 DbgBreakIf(iscsi->hdr.status >= STATE_STATUS_OFFLOAD_PENDING && 156 DbgBreakIf(iscsi->hdr.status != STATE_STATUS_UPLOAD_DONE && 179 DbgBreakIf(!(pdev && fcoe)); 181 DbgBreakIf(fcoe->hdr.status >= STATE_STATUS_OFFLOAD_PENDING && 192 DbgBreakIf(fco [all...] |
H A D | lm_l5.c | 193 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 205 DbgBreakIf(mem_size != eq_addr_save->prev_mem_size); 243 DbgBreakIf(bd_chain->capacity > MAX_EQ_SIZE_ISCSI(is_chain_mode)); 258 DbgBreakIf( idx >= ARRSIZE(pdev->vars.status_blocks_arr) ); 362 DbgBreakIf(bd_chain->capacity > MAX_EQ_SIZE_FCOE(is_chain_mode)); 377 DbgBreakIf( idx >= ARRSIZE(pdev->vars.status_blocks_arr) ); 418 DbgBreakIf(1); 515 DbgBreakIf(0 != chk_buf[i]); 522 DbgBreakIf(0 != chk_buf[i]); 781 DbgBreakIf(pde [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | mm_vbd.h | 234 DbgBreakIf((_cli_idx) >= MAX_DO_TYPE_CNT); \ 235 DbgBreakIf((_type) >= RESOURCE_TYPE_MAX); \ 243 DbgBreakIf((_cli_idx) >= MAX_DO_TYPE_CNT); \ 244 DbgBreakIf((_type) >= RESOURCE_TYPE_MAX); \ 252 DbgBreakIf((_cli_idx) >= MAX_DO_TYPE_CNT); \ 253 DbgBreakIf((_type) >= RESOURCE_TYPE_MAX); \ 264 DbgBreakIf((_cli_idx) >= MAX_DO_TYPE_CNT); \ 265 DbgBreakIf((_type) >= RESOURCE_TYPE_MAX); \
|
H A D | debug.h | 346 #define DbgBreakIfAll(_cond) DbgBreakIf(_cond) 462 #define DbgBreakIf(_cond) do {\ macro 476 #define DbgBreakIfFastPath(_cond) DbgBreakIf(_cond) 544 #define DbgBreakIf(_cond) do {\ macro 561 #define DbgBreakIfFastPath(_cond) DbgBreakIf(_cond) 607 #define DbgBreakIf(_cond) do {\ macro 625 #define DbgBreakIfFastPath(_cond) DbgBreakIf(_cond) 706 #define DbgBreakIf(_c) \ macro 713 #define DbgBreakIf(_c) \ macro 726 #define DbgBreakIfFastPath(_cond) DbgBreakIf(_con 736 #define DbgBreakIf macro 803 #define DbgBreakIf macro 859 #define DbgBreakIf macro 874 #define DbgBreakIf macro [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_debug.h | 89 #define DbgBreakIf(_cond) \ macro 99 #define DbgBreakIfFastPath(_c) DbgBreakIf(_c)
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/ |
H A D | lm_vf.c | 105 DbgBreakIf(!(pdev && vf_info && vf_info->pf_vf_response.request_virt_addr && vf_info->pf_vf_response.response_virt_addr)); 186 DbgBreakIf(!(pdev && vf_info && vf_info->pf_vf_response.request_virt_addr && vf_info->pf_vf_response.response_virt_addr)); 194 DbgBreakIf(vf_info->vf_stats.vf_stats_state != VF_STATS_NONE); 207 DbgBreakIf((XSTORM_SPQ_DATA_SIZE % 4) != 0); 270 DbgBreakIf(!(pdev && vf_info && vf_info->pf_vf_response.request_virt_addr && vf_info->pf_vf_response.response_virt_addr)); 283 DbgBreakIf(rxq_params->sge_addr == 0); 289 DbgBreakIf(DBG_BREAK_ON(MEMORY_ALLOCATION_FAILURE)); 324 DbgBreakIf(vf_info->vf_stats.vf_stats_state != VF_STATS_REQ_READY) 656 DbgBreakIf(!(pdev && IS_CHANNEL_VIRT_MODE_MASTER_PFDEV(pdev) && vf_info && (vf_info->pf_vf_response.req_resp_state == VF_PF_REQUEST_IN_PROCESSING))); 679 DbgBreakIf(!DBG_BREAK_O [all...] |