/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_lib.h | 17 void ice_dcb_rebuild(struct ice_pf *pf); 21 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue); 24 ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked); 25 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg); 26 void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked); 28 int ice_init_pf_dcb(struct ice_pf *pf, bool locked); 29 void ice_update_dcb_stats(struct ice_pf *pf); 34 ice_dcb_process_lldp_set_mib_change(struct ice_pf *pf, 57 static inline bool ice_is_dcb_active(struct ice_pf *pf) in ice_is_dcb_active() 63 static inline void ice_dcb_rebuild(struct ice_pf *pf) { } in ice_dcb_rebuild() [all …]
|
D | ice_virtchnl_pf.h | 74 struct ice_pf *pf; 123 void ice_process_vflr_event(struct ice_pf *pf); 129 void ice_free_vfs(struct ice_pf *pf); 130 void ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event); 131 void ice_vc_notify_link_state(struct ice_pf *pf); 132 void ice_vc_notify_reset(struct ice_pf *pf); 133 bool ice_reset_all_vfs(struct ice_pf *pf, bool is_vflr); 137 ice_is_malicious_vf(struct ice_pf *pf, struct ice_rq_event_info *event, 156 bool ice_is_any_vf_in_promisc(struct ice_pf *pf); 158 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event); [all …]
|
D | ice_ptp.h | 139 container_of(__ptp_port_to_ptp((p)), struct ice_pf, ptp) 144 container_of(__ptp_info_to_ptp((i)), struct ice_pf, ptp) 168 struct ice_pf; 169 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr); 170 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr); 171 int ice_get_ptp_clock_index(struct ice_pf *pf); 174 void ice_ptp_process_ts(struct ice_pf *pf); 179 void ice_ptp_init(struct ice_pf *pf); 180 void ice_ptp_release(struct ice_pf *pf); 182 static inline int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_set_ts_config() [all …]
|
D | ice_devlink.c | 28 static void ice_info_get_dsn(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_get_dsn() 38 static int ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_pba() 52 static int ice_info_fw_mgmt(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_mgmt() 62 static int ice_info_fw_api(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_api() 72 static int ice_info_fw_build(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_build() 81 static int ice_info_orom_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_orom_ver() 91 ice_info_pending_orom_ver(struct ice_pf __always_unused *pf, struct ice_info_ctx *ctx) in ice_info_pending_orom_ver() 102 static int ice_info_nvm_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_nvm_ver() 112 ice_info_pending_nvm_ver(struct ice_pf __always_unused *pf, struct ice_info_ctx *ctx) in ice_info_pending_nvm_ver() 122 static int ice_info_eetrack(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_eetrack() [all …]
|
D | ice_devlink.h | 7 struct ice_pf *ice_allocate_pf(struct device *dev); 9 int ice_devlink_register(struct ice_pf *pf); 10 void ice_devlink_unregister(struct ice_pf *pf); 11 int ice_devlink_create_pf_port(struct ice_pf *pf); 12 void ice_devlink_destroy_pf_port(struct ice_pf *pf); 16 void ice_devlink_init_regions(struct ice_pf *pf); 17 void ice_devlink_destroy_regions(struct ice_pf *pf);
|
D | ice.h | 197 struct ice_pf *pf; 264 struct ice_pf *back; /* back pointer to PF */ 414 struct ice_pf { struct 529 ((struct ice_pf *)hw->back)->oicr_idx; in ice_irq_dynamic_ena() argument 548 static inline struct ice_pf *ice_netdev_to_pf(struct net_device *netdev) in ice_netdev_to_pf() 592 static inline struct ice_vsi *ice_get_main_vsi(struct ice_pf *pf) in ice_get_main_vsi() 604 static inline struct ice_vsi *ice_get_ctrl_vsi(struct ice_pf *pf) in ice_get_ctrl_vsi() 617 static inline void ice_set_sriov_cap(struct ice_pf *pf) in ice_set_sriov_cap() 627 static inline void ice_clear_sriov_cap(struct ice_pf *pf) in ice_clear_sriov_cap() 643 u16 ice_get_avail_txq_count(struct ice_pf *pf); [all …]
|
D | ice_ptp.c | 14 static void ice_set_tx_tstamp(struct ice_pf *pf, bool on) in ice_set_tx_tstamp() 45 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp() 70 static void ice_ptp_cfg_timestamp(struct ice_pf *pf, bool ena) in ice_ptp_cfg_timestamp() 98 int ice_get_ptp_clock_index(struct ice_pf *pf) in ice_get_ptp_clock_index() 144 static void ice_set_ptp_clock_index(struct ice_pf *pf) in ice_set_ptp_clock_index() 184 static void ice_clear_ptp_clock_index(struct ice_pf *pf) in ice_clear_ptp_clock_index() 216 ice_ptp_read_src_clk_reg(struct ice_pf *pf, struct ptp_system_timestamp *sts) in ice_ptp_read_src_clk_reg() 262 static int ice_ptp_update_cached_phctime(struct ice_pf *pf) in ice_ptp_update_cached_phctime() 390 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts() 410 ice_ptp_read_time(struct ice_pf *pf, struct timespec64 *ts, in ice_ptp_read_time() [all …]
|
D | ice_dcb_nl.c | 16 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_devreset() 35 struct ice_pf *pf; in ice_dcbnl_getets() 64 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setets() 130 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs() 145 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx() 157 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx() 192 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr() 225 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc() 251 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc() 288 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_pfc_cfg() [all …]
|
D | ice_idc.c | 16 static struct iidc_auxiliary_drv *ice_get_auxiliary_drv(struct ice_pf *pf) in ice_get_auxiliary_drv() 33 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event) in ice_send_event_to_aux() 58 static struct ice_vsi *ice_find_vsi(struct ice_pf *pf, u16 vsi_num) in ice_find_vsi() 73 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_add_rdma_qset() 128 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_del_rdma_qset() 157 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type) in ice_rdma_request_reset() 189 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable) in ice_rdma_update_vsi_filter() 221 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos) in ice_get_qos_params() 243 static int ice_reserve_rdma_qvector(struct ice_pf *pf) in ice_reserve_rdma_qvector() 274 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev() [all …]
|
D | ice_arfs.h | 47 void ice_sync_arfs_fltrs(struct ice_pf *pf); 49 void ice_remove_arfs(struct ice_pf *pf); 50 void ice_rebuild_arfs(struct ice_pf *pf); 58 static inline void ice_sync_arfs_fltrs(struct ice_pf *pf) { } in ice_sync_arfs_fltrs() 59 static inline void ice_remove_arfs(struct ice_pf *pf) { } in ice_remove_arfs() 60 static inline void ice_rebuild_arfs(struct ice_pf *pf) { } in ice_rebuild_arfs()
|
D | ice_lib.h | 11 bool ice_pf_state_is_nominal(struct ice_pf *pf); 59 ice_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi, 75 ice_get_res(struct ice_pf *pf, struct ice_res_tracker *res, u16 needed, u16 id); 80 int ice_wait_for_reset(struct ice_pf *pf, unsigned long timeout); 110 bool ice_is_safe_mode(struct ice_pf *pf); 111 bool ice_is_aux_ena(struct ice_pf *pf);
|
D | ice_lag.h | 17 struct ice_pf; 21 struct ice_pf *pf; /* backlink to PF struct */ 36 int ice_init_lag(struct ice_pf *pf); 37 void ice_deinit_lag(struct ice_pf *pf);
|
D | ice_main.c | 52 static void ice_rebuild(struct ice_pf *pf, enum ice_reset_req reset_type); 54 static void ice_vsi_release_all(struct ice_pf *pf); 82 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() 140 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr() 267 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() 419 static void ice_sync_fltr_subtask(struct ice_pf *pf) in ice_sync_fltr_subtask() 442 static void ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked) in ice_pf_dis_all_vsi() 465 ice_prepare_for_reset(struct ice_pf *pf) in ice_prepare_for_reset() 506 static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_do_reset() 546 static void ice_reset_subtask(struct ice_pf *pf) in ice_reset_subtask() [all …]
|
D | ice_fw_update.c | 14 struct ice_pf *pf; 41 struct ice_pf *pf = priv->pf; in ice_send_package_data() 83 ice_check_component_response(struct ice_pf *pf, u16 id, u8 response, u8 code, in ice_check_component_response() 204 struct ice_pf *pf = priv->pf; in ice_send_component_table() 272 ice_write_one_nvm_block(struct ice_pf *pf, u16 module, u32 offset, in ice_write_one_nvm_block() 362 ice_write_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_write_nvm_module() 440 ice_erase_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_erase_nvm_module() 521 static int ice_switch_flash_banks(struct ice_pf *pf, u8 activate_flags, in ice_switch_flash_banks() 580 struct ice_pf *pf = priv->pf; in ice_flash_component() 636 struct ice_pf *pf = priv->pf; in ice_finalize_update() [all …]
|
D | ice_virtchnl_pf.c | 264 static int ice_validate_vf_id(struct ice_pf *pf, u16 vf_id) in ice_validate_vf_id() 279 static int ice_check_vf_init(struct ice_pf *pf, struct ice_vf *vf) in ice_check_vf_init() 329 ice_vc_vf_broadcast(struct ice_pf *pf, enum virtchnl_ops v_opcode, in ice_vc_vf_broadcast() 395 struct ice_pf *pf = vf->pf; in ice_is_vf_link_up() 479 struct ice_pf *pf = vf->pf; in ice_free_vf_res() 519 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() 564 static int ice_sriov_free_msix_res(struct ice_pf *pf) in ice_sriov_free_msix_res() 612 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs() 703 struct ice_pf *pf = vf->pf; in ice_trigger_vf_reset() 830 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup() [all …]
|
D | ice_lag.c | 24 struct ice_pf *pf = lag->pf; in ice_lag_set_primary() 44 struct ice_pf *pf = lag->pf; in ice_lag_set_backup() 144 struct ice_pf *pf = lag->pf; in ice_lag_link() 181 struct ice_pf *pf = lag->pf; in ice_lag_unlink() 221 struct ice_pf *pf = lag->pf; in ice_lag_unregister() 387 int ice_init_lag(struct ice_pf *pf) in ice_init_lag() 438 void ice_deinit_lag(struct ice_pf *pf) in ice_deinit_lag()
|
D | ice_virtchnl_fdir.h | 8 struct ice_pf; 49 void ice_flush_fdir_ctx(struct ice_pf *pf); 53 static inline void ice_flush_fdir_ctx(struct ice_pf *pf) { } in ice_flush_fdir_ctx()
|
D | ice_dcb_lib.c | 15 struct ice_pf *pf = vsi->back; in ice_vsi_cfg_netdev_tc() 72 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue) in ice_is_pfc_causing_hung_q() 234 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg) in ice_dcb_bwchk() 272 int ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) in ice_pf_dcb_cfg() 398 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcb_need_recfg() 446 void ice_dcb_rebuild(struct ice_pf *pf) in ice_dcb_rebuild() 518 static int ice_dcb_init_cfg(struct ice_pf *pf, bool locked) in ice_dcb_init_cfg() 547 static int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked) in ice_dcb_sw_dflt_cfg() 622 static int ice_dcb_noncontig_cfg(struct ice_pf *pf) in ice_dcb_noncontig_cfg() 653 void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked) in ice_pf_dcb_recfg() [all …]
|
D | ice_lib.c | 70 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() 167 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs() 273 struct ice_pf *pf = vsi->back; in ice_vsi_delete() 301 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays() 344 struct ice_pf *pf = NULL; in ice_vsi_clear() 425 ice_vsi_alloc(struct ice_pf *pf, enum ice_vsi_type vsi_type, u16 vf_id) in ice_vsi_alloc() 520 struct ice_pf *pf = vsi->back; in ice_alloc_fd_res() 567 struct ice_pf *pf = vsi->back; in ice_vsi_get_qs() 609 struct ice_pf *pf = vsi->back; in ice_vsi_put_qs() 633 bool ice_is_safe_mode(struct ice_pf *pf) in ice_is_safe_mode() [all …]
|
D | ice_ethtool.c | 28 ICE_STAT(struct ice_pf, _name, _stat) 42 (sizeof_field(struct ice_pf, stats.priority_xoff_rx) + \ 43 sizeof_field(struct ice_pf, stats.priority_xon_rx) + \ 44 sizeof_field(struct ice_pf, stats.priority_xoff_tx) + \ 45 sizeof_field(struct ice_pf, stats.priority_xon_tx)) \ 177 struct ice_pf *pf = vsi->back; in ice_get_drvinfo() 208 struct ice_pf *pf = np->vsi->back; in ice_get_regs() 222 struct ice_pf *pf = np->vsi->back; in ice_get_msglevel() 236 struct ice_pf *pf = np->vsi->back; in ice_set_msglevel() 251 struct ice_pf *pf = np->vsi->back; in ice_get_eeprom_len() [all …]
|
D | ice_idc_int.h | 10 struct ice_pf; 12 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event);
|
D | ice_fw_update.h | 7 int ice_flash_pldm_image(struct ice_pf *pf, const struct firmware *fw, 9 int ice_check_for_pending_update(struct ice_pf *pf, const char *component,
|
D | ice_dcb_nl.h | 11 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, 17 ice_dcbnl_flush_apps(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcbnl_flush_apps()
|
D | ice_base.c | 78 static int ice_pf_rxq_wait(struct ice_pf *pf, int pf_q, bool ena) in ice_pf_rxq_wait() 103 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_q_vector() 150 struct ice_pf *pf = vsi->back; in ice_free_q_vector() 560 struct ice_pf *pf = vsi->back; in ice_vsi_ctrl_one_rx_ring() 598 struct ice_pf *pf = vsi->back; in ice_vsi_wait_one_rx_ring() 723 struct ice_pf *pf = vsi->back; in ice_vsi_cfg_txq() 807 struct ice_pf *pf = vsi->back; in ice_cfg_txq_interrupt() 839 struct ice_pf *pf = vsi->back; in ice_cfg_rxq_interrupt() 879 struct ice_pf *pf = vsi->back; in ice_vsi_stop_tx_ring()
|
/drivers/infiniband/hw/irdma/ |
D | main.c | 84 static void irdma_iidc_event_handler(struct ice_pf *pf, struct iidc_event *event) in irdma_iidc_event_handler() 149 struct ice_pf *pf = rf->cdev; in irdma_request_reset() 164 struct ice_pf *pf = iwdev->rf->cdev; in irdma_lan_register_qset() 192 struct ice_pf *pf = iwdev->rf->cdev; in irdma_lan_unregister_qset() 209 struct ice_pf *pf = iidc_adev->pf; in irdma_remove() 218 static void irdma_fill_device_info(struct irdma_device *iwdev, struct ice_pf *pf, in irdma_fill_device_info() 256 struct ice_pf *pf = iidc_adev->pf; in irdma_probe()
|