Home
last modified time | relevance | path

Searched refs:curr_gen_buf (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4rx.c620 lm_tcp_gen_buf_t * curr_gen_buf; in lm_tcp_rx_peninsula_to_rq_copy() local
638 curr_gen_buf = (lm_tcp_gen_buf_t *)d_list_peek_head(peninsula); in lm_tcp_rx_peninsula_to_rq_copy()
643 while (bytes_left && curr_gen_buf && curr_gen_buf->placed_bytes) { in lm_tcp_rx_peninsula_to_rq_copy()
644 ncopy = curr_gen_buf->placed_bytes - gen_info->first_buf_offset; in lm_tcp_rx_peninsula_to_rq_copy()
649curr_gen_buf->buf_virt + gen_info->first_buf_offset, /* start of data in generic buffer */ in lm_tcp_rx_peninsula_to_rq_copy()
656 if (!GET_FLAGS(curr_gen_buf->flags, GEN_FLAG_FREE_WHEN_DONE)) { in lm_tcp_rx_peninsula_to_rq_copy()
659 curr_gen_buf->buf_phys, in lm_tcp_rx_peninsula_to_rq_copy()
684 if (curr_gen_buf->placed_bytes == gen_info->first_buf_offset) { in lm_tcp_rx_peninsula_to_rq_copy()
685 curr_gen_buf = (lm_tcp_gen_buf_t *)d_list_pop_head(peninsula); in lm_tcp_rx_peninsula_to_rq_copy()
686 d_list_push_tail(return_list, &curr_gen_buf->link); in lm_tcp_rx_peninsula_to_rq_copy()
[all …]
H A Dlm_l4sp.c336 lm_tcp_gen_buf_t * curr_gen_buf; in lm_tcp_rx_fill_grq() local
464 curr_gen_buf = (lm_tcp_gen_buf_t *)d_list_peek_head(&tmp_gen_buf_list); in lm_tcp_rx_fill_grq()
470 DbgBreakIf(SIG(curr_gen_buf->buf_virt) != L4GEN_BUFFER_SIG); in lm_tcp_rx_fill_grq()
471 …DbgMessage(pdev, VERBOSEl4rx, "curr_gen_buf->buf_virt=0x%p, END_SIG=0x%x\n", curr_gen_buf->buf_vir… in lm_tcp_rx_fill_grq()
472 END_SIG(curr_gen_buf->buf_virt, LM_TCP_GEN_BUF_SIZE(pdev))); in lm_tcp_rx_fill_grq()
473 … DbgBreakIf(END_SIG(curr_gen_buf->buf_virt, LM_TCP_GEN_BUF_SIZE(pdev)) != L4GEN_BUFFER_SIG_END); in lm_tcp_rx_fill_grq()
476 curr_gen_buf->ind_bytes = 0; in lm_tcp_rx_fill_grq()
477 curr_gen_buf->ind_nbufs = 0; in lm_tcp_rx_fill_grq()
478 curr_gen_buf->placed_bytes = 0; in lm_tcp_rx_fill_grq()
479 curr_gen_buf->refcnt = 0; in lm_tcp_rx_fill_grq()
[all …]