Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_eth_com.h101 temp = required_buffers / io_sq->llq_info.descs_per_entry + 2; in ena_com_sq_have_enough_space()
120 io_sq->llq_info.max_entries_in_tx_burst > 0; in is_llq_max_tx_burst_exists()
126 struct ena_com_llq_info *llq_info; in ena_com_is_doorbell_needed() local
134 llq_info = &io_sq->llq_info; in ena_com_is_doorbell_needed()
137 if (llq_info->disable_meta_caching || in ena_com_is_doorbell_needed()
141 if (num_descs > llq_info->descs_num_before_header) { in ena_com_is_doorbell_needed()
142 descs_after_first_entry = num_descs - llq_info->descs_num_before_header; in ena_com_is_doorbell_needed()
144 llq_info->descs_per_entry); in ena_com_is_doorbell_needed()
156 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()
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
196 0x0, llq_info->desc_list_entry_size); in ena_com_sq_update_llq_tail()
[all …]
H A Dena_com.c363 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()
584 struct ena_com_llq_info *llq_info = &ena_dev->llq_info; in ena_com_set_llq() local
618 struct ena_com_llq_info *llq_info = &ena_dev->llq_info; in ena_com_config_llq_info() local
623 memset(llq_info, 0, sizeof(*llq_info)); in ena_com_config_llq_info()
628 llq_info->header_location_ctrl = in ena_com_config_llq_info()
658 llq_info->desc_stride_ctrl = 0; in ena_com_config_llq_info()
696 llq_info->descs_per_entry = llq_info->desc_list_entry_size / in ena_com_config_llq_info()
699 llq_info->descs_per_entry = 1; in ena_com_config_llq_info()
728 llq_info->disable_meta_caching = in ena_com_config_llq_info()
[all …]
H A Dena_com.h170 struct ena_com_llq_info llq_info; member
332 struct ena_com_llq_info llq_info; member