Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/amazon/ena/
Dena_eth_com.h97 temp = required_buffers / io_sq->llq_info.descs_per_entry + 2; in ena_com_sq_have_enough_space()
116 io_sq->llq_info.max_entries_in_tx_burst > 0; in is_llq_max_tx_burst_exists()
122 struct ena_com_llq_info *llq_info; in ena_com_is_doorbell_needed() local
130 llq_info = &io_sq->llq_info; in ena_com_is_doorbell_needed()
133 if (llq_info->disable_meta_caching || in ena_com_is_doorbell_needed()
137 if (num_descs > llq_info->descs_num_before_header) { in ena_com_is_doorbell_needed()
138 descs_after_first_entry = num_descs - llq_info->descs_num_before_header; in ena_com_is_doorbell_needed()
140 llq_info->descs_per_entry); in ena_com_is_doorbell_needed()
152 u16 max_entries_in_tx_burst = io_sq->llq_info.max_entries_in_tx_burst; in ena_com_write_sq_doorbell()
Dena_eth_com.c51 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_write_bounce_buffer_to_dev() local
57 dst_offset = dst_tail_mask * llq_info->desc_list_entry_size; in ena_com_write_bounce_buffer_to_dev()
79 bounce_buffer, (llq_info->desc_list_entry_size) / 8); in ena_com_write_bounce_buffer_to_dev()
95 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_write_header_to_bounce() local
103 llq_info->descs_num_before_header * io_sq->desc_entry_size; in ena_com_write_header_to_bounce()
106 llq_info->desc_list_entry_size)) { in ena_com_write_header_to_bounce()
147 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_close_bounce_buffer() local
166 0x0, llq_info->desc_list_entry_size); 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()
185 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_sq_update_llq_tail() local
[all …]
Dena_com.c358 ena_dev->llq_info.desc_list_entry_size; in ena_com_init_io_sq()
381 memcpy(&io_sq->llq_info, &ena_dev->llq_info, in ena_com_init_io_sq()
382 sizeof(io_sq->llq_info)); in ena_com_init_io_sq()
388 0x0, io_sq->llq_info.desc_list_entry_size); in ena_com_init_io_sq()
390 io_sq->llq_info.descs_num_before_header; in ena_com_init_io_sq()
392 io_sq->llq_info.disable_meta_caching; in ena_com_init_io_sq()
394 if (io_sq->llq_info.max_entries_in_tx_burst > 0) in ena_com_init_io_sq()
396 io_sq->llq_info.max_entries_in_tx_burst; in ena_com_init_io_sq()
609 struct ena_com_llq_info *llq_info = &ena_dev->llq_info; in ena_com_set_llq() local
618 cmd.u.llq.header_location_ctrl_enabled = llq_info->header_location_ctrl; in ena_com_set_llq()
[all …]
Dena_com.h170 struct ena_com_llq_info llq_info; member
332 struct ena_com_llq_info llq_info; member