/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_dcb_lib.h | 17 void ice_dcb_rebuild(struct ice_pf *pf); 26 void ice_pf_dcb_recfg(struct ice_pf *pf); 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, 55 static inline bool ice_is_dcb_active(struct ice_pf *pf) in ice_is_dcb_active() 61 static inline u8 ice_get_pfc_mode(struct ice_pf *pf) in ice_get_pfc_mode() 67 static inline void ice_dcb_rebuild(struct ice_pf *pf) { } in ice_dcb_rebuild() 100 ice_pf_dcb_cfg(struct ice_pf __always_unused *pf, in ice_pf_dcb_cfg() 126 static inline u8 ice_get_pfc_mode(struct ice_pf *pf) in ice_get_pfc_mode() [all …]
|
A D | ice_ptp.h | 148 container_of(__ptp_port_to_ptp((p)), struct ice_pf, ptp) 153 container_of(__ptp_info_to_ptp((i)), struct ice_pf, ptp) 180 struct ice_pf; 183 int ice_get_ptp_clock_index(struct ice_pf *pf); 186 void ice_ptp_process_ts(struct ice_pf *pf); 191 void ice_ptp_init(struct ice_pf *pf); 192 void ice_ptp_release(struct ice_pf *pf); 204 static inline int ice_get_ptp_clock_index(struct ice_pf *pf) in ice_get_ptp_clock_index() 215 static inline void ice_ptp_process_ts(struct ice_pf *pf) { } in ice_ptp_process_ts() 219 static inline void ice_ptp_init(struct ice_pf *pf) { } in ice_ptp_init() [all …]
|
A D | ice_virtchnl_pf.h | 101 struct ice_pf *pf; 157 void ice_process_vflr_event(struct ice_pf *pf); 163 void ice_free_vfs(struct ice_pf *pf); 165 void ice_vc_notify_link_state(struct ice_pf *pf); 166 void ice_vc_notify_reset(struct ice_pf *pf); 170 bool ice_reset_all_vfs(struct ice_pf *pf, bool is_vflr); 201 bool ice_is_any_vf_in_promisc(struct ice_pf *pf); 204 void ice_print_vfs_mdd_events(struct ice_pf *pf); 213 static inline void ice_free_vfs(struct ice_pf *pf) { } in ice_free_vfs() 244 ice_is_malicious_vf(struct ice_pf __always_unused *pf, in ice_is_malicious_vf() [all …]
|
A D | ice_eswitch.h | 10 void ice_eswitch_release(struct ice_pf *pf); 11 int ice_eswitch_configure(struct ice_pf *pf); 12 int ice_eswitch_rebuild(struct ice_pf *pf); 18 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf); 22 void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf); 33 static inline void ice_eswitch_release(struct ice_pf *pf) { } in ice_eswitch_release() 35 static inline void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) { } in ice_eswitch_stop_all_tx_queues() 43 static inline int ice_eswitch_configure(struct ice_pf *pf) in ice_eswitch_configure() 48 static inline int ice_eswitch_rebuild(struct ice_pf *pf) in ice_eswitch_rebuild() 65 static inline bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev()
|
A D | ice_devlink.c | 250 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_info_get() 391 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_flash_update() 446 struct ice_pf *ice_allocate_pf(struct device *dev) in ice_allocate_pf() 469 void ice_devlink_register(struct ice_pf *pf) in ice_devlink_register() 482 void ice_devlink_unregister(struct ice_pf *pf) in ice_devlink_unregister() 495 int ice_devlink_create_pf_port(struct ice_pf *pf) in ice_devlink_create_pf_port() 533 void ice_devlink_destroy_pf_port(struct ice_pf *pf) in ice_devlink_destroy_pf_port() 558 struct ice_pf *pf; in ice_devlink_create_vf_port() 618 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_nvm_snapshot() 675 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_devcaps_snapshot() [all …]
|
A D | ice_devlink.h | 7 struct ice_pf *ice_allocate_pf(struct device *dev); 9 void 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);
|
A D | ice.h | 246 struct ice_pf *pf; 313 struct ice_pf *back; /* back pointer to PF */ 502 struct ice_pf { struct 643 ((struct ice_pf *)hw->back)->oicr_idx; in ice_irq_dynamic_ena() 825 u16 ice_get_avail_txq_count(struct ice_pf *pf); 826 u16 ice_get_avail_rxq_count(struct ice_pf *pf); 829 void ice_update_pf_stats(struct ice_pf *pf); 847 int ice_plug_aux_dev(struct ice_pf *pf); 848 void ice_unplug_aux_dev(struct ice_pf *pf); 849 int ice_init_rdma(struct ice_pf *pf); [all …]
|
A D | ice_eswitch.c | 19 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() 124 static int ice_eswitch_setup_reprs(struct ice_pf *pf) in ice_eswitch_setup_reprs() 237 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() 316 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env() 345 static void ice_eswitch_napi_del(struct ice_pf *pf) in ice_eswitch_napi_del() 466 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_set() 534 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_get() 547 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev() 556 void ice_eswitch_release(struct ice_pf *pf) in ice_eswitch_release() 569 int ice_eswitch_configure(struct ice_pf *pf) in ice_eswitch_configure() [all …]
|
A D | ice_ptp.c | 189 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_set_sma_e810t() 694 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjfine() 743 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_extts_work() 982 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gpio_enable_e810() 1061 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_gettimex64() 1086 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_settime64() 1139 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjtime() 1519 struct ice_pf *pf; in ice_ptp_tx_tstamp_work() 1769 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_periodic_work() 1865 void ice_ptp_init(struct ice_pf *pf) in ice_ptp_init() [all …]
|
A 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() 52 static struct ice_vsi *ice_find_vsi(struct ice_pf *pf, u16 vsi_num) in ice_find_vsi() 67 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_add_rdma_qset() 122 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_del_rdma_qset() 183 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable) in ice_rdma_update_vsi_filter() 215 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos) in ice_get_qos_params() 237 static int ice_reserve_rdma_qvector(struct ice_pf *pf) in ice_reserve_rdma_qvector() 268 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev() 313 void ice_unplug_aux_dev(struct ice_pf *pf) in ice_unplug_aux_dev() [all …]
|
A D | ice_lib.h | 11 bool ice_pf_state_is_nominal(struct ice_pf *pf); 64 ice_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi, 80 ice_get_res(struct ice_pf *pf, struct ice_res_tracker *res, u16 needed, u16 id); 85 int ice_wait_for_reset(struct ice_pf *pf, unsigned long timeout); 116 bool ice_is_safe_mode(struct ice_pf *pf); 117 bool ice_is_aux_ena(struct ice_pf *pf); 140 bool ice_is_feature_supported(struct ice_pf *pf, enum ice_feature f); 141 void ice_clear_feature_support(struct ice_pf *pf, enum ice_feature f); 142 void ice_init_feature_support(struct ice_pf *pf);
|
A 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()
|
A 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() 129 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs() 144 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx() 156 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx() 197 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr() 230 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc() 256 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc() 994 struct ice_pf *pf; in ice_dcbnl_set_all() [all …]
|
A 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);
|
A D | ice_main.c | 283 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() 2051 struct ice_pf *pf = vsi->back; in ice_configure_phy() 2222 struct ice_pf *pf = container_of(work, struct ice_pf, serv_task); in ice_service_task() 2385 struct ice_pf *pf = vsi->back; in ice_vsi_req_irq_msix() 2541 struct ice_pf *pf = vsi->back; in ice_prepare_xdp_rings() 2655 struct ice_pf *pf = vsi->back; in ice_destroy_xdp_rings() 2900 struct ice_pf *pf = (struct ice_pf *)data; in ice_misc_intr() 4077 struct ice_pf *pf = (struct ice_pf *)hw->back; in ice_log_pkg_init() 4445 struct ice_pf *pf; in ice_probe() 5003 struct ice_pf *pf; in ice_suspend() [all …]
|
A 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 …]
|
A D | ice_virtchnl_pf.c | 397 struct ice_pf *pf = vf->pf; in ice_is_vf_link_up() 481 struct ice_pf *pf = vf->pf; in ice_free_vf_res() 521 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() 706 struct ice_pf *pf = vf->pf; in ice_trigger_vf_reset() 833 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup() 860 struct ice_pf *pf = vf->pf; in ice_vf_ctrl_vsi_setup() 1176 struct ice_pf *pf; in ice_calc_vf_reg_idx() 1814 struct ice_pf *pf; in ice_vc_notify_vf_reset() 2277 struct ice_pf *pf; in ice_vc_send_msg_to_vf() 2895 struct ice_pf *pf; in ice_check_vf_ready_for_cfg() [all …]
|
A 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()
|
A D | ice_lib.c | 74 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() 174 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs() 292 struct ice_pf *pf = vsi->back; in ice_vsi_delete() 320 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays() 363 struct ice_pf *pf = NULL; in ice_vsi_clear() 570 struct ice_pf *pf = vsi->back; in ice_alloc_fd_res() 617 struct ice_pf *pf = vsi->back; in ice_vsi_get_qs() 989 struct ice_pf *pf; in ice_set_rss_vsi_ctx() 2298 struct ice_pf *pf; in ice_cfg_vlan_pruning() 3040 struct ice_pf *pf; in ice_vsi_release() [all …]
|
A D | ice_dcb_lib.c | 30 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue) in ice_is_pfc_causing_hung_q() 281 static void ice_dcb_ena_dis_vsi(struct ice_pf *pf, bool ena, bool locked) in ice_dcb_ena_dis_vsi() 311 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg) in ice_dcb_bwchk() 478 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcb_need_recfg() 526 void ice_dcb_rebuild(struct ice_pf *pf) in ice_dcb_rebuild() 598 static int ice_dcb_init_cfg(struct ice_pf *pf, bool locked) in ice_dcb_init_cfg() 702 static int ice_dcb_noncontig_cfg(struct ice_pf *pf) in ice_dcb_noncontig_cfg() 732 void ice_pf_dcb_recfg(struct ice_pf *pf) in ice_pf_dcb_recfg() 794 int ice_init_pf_dcb(struct ice_pf *pf, bool locked) in ice_init_pf_dcb() 866 void ice_update_dcb_stats(struct ice_pf *pf) in ice_update_dcb_stats() [all …]
|
A 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() 365 int ice_init_lag(struct ice_pf *pf) in ice_init_lag() 416 void ice_deinit_lag(struct ice_pf *pf) in ice_deinit_lag()
|
A D | ice_ethtool.c | 28 ICE_STAT(struct ice_pf, _name, _stat) 176 struct ice_pf *pf = vsi->back; in __ice_get_drvinfo() 271 struct ice_pf *pf = vsi->back; in ice_get_eeprom() 386 struct ice_pf *pf = (struct ice_pf *)hw->back; in ice_reg_pattern_test() 1142 struct ice_pf *pf = vsi->back; in ice_get_priv_flags() 1168 struct ice_pf *pf = vsi->back; in ice_set_priv_flags() 1346 struct ice_pf *pf = vsi->back; in __ice_get_ethtool_stats() 1503 struct ice_pf *pf = vsi->back; in ice_phy_type_to_ethtool() 2524 struct ice_pf *pf = vsi->back; in ice_set_rss_hash_opt() 2569 struct ice_pf *pf = vsi->back; in ice_get_rss_hash_opt() [all …]
|
A D | ice_idc_int.h | 10 struct ice_pf; 12 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event);
|
/linux/include/linux/net/intel/ |
A D | iidc.h | 65 struct ice_pf; 67 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset); 68 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset); 69 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type); 70 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable); 71 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos); 82 struct ice_pf *pf; 97 void (*event_handler)(struct ice_pf *pf, struct iidc_event *event);
|
/linux/drivers/infiniband/hw/irdma/ |
A 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() 255 struct ice_pf *pf = iidc_adev->pf; in irdma_probe()
|