Lines Matching refs:packet

87     lm_packet_t *packet)    /* optional. */  in lm_post_buffers()  argument
99 if(packet) in lm_post_buffers()
101 DbgBreakIf(SIG(packet) != L2PACKET_RX_SIG); in lm_post_buffers()
105 s_list_push_tail(&rxq->free_descq, &packet->link); in lm_post_buffers()
106 packet = NULL; in lm_post_buffers()
111 packet = (lm_packet_t *) s_list_pop_head(&rxq->free_descq); in lm_post_buffers()
114 while(packet) in lm_post_buffers()
119 ((u32_t *) packet->u1.rx.mem_virt)[0] = 0; in lm_post_buffers()
120 ((u32_t *) packet->u1.rx.mem_virt)[1] = 0; in lm_post_buffers()
121 ((u32_t *) packet->u1.rx.mem_virt)[2] = 0; in lm_post_buffers()
122 ((u32_t *) packet->u1.rx.mem_virt)[3] = 0; in lm_post_buffers()
124 packet->u1.rx.dbg_bd = cur_bd; in lm_post_buffers()
126 DbgBreakIf(SIG(packet) != L2PACKET_RX_SIG); in lm_post_buffers()
130 packet->u1.rx.mem_phy.as_u64, in lm_post_buffers()
131 packet->u1.rx.buf_size); in lm_post_buffers()
132 rxq->prod_bseq += packet->u1.rx.buf_size; in lm_post_buffers()
133 packet->u1.rx.next_bd_idx = rxq->prod_idx; in lm_post_buffers()
147 s_list_push_tail(&rxq->active_descq, &packet->link); in lm_post_buffers()
155 packet = (lm_packet_t *) s_list_pop_head(&rxq->free_descq); in lm_post_buffers()
514 lm_packet_t *packet, in lm_post_buffers() argument
529 if(packet) in lm_post_buffers()
540 pkt_info = packet->u1.rx.rx_pkt_info; in lm_post_buffers()
549 packet->u1.rx.dbg_bd = cur_bd; in lm_post_buffers()
550 packet->u1.rx.dbg_bd1 = NULL; in lm_post_buffers()
568 packet->u1.rx.dbg_bd1 = rxq->prod_bd; in lm_post_buffers()
591 packet->u1.rx.next_bd_idx = rxq->prod_idx; in lm_post_buffers()
603 s_list_push_tail(&rxq->active_descq, &packet->link); in lm_post_buffers()