Lines Matching refs:pkt_ctrl
94 struct ena_com_llq_pkt_ctrl *pkt_ctrl = &io_sq->llq_buf_ctrl; in ena_com_write_header_to_bounce() local
96 u8 *bounce_buffer = pkt_ctrl->curr_bounce_buf; in ena_com_write_header_to_bounce()
125 struct ena_com_llq_pkt_ctrl *pkt_ctrl = &io_sq->llq_buf_ctrl; in get_sq_desc_llq() local
129 bounce_buffer = pkt_ctrl->curr_bounce_buf; in get_sq_desc_llq()
137 sq_desc = bounce_buffer + pkt_ctrl->idx * io_sq->desc_entry_size; in get_sq_desc_llq()
138 pkt_ctrl->idx++; in get_sq_desc_llq()
139 pkt_ctrl->descs_left_in_line--; in get_sq_desc_llq()
146 struct ena_com_llq_pkt_ctrl *pkt_ctrl = &io_sq->llq_buf_ctrl; in ena_com_close_bounce_buffer() local
154 if (likely(pkt_ctrl->idx)) { in ena_com_close_bounce_buffer()
156 pkt_ctrl->curr_bounce_buf); in ena_com_close_bounce_buffer()
163 pkt_ctrl->curr_bounce_buf = in ena_com_close_bounce_buffer()
169 pkt_ctrl->idx = 0; in ena_com_close_bounce_buffer()
170 pkt_ctrl->descs_left_in_line = llq_info->descs_num_before_header; in ena_com_close_bounce_buffer()
184 struct ena_com_llq_pkt_ctrl *pkt_ctrl = &io_sq->llq_buf_ctrl; in ena_com_sq_update_llq_tail() local
188 if (!pkt_ctrl->descs_left_in_line) { in ena_com_sq_update_llq_tail()
190 pkt_ctrl->curr_bounce_buf); in ena_com_sq_update_llq_tail()
197 pkt_ctrl->curr_bounce_buf = in ena_com_sq_update_llq_tail()
202 pkt_ctrl->idx = 0; in ena_com_sq_update_llq_tail()
204 pkt_ctrl->descs_left_in_line = 1; in ena_com_sq_update_llq_tail()
206 pkt_ctrl->descs_left_in_line = in ena_com_sq_update_llq_tail()