Lines Matching refs:pkt_ctrl
111 struct ena_com_llq_pkt_ctrl *pkt_ctrl = &io_sq->llq_buf_ctrl; in ena_com_write_header_to_bounce() local
113 u8 *bounce_buffer = pkt_ctrl->curr_bounce_buf; in ena_com_write_header_to_bounce()
139 struct ena_com_llq_pkt_ctrl *pkt_ctrl = &io_sq->llq_buf_ctrl; in get_sq_desc_llq() local
143 bounce_buffer = pkt_ctrl->curr_bounce_buf; in get_sq_desc_llq()
150 sq_desc = bounce_buffer + pkt_ctrl->idx * io_sq->desc_entry_size; in get_sq_desc_llq()
151 pkt_ctrl->idx++; in get_sq_desc_llq()
152 pkt_ctrl->descs_left_in_line--; in get_sq_desc_llq()
159 struct ena_com_llq_pkt_ctrl *pkt_ctrl = &io_sq->llq_buf_ctrl; in ena_com_close_bounce_buffer() local
166 if (pkt_ctrl->idx) { in ena_com_close_bounce_buffer()
168 pkt_ctrl->curr_bounce_buf); in ena_com_close_bounce_buffer()
169 pkt_ctrl->curr_bounce_buf = in ena_com_close_bounce_buffer()
175 pkt_ctrl->idx = 0; in ena_com_close_bounce_buffer()
176 pkt_ctrl->descs_left_in_line = llq_info->descs_num_before_header; in ena_com_close_bounce_buffer()
189 struct ena_com_llq_pkt_ctrl *pkt_ctrl = &io_sq->llq_buf_ctrl; in ena_com_sq_update_llq_tail() local
192 if (!pkt_ctrl->descs_left_in_line) { in ena_com_sq_update_llq_tail()
194 pkt_ctrl->curr_bounce_buf); in ena_com_sq_update_llq_tail()
196 pkt_ctrl->curr_bounce_buf = in ena_com_sq_update_llq_tail()
201 pkt_ctrl->idx = 0; in ena_com_sq_update_llq_tail()
203 pkt_ctrl->descs_left_in_line = 1; in ena_com_sq_update_llq_tail()
205 pkt_ctrl->descs_left_in_line = in ena_com_sq_update_llq_tail()