Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.h99 temp = required_buffers / io_sq->llq_info.descs_per_entry + 2; in ena_com_sq_have_enough_space()
118 io_sq->llq_info.max_entries_in_tx_burst > 0; in is_llq_max_tx_burst_exists()
124 struct ena_com_llq_info *llq_info; in ena_com_is_doorbell_needed() local
132 llq_info = &io_sq->llq_info; in ena_com_is_doorbell_needed()
135 if (llq_info->disable_meta_caching || in ena_com_is_doorbell_needed()
139 if (num_descs > llq_info->descs_num_before_header) { in ena_com_is_doorbell_needed()
140 descs_after_first_entry = num_descs - llq_info->descs_num_before_header; in ena_com_is_doorbell_needed()
142 llq_info->descs_per_entry); in ena_com_is_doorbell_needed()
154 u16 max_entries_in_tx_burst = io_sq->llq_info.max_entries_in_tx_burst; in ena_com_write_sq_doorbell()
H A Dena_eth_com.c50 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_write_bounce_buffer_to_dev() local
56 dst_offset = dst_tail_mask * llq_info->desc_list_entry_size; in ena_com_write_bounce_buffer_to_dev()
78 (llq_info->desc_list_entry_size) / 8); in ena_com_write_bounce_buffer_to_dev()
94 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_write_header_to_bounce() local
102 llq_info->descs_num_before_header * io_sq->desc_entry_size; in ena_com_write_header_to_bounce()
104 if (unlikely((header_offset + header_len) > llq_info->desc_list_entry_size)) { in ena_com_write_header_to_bounce()
143 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_close_bounce_buffer() local
162 0x0, llq_info->desc_list_entry_size); in ena_com_close_bounce_buffer()
166 pkt_ctrl->descs_left_in_line = llq_info->descs_num_before_header; in ena_com_close_bounce_buffer()
181 struct ena_com_llq_info *llq_info = &io_sq->llq_info; in ena_com_sq_update_llq_tail() local
[all …]
H A Dena_com.c345 ena_dev->llq_info.desc_list_entry_size; in ena_com_init_io_sq()
363 memcpy(&io_sq->llq_info, &ena_dev->llq_info, in ena_com_init_io_sq()
364 sizeof(io_sq->llq_info)); in ena_com_init_io_sq()
370 0x0, io_sq->llq_info.desc_list_entry_size); in ena_com_init_io_sq()
372 io_sq->llq_info.descs_num_before_header; in ena_com_init_io_sq()
374 io_sq->llq_info.disable_meta_caching; in ena_com_init_io_sq()
376 if (io_sq->llq_info.max_entries_in_tx_burst > 0) in ena_com_init_io_sq()
378 io_sq->llq_info.max_entries_in_tx_burst; in ena_com_init_io_sq()
584 struct ena_com_llq_info *llq_info = &ena_dev->llq_info; in ena_com_set_llq() local
593 cmd.u.llq.header_location_ctrl_enabled = llq_info->header_location_ctrl; in ena_com_set_llq()
[all …]
H A Dena_com.h167 struct ena_com_llq_info llq_info; member
341 struct ena_com_llq_info llq_info; member