Home
last modified time | relevance | path

Searched refs:completed_bytes (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4fp.c73 u32_t completed_bytes, /* num bytes completed (might be 0) */ in lm_tcp_complete_nbytes() argument
78 u32_t actual_completed_bytes = completed_bytes; in lm_tcp_complete_nbytes()
86 con->dpc_info.dpc_rq_placed_bytes += completed_bytes; in lm_tcp_complete_nbytes()
92 while(tcp_buf && tcp_buf->more_to_comp <= completed_bytes) { /* buffer fully completed */ in lm_tcp_complete_nbytes()
98 completed_bytes -= tcp_buf->more_to_comp; in lm_tcp_complete_nbytes()
124 DbgBreakIf((con->type == TCP_CON_TYPE_RX) && completed_bytes && !tcp_buf); in lm_tcp_complete_nbytes()
125 …DbgBreakIf((con->type == TCP_CON_TYPE_TX) && completed_bytes > 1 && !tcp_buf); /* could be 1 if fi… in lm_tcp_complete_nbytes()
134 tcp_buf->more_to_comp -= completed_bytes; in lm_tcp_complete_nbytes()
135 con->app_buf_bytes_acc_comp += completed_bytes; in lm_tcp_complete_nbytes()
136 completed_bytes = 0; in lm_tcp_complete_nbytes()
[all …]
H A Dlm_l4tx.c245 u32_t completed_bytes in lm_tcp_tx_cmp_process() argument
253 tcp->cid, completed_bytes); in lm_tcp_tx_cmp_process()
260 tx_con->bytes_comp_cnt += completed_bytes; in lm_tcp_tx_cmp_process()
263 DbgBreakIf(!completed_bytes); in lm_tcp_tx_cmp_process()
265 actual_completed = lm_tcp_complete_nbytes(pdev, tcp, tcp->tx_con, completed_bytes, FALSE); in lm_tcp_tx_cmp_process()
267 if (actual_completed != completed_bytes) { in lm_tcp_tx_cmp_process()
268 DbgBreakIf(actual_completed > completed_bytes); in lm_tcp_tx_cmp_process()
269 DbgBreakIf((completed_bytes - actual_completed) != 1); in lm_tcp_tx_cmp_process()
H A Dlm_l4fp.h24 u32_t completed_bytes, /* num bytes completed (might be 0) */
H A Dlm_l4rx.c336 …* pdev, lm_tcp_state_t * tcp, lm_tcp_con_t * con, lm_tcp_buffer_t * tcp_buf, u32_t completed_bytes) in lm_tcp_complete_tcp_buf() argument
341 DbgBreakIf(completed_bytes > tcp_buf->more_to_comp); in lm_tcp_complete_tcp_buf()
342 tcp_buf->more_to_comp -= completed_bytes; in lm_tcp_complete_tcp_buf()
343 con->app_buf_bytes_acc_comp += completed_bytes; in lm_tcp_complete_tcp_buf()
384 u32_t completed_bytes, in lm_tcp_rx_cmp_process() argument
392 …rx, "##lm_tcp_rx_cmp_process, completed_bytes=%d, push=%d cid=%d\n", completed_bytes, push, tcp->c… in lm_tcp_rx_cmp_process()
393 …DbgBreakIf(!(completed_bytes || push)); /* otherwise there is no point for this function to be cal… in lm_tcp_rx_cmp_process()
408 … actual_bytes_completed = lm_tcp_complete_nbytes(pdev, tcp, rx_con, completed_bytes , push); in lm_tcp_rx_cmp_process()
416 if ( completed_bytes ) { in lm_tcp_rx_cmp_process()