| /dpdk/drivers/net/ice/base/ |
| H A D | ice_common.h | 27 void ice_set_umac_shared(struct ice_hw *hw); 28 enum ice_status ice_init_hw(struct ice_hw *hw); 29 void ice_deinit_hw(struct ice_hw *hw); 36 void ice_destroy_all_ctrlq(struct ice_hw *hw); 63 void ice_clear_pxe_mode(struct ice_hw *hw); 93 ice_write_tx_cmpltnq_ctx(struct ice_hw *hw, 229 void ice_replay_post(struct ice_hw *hw); 234 void ice_sbq_lock(struct ice_hw *hw); 235 void ice_sbq_unlock(struct ice_hw *hw); 249 bool ice_is_e810(struct ice_hw *hw); [all …]
|
| H A D | ice_flex_pipe.h | 26 void ice_release_change_lock(struct ice_hw *hw); 37 ice_init_prof_result_bm(struct ice_hw *hw); 59 bool ice_hw_ptype_ena(struct ice_hw *hw, u16 ptype); 64 void ice_disable_fd_swap(struct ice_hw *hw, u16 prof_id); 69 void ice_init_all_prof_masks(struct ice_hw *hw); 70 void ice_shutdown_all_prof_masks(struct ice_hw *hw); 85 enum ice_status ice_init_hw_tbls(struct ice_hw *hw); 86 void ice_free_seg(struct ice_hw *hw); 87 void ice_fill_blk_tbls(struct ice_hw *hw); 88 void ice_clear_hw_tbls(struct ice_hw *hw); [all …]
|
| H A D | ice_switch.h | 414 void ice_clear_all_vsi_ctx(struct ice_hw *hw); 455 ice_aq_get_res_alloc(struct ice_hw *hw, u16 *num_entries, 459 ice_aq_get_res_descs(struct ice_hw *hw, u16 num_entries, 466 void ice_rem_all_sw_rules_info(struct ice_hw *hw); 508 ice_aq_add_recipe(struct ice_hw *hw, 513 ice_aq_get_recipe(struct ice_hw *hw, 532 ice_rem_adv_rule_by_id(struct ice_hw *hw, 538 enum ice_status ice_replay_all_fltr(struct ice_hw *hw); 543 bool ice_is_vsi_valid(struct ice_hw *hw, u16 vsi_handle); 549 void ice_rm_all_sw_replay_rule_info(struct ice_hw *hw); [all …]
|
| H A D | ice_ptp_hw.h | 128 u8 ice_get_ptp_src_clock_index(struct ice_hw *hw); 129 u64 ice_ptp_read_src_incval(struct ice_hw *hw); 130 bool ice_ptp_lock(struct ice_hw *hw); 131 void ice_ptp_unlock(struct ice_hw *hw); 142 ice_clear_phy_tstamp(struct ice_hw *hw, u8 block, u8 idx); 143 enum ice_status ice_ptp_init_phc(struct ice_hw *hw); 209 enum ice_status ice_ptp_set_vernier_wl(struct ice_hw *hw); 211 ice_phy_get_speed_and_fec_e822(struct ice_hw *hw, u8 port, 214 void ice_phy_cfg_lane_e822(struct ice_hw *hw, u8 port); 224 enum ice_status ice_ptp_init_phy_e810(struct ice_hw *hw); [all …]
|
| H A D | ice_acl.h | 131 enum ice_status ice_acl_destroy_tbl(struct ice_hw *hw); 139 ice_aq_dealloc_acl_tbl(struct ice_hw *hw, u16 alloc_id, 148 ice_aq_alloc_actpair(struct ice_hw *hw, u16 alloc_id, 151 ice_aq_dealloc_actpair(struct ice_hw *hw, u16 alloc_id, 161 ice_prgm_acl_prof_xtrct(struct ice_hw *hw, u8 prof_id, 165 ice_query_acl_prof(struct ice_hw *hw, u8 prof_id, 175 ice_prog_acl_prof_ranges(struct ice_hw *hw, u8 prof_id, 179 ice_query_acl_prof_ranges(struct ice_hw *hw, u8 prof_id, 183 ice_aq_alloc_acl_scen(struct ice_hw *hw, u16 *scen_id, 188 ice_aq_update_acl_scen(struct ice_hw *hw, u16 scen_id, [all …]
|
| H A D | ice_nvm.h | 74 ice_nvm_access_read(struct ice_hw *hw, struct ice_nvm_access_cmd *cmd, 77 ice_nvm_access_write(struct ice_hw *hw, struct ice_nvm_access_cmd *cmd, 86 ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access); 87 void ice_release_nvm(struct ice_hw *hw); 93 ice_read_flat_nvm(struct ice_hw *hw, u32 offset, u32 *length, u8 *data, 101 ice_get_inactive_nvm_ver(struct ice_hw *hw, struct ice_nvm_info *nvm); 103 ice_read_pba_string(struct ice_hw *hw, u8 *pba_num, u32 pba_num_size); 104 enum ice_status ice_init_nvm(struct ice_hw *hw); 107 ice_read_sr_buf(struct ice_hw *hw, u16 offset, u16 *words, u16 *data); 108 enum ice_status ice_nvm_validate_checksum(struct ice_hw *hw); [all …]
|
| H A D | ice_acl.c | 68 ice_aq_dealloc_acl_tbl(struct ice_hw *hw, u16 alloc_id, in ice_aq_dealloc_acl_tbl() 167 ice_aq_alloc_actpair(struct ice_hw *hw, u16 alloc_id, in ice_aq_alloc_actpair() 184 ice_aq_dealloc_actpair(struct ice_hw *hw, u16 alloc_id, in ice_aq_dealloc_actpair() 276 ice_acl_prof_aq_send(struct ice_hw *hw, u16 opc, u8 prof_id, in ice_acl_prof_aq_send() 300 ice_prgm_acl_prof_xtrct(struct ice_hw *hw, u8 prof_id, in ice_prgm_acl_prof_xtrct() 318 ice_query_acl_prof(struct ice_hw *hw, u8 prof_id, in ice_query_acl_prof() 447 ice_prog_acl_prof_ranges(struct ice_hw *hw, u8 prof_id, in ice_prog_acl_prof_ranges() 470 ice_query_acl_prof_ranges(struct ice_hw *hw, u8 prof_id, in ice_query_acl_prof_ranges() 492 ice_aq_alloc_acl_scen(struct ice_hw *hw, u16 *scen_id, in ice_aq_alloc_acl_scen() 570 ice_aq_update_acl_scen(struct ice_hw *hw, u16 scen_id, in ice_aq_update_acl_scen() [all …]
|
| H A D | ice_vlan_mode.c | 13 ice_pkg_get_supported_vlan_mode(struct ice_hw *hw, bool *dvm) in ice_pkg_get_supported_vlan_mode() 64 ice_aq_get_vlan_mode(struct ice_hw *hw, in ice_aq_get_vlan_mode() 90 static bool ice_aq_is_dvm_ena(struct ice_hw *hw) in ice_aq_is_dvm_ena() 114 bool ice_is_dvm_ena(struct ice_hw *hw) in ice_is_dvm_ena() 127 static void ice_cache_vlan_mode(struct ice_hw *hw) in ice_cache_vlan_mode() 136 static bool ice_pkg_supports_dvm(struct ice_hw *hw) in ice_pkg_supports_dvm() 155 static bool ice_fw_supports_dvm(struct ice_hw *hw) in ice_fw_supports_dvm() 183 static bool ice_is_dvm_supported(struct ice_hw *hw) in ice_is_dvm_supported() 276 ice_aq_set_vlan_mode(struct ice_hw *hw, in ice_aq_set_vlan_mode() 310 static enum ice_status ice_set_dvm(struct ice_hw *hw) in ice_set_dvm() [all …]
|
| H A D | ice_fdir.h | 297 enum ice_status ice_alloc_fd_res_cntr(struct ice_hw *hw, u16 *cntr_id); 298 enum ice_status ice_free_fd_res_cntr(struct ice_hw *hw, u16 cntr_id); 300 ice_alloc_fd_guar_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr); 302 ice_free_fd_guar_item(struct ice_hw *hw, u16 cntr_id, u16 num_fltr); 304 ice_alloc_fd_shrd_item(struct ice_hw *hw, u16 *cntr_id, u16 num_fltr); 306 ice_free_fd_shrd_item(struct ice_hw *hw, u16 cntr_id, u16 num_fltr); 307 enum ice_status ice_clear_pf_fd_table(struct ice_hw *hw); 309 ice_fdir_get_prgm_desc(struct ice_hw *hw, struct ice_fdir_fltr *input, 316 int ice_get_fdir_cnt_all(struct ice_hw *hw); 320 ice_fdir_find_fltr_by_idx(struct ice_hw *hw, u32 fltr_idx); [all …]
|
| H A D | ice_dcb.h | 192 ice_aq_get_lldp_mib(struct ice_hw *hw, u8 bridge_type, u8 mib_type, void *buf, 196 ice_aq_get_cee_dcb_cfg(struct ice_hw *hw, 200 ice_aq_set_pfc_mode(struct ice_hw *hw, u8 pfc_mode, struct ice_sq_cd *cd); 202 u8 ice_get_dcbx_status(struct ice_hw *hw); 204 ice_aq_get_dcb_cfg(struct ice_hw *hw, u8 mib_type, u8 bridgetype, 208 enum ice_status ice_init_dcb(struct ice_hw *hw, bool enable_mib_change); 222 ice_aq_stop_lldp(struct ice_hw *hw, bool shutdown_lldp_agent, bool persist, 225 ice_aq_start_lldp(struct ice_hw *hw, bool persist, struct ice_sq_cd *cd); 227 ice_aq_start_stop_dcbx(struct ice_hw *hw, bool start_dcbx_agent, 229 enum ice_status ice_cfg_lldp_mib_change(struct ice_hw *hw, bool ena_mib); [all …]
|
| H A D | ice_flow.h | 557 ice_flow_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 prof_id); 559 ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk, 565 ice_flow_set_hw_prof(struct ice_hw *hw, u16 dest_vsi_handle, 574 ice_flow_add_entry(struct ice_hw *hw, enum ice_block blk, u64 prof_id, 579 ice_flow_rem_entry(struct ice_hw *hw, enum ice_block blk, u64 entry_h); 591 void ice_rem_vsi_rss_list(struct ice_hw *hw, u16 vsi_handle); 592 enum ice_status ice_replay_rss_cfg(struct ice_hw *hw, u16 vsi_handle); 597 ice_add_rss_cfg(struct ice_hw *hw, u16 vsi_handle, 600 ice_rem_rss_cfg(struct ice_hw *hw, u16 vsi_handle, 602 void ice_rss_update_raw_symm(struct ice_hw *hw, [all …]
|
| H A D | ice_ptp_hw.c | 80 u8 ice_get_ptp_src_clock_index(struct ice_hw *hw) in ice_get_ptp_src_clock_index() 91 u64 ice_ptp_read_src_incval(struct ice_hw *hw) in ice_ptp_read_src_incval() 112 static void ice_ptp_exec_tmr_cmd(struct ice_hw *hw) in ice_ptp_exec_tmr_cmd() 1022 ice_ptp_prep_phy_time_e822(struct ice_hw *hw, u32 time) in ice_ptp_prep_phy_time_e822() 1540 void ice_phy_cfg_lane_e822(struct ice_hw *hw, u8 port) in ice_phy_cfg_lane_e822() 1988 ice_phy_calc_pmd_adj_e822(struct ice_hw *hw, u8 port, in ice_phy_calc_pmd_adj_e822() 2836 enum ice_status ice_ptp_init_phy_e810(struct ice_hw *hw) in ice_ptp_init_phy_e810() 3278 bool ice_e810t_is_pca9575_present(struct ice_hw *hw) in ice_e810t_is_pca9575_present() 3315 bool ice_ptp_lock(struct ice_hw *hw) in ice_ptp_lock() 3344 void ice_ptp_unlock(struct ice_hw *hw) in ice_ptp_unlock() [all …]
|
| H A D | ice_sched.h | 77 ice_aq_query_rl_profile(struct ice_hw *hw, u16 num_profiles, 81 ice_aq_cfg_l2_node_cgd(struct ice_hw *hw, u16 num_nodes, 85 ice_aq_query_sched_elems(struct ice_hw *hw, u16 elems_req, 89 enum ice_status ice_sched_query_res_alloc(struct ice_hw *hw); 90 void ice_sched_get_psm_clk_freq(struct ice_hw *hw); 94 void ice_sched_cleanup_all(struct ice_hw *hw); 95 void ice_sched_clear_agg(struct ice_hw *hw); 119 ice_aq_query_node_to_root(struct ice_hw *hw, u32 node_teid, 209 enum ice_status ice_cfg_rl_burst_size(struct ice_hw *hw, u32 bytes); 210 void ice_sched_replay_agg_vsi_preinit(struct ice_hw *hw); [all …]
|
| H A D | ice_pg_cam.h | 60 void ice_pg_cam_dump(struct ice_hw *hw, struct ice_pg_cam_item *item); 61 void ice_pg_nm_cam_dump(struct ice_hw *hw, struct ice_pg_nm_cam_item *item); 63 struct ice_pg_cam_item *ice_pg_cam_table_get(struct ice_hw *hw); 64 struct ice_pg_cam_item *ice_pg_sp_cam_table_get(struct ice_hw *hw); 66 struct ice_pg_nm_cam_item *ice_pg_nm_cam_table_get(struct ice_hw *hw); 67 struct ice_pg_nm_cam_item *ice_pg_nm_sp_cam_table_get(struct ice_hw *hw);
|
| H A D | ice_nvm.c | 69 ice_read_flat_nvm(struct ice_hw *hw, u32 offset, u32 *length, u8 *data, in ice_read_flat_nvm() 129 ice_read_sr_word_aq(struct ice_hw *hw, u16 offset, u16 *data) in ice_read_sr_word_aq() 191 ice_acquire_nvm(struct ice_hw *hw, enum ice_aq_res_access_type access) in ice_acquire_nvm() 207 void ice_release_nvm(struct ice_hw *hw) in ice_release_nvm() 777 static enum ice_status ice_discover_flash_size(struct ice_hw *hw) in ice_discover_flash_size() 835 ice_read_sr_pointer(struct ice_hw *hw, u16 offset, u32 *pointer) in ice_read_sr_pointer() 867 ice_read_sr_area_size(struct ice_hw *hw, u16 offset, u32 *size) in ice_read_sr_area_size() 893 ice_determine_active_flash_banks(struct ice_hw *hw) in ice_determine_active_flash_banks() 972 enum ice_status ice_init_nvm(struct ice_hw *hw) in ice_init_nvm() 1057 enum ice_status ice_nvm_validate_checksum(struct ice_hw *hw) in ice_nvm_validate_checksum() [all …]
|
| H A D | ice_xlt_kb.h | 28 void ice_xlt_kb_dump(struct ice_hw *hw, struct ice_xlt_kb *kb); 29 struct ice_xlt_kb *ice_xlt_kb_get_sw(struct ice_hw *hw); 30 struct ice_xlt_kb *ice_xlt_kb_get_acl(struct ice_hw *hw); 31 struct ice_xlt_kb *ice_xlt_kb_get_fd(struct ice_hw *hw); 32 struct ice_xlt_kb *ice_xlt_kb_get_rss(struct ice_hw *hw);
|
| H A D | ice_vlan_mode.h | 10 struct ice_hw; 12 bool ice_is_dvm_ena(struct ice_hw *hw); 13 enum ice_status ice_set_vlan_mode(struct ice_hw *hw); 14 void ice_post_pkg_dwnld_vlan_mode_cfg(struct ice_hw *hw);
|
| H A D | ice_pg_cam.c | 8 static void _pg_cam_key_dump(struct ice_hw *hw, struct ice_pg_cam_key *key) in _pg_cam_key_dump() 22 static void _pg_nm_cam_key_dump(struct ice_hw *hw, in _pg_nm_cam_key_dump() 36 static void _pg_cam_action_dump(struct ice_hw *hw, in _pg_cam_action_dump() 56 void ice_pg_cam_dump(struct ice_hw *hw, struct ice_pg_cam_item *item) in ice_pg_cam_dump() 68 void ice_pg_nm_cam_dump(struct ice_hw *hw, struct ice_pg_nm_cam_item *item) in ice_pg_nm_cam_dump() 163 static void _pg_cam_parse_item(struct ice_hw *hw, u16 idx, void *item, in _pg_cam_parse_item() 184 static void _pg_sp_cam_parse_item(struct ice_hw *hw, u16 idx, void *item, in _pg_sp_cam_parse_item() 248 struct ice_pg_cam_item *ice_pg_cam_table_get(struct ice_hw *hw) in ice_pg_cam_table_get() 262 struct ice_pg_cam_item *ice_pg_sp_cam_table_get(struct ice_hw *hw) in ice_pg_sp_cam_table_get() 276 struct ice_pg_nm_cam_item *ice_pg_nm_cam_table_get(struct ice_hw *hw) in ice_pg_nm_cam_table_get() [all …]
|
| H A D | ice_controlq.c | 35 static void ice_adminq_init_regs(struct ice_hw *hw) in ice_adminq_init_regs() 50 static void ice_mailbox_init_regs(struct ice_hw *hw) in ice_mailbox_init_regs() 63 static void ice_sb_init_regs(struct ice_hw *hw) in ice_sb_init_regs() 274 ice_cfg_sq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_cfg_sq_regs() 287 ice_cfg_rq_regs(struct ice_hw *hw, struct ice_ctl_q_info *cq) in ice_cfg_rq_regs() 490 static bool ice_aq_ver_check(struct ice_hw *hw) in ice_aq_ver_check() 649 static bool ice_is_sbq_supported(struct ice_hw *hw) in ice_is_sbq_supported() 695 void ice_shutdown_all_ctrlq(struct ice_hw *hw) in ice_shutdown_all_ctrlq() 720 enum ice_status ice_init_all_ctrlq(struct ice_hw *hw) in ice_init_all_ctrlq() 785 enum ice_status ice_create_all_ctrlq(struct ice_hw *hw) in ice_create_all_ctrlq() [all …]
|
| H A D | ice_common.c | 204 bool ice_is_e810(struct ice_hw *hw) in ice_is_e810() 329 struct ice_hw *hw; in ice_aq_get_phy_caps() 589 struct ice_hw *hw; in ice_aq_get_link_info() 3002 struct ice_hw *hw = pi->hw; in ice_aq_set_port_params() 3297 struct ice_hw *hw; in ice_update_link_info() 3483 struct ice_hw *hw; in ice_set_fc() 3630 struct ice_hw *hw; in ice_cfg_phy_fec() 3826 struct ice_hw *hw = pi->hw; in ice_aq_set_port_id_led() 4921 struct ice_hw *hw; in ice_ena_vsi_txq() 5026 struct ice_hw *hw; in ice_dis_vsi_txq() [all …]
|
| H A D | ice_xlt_kb.c | 10 static void _xlt_kb_entry_dump(struct ice_hw *hw, in _xlt_kb_entry_dump() 31 void ice_xlt_kb_dump(struct ice_hw *hw, struct ice_xlt_kb *kb) in ice_xlt_kb_dump() 106 static void _parse_kb_data(struct ice_hw *hw, struct ice_xlt_kb *kb, void *data) in _parse_kb_data() 125 static struct ice_xlt_kb *_xlt_kb_get(struct ice_hw *hw, u32 sect_type) in _xlt_kb_get() 159 struct ice_xlt_kb *ice_xlt_kb_get_sw(struct ice_hw *hw) in ice_xlt_kb_get_sw() 168 struct ice_xlt_kb *ice_xlt_kb_get_acl(struct ice_hw *hw) in ice_xlt_kb_get_acl() 177 struct ice_xlt_kb *ice_xlt_kb_get_fd(struct ice_hw *hw) in ice_xlt_kb_get_fd() 186 struct ice_xlt_kb *ice_xlt_kb_get_rss(struct ice_hw *hw) in ice_xlt_kb_get_rss()
|
| H A D | ice_parser_util.h | 21 void ice_lbl_dump(struct ice_hw *hw, struct ice_lbl_item *item); 22 void ice_parse_item_dflt(struct ice_hw *hw, u16 idx, void *item, 28 void *ice_parser_create_table(struct ice_hw *hw, u32 sect_type, 32 void (*parse_item)(struct ice_hw *hw, u16 idx,
|
| H A D | ice_flex_pipe.c | 378 ice_fill_hw_ptype(struct ice_hw *hw) in ice_fill_hw_ptype() 835 ice_acquire_global_cfg_lock(struct ice_hw *hw, in ice_acquire_global_cfg_lock() 884 void ice_release_change_lock(struct ice_hw *hw) in ice_release_change_lock() 1201 ice_aq_get_pkg_info_list(struct ice_hw *hw, in ice_aq_get_pkg_info_list() 1432 void ice_free_seg(struct ice_hw *hw) in ice_free_seg() 1446 static void ice_init_pkg_regs(struct ice_hw *hw) in ice_init_pkg_regs() 1938 void ice_init_prof_result_bm(struct ice_hw *hw) in ice_init_prof_result_bm() 3819 static void ice_init_sw_db(struct ice_hw *hw) in ice_init_sw_db() 3967 void ice_fill_blk_tbls(struct ice_hw *hw) in ice_fill_blk_tbls() 4059 void ice_free_hw_tbls(struct ice_hw *hw) in ice_free_hw_tbls() [all …]
|
| H A D | ice_imem.c | 10 static void _imem_bst_bm_dump(struct ice_hw *hw, struct ice_bst_main *bm) in _imem_bst_bm_dump() 19 static void _imem_bst_kb_dump(struct ice_hw *hw, struct ice_bst_keybuilder *kb) in _imem_bst_kb_dump() 26 static void _imem_np_kb_dump(struct ice_hw *hw, struct ice_np_keybuilder *kb) in _imem_np_kb_dump() 34 static void _imem_pg_kb_dump(struct ice_hw *hw, struct ice_pg_keybuilder *kb) in _imem_pg_kb_dump() 48 static void _imem_alu_dump(struct ice_hw *hw, struct ice_alu *alu, int index) in _imem_alu_dump() 75 void ice_imem_dump(struct ice_hw *hw, struct ice_imem_item *item) in ice_imem_dump() 210 static void _imem_parse_item(struct ice_hw *hw, u16 idx, void *item, in _imem_parse_item() 236 struct ice_imem_item *ice_imem_table_get(struct ice_hw *hw) in ice_imem_table_get()
|
| H A D | ice_bst_tcam.c | 10 static void _bst_np_kb_dump(struct ice_hw *hw, struct ice_np_keybuilder *kb) in _bst_np_kb_dump() 18 static void _bst_pg_kb_dump(struct ice_hw *hw, struct ice_pg_keybuilder *kb) in _bst_pg_kb_dump() 32 static void _bst_alu_dump(struct ice_hw *hw, struct ice_alu *alu, int index) in _bst_alu_dump() 59 void ice_bst_tcam_dump(struct ice_hw *hw, struct ice_bst_tcam_item *item) in ice_bst_tcam_dump() 181 static void _bst_parse_item(struct ice_hw *hw, u16 idx, void *item, in _bst_parse_item() 210 struct ice_bst_tcam_item *ice_bst_tcam_table_get(struct ice_hw *hw) in ice_bst_tcam_table_get() 220 static void _parse_lbl_item(struct ice_hw *hw, u16 idx, void *item, in _parse_lbl_item() 233 struct ice_lbl_item *ice_bst_lbl_table_get(struct ice_hw *hw) in ice_bst_lbl_table_get()
|