Home
last modified time | relevance | path

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

/drivers/net/ethernet/amazon/ena/
Dena_eth_com.h123 temp = required_buffers / io_sq->llq_info.descs_per_entry + 2; in ena_com_sq_have_enough_space()
142 io_sq->llq_info.max_entries_in_tx_burst > 0; in is_llq_max_tx_burst_exists()
148 struct ena_com_llq_info *llq_info; in ena_com_is_doorbell_needed() local
156 llq_info = &io_sq->llq_info; in ena_com_is_doorbell_needed()
162 if (num_descs > llq_info->descs_num_before_header) { in ena_com_is_doorbell_needed()
163 descs_after_first_entry = num_descs - llq_info->descs_num_before_header; in ena_com_is_doorbell_needed()
165 llq_info->descs_per_entry); in ena_com_is_doorbell_needed()
176 u16 max_entries_in_tx_burst = io_sq->llq_info.max_entries_in_tx_burst; in ena_com_write_sq_doorbell()
Dena_eth_com.c77 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_write_bounce_buffer_to_dev() local
83 dst_offset = dst_tail_mask * llq_info->desc_list_entry_size; in ena_com_write_bounce_buffer_to_dev()
103 bounce_buffer, (llq_info->desc_list_entry_size) / 8); in ena_com_write_bounce_buffer_to_dev()
119 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_write_header_to_bounce() local
127 llq_info->descs_num_before_header * io_sq->desc_entry_size; in ena_com_write_header_to_bounce()
130 llq_info->desc_list_entry_size)) { in ena_com_write_header_to_bounce()
168 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_close_bounce_buffer() local
184 0x0, llq_info->desc_list_entry_size); in ena_com_close_bounce_buffer()
188 pkt_ctrl->descs_left_in_line = llq_info->descs_num_before_header; in ena_com_close_bounce_buffer()
203 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_sq_update_llq_tail() local
[all …]
Dena_com.c367 ena_dev->llq_info.desc_list_entry_size; in ena_com_init_io_sq()
389 memcpy(&io_sq->llq_info, &ena_dev->llq_info, in ena_com_init_io_sq()
390 sizeof(io_sq->llq_info)); in ena_com_init_io_sq()
396 0x0, io_sq->llq_info.desc_list_entry_size); in ena_com_init_io_sq()
398 io_sq->llq_info.descs_num_before_header; in ena_com_init_io_sq()
400 if (io_sq->llq_info.max_entries_in_tx_burst > 0) in ena_com_init_io_sq()
402 io_sq->llq_info.max_entries_in_tx_burst; in ena_com_init_io_sq()
602 struct ena_com_llq_info *llq_info = &ena_dev->llq_info; in ena_com_set_llq() local
611 cmd.u.llq.header_location_ctrl_enabled = llq_info->header_location_ctrl; in ena_com_set_llq()
612 cmd.u.llq.entry_size_ctrl_enabled = llq_info->desc_list_entry_size_ctrl; in ena_com_set_llq()
[all …]
Dena_com.h191 struct ena_com_llq_info llq_info; member
350 struct ena_com_llq_info llq_info; member