/linux-6.3-rc2/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, 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, 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() 120 ice_is_pfc_causing_hung_q(struct ice_pf __always_unused *pf, in ice_is_pfc_causing_hung_q() [all …]
|
A D | ice_ptp.h | 253 struct ice_pf; 256 void ice_ptp_cfg_timestamp(struct ice_pf *pf, bool ena); 257 int ice_get_ptp_clock_index(struct ice_pf *pf); 260 bool ice_ptp_process_ts(struct ice_pf *pf); 265 void ice_ptp_reset(struct ice_pf *pf); 266 void ice_ptp_prepare_for_reset(struct ice_pf *pf); 267 void ice_ptp_init(struct ice_pf *pf); 268 void ice_ptp_release(struct ice_pf *pf); 293 static inline bool ice_ptp_process_ts(struct ice_pf *pf) in ice_ptp_process_ts() 300 static inline void ice_ptp_reset(struct ice_pf *pf) { } in ice_ptp_reset() [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_register_params(struct ice_pf *pf); 12 void ice_devlink_unregister_params(struct ice_pf *pf); 13 int ice_devlink_create_pf_port(struct ice_pf *pf); 14 void ice_devlink_destroy_pf_port(struct ice_pf *pf); 18 void ice_devlink_init_regions(struct ice_pf *pf); 19 void ice_devlink_destroy_regions(struct ice_pf *pf); 22 void ice_tear_down_devlink_rate_tree(struct ice_pf *pf);
|
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); 24 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf, 34 static inline void ice_eswitch_release(struct ice_pf *pf) { } in ice_eswitch_release() 41 ice_eswitch_add_vf_mac_rule(struct ice_pf *pf, struct ice_vf *vf, in ice_eswitch_add_vf_mac_rule() 53 static inline int ice_eswitch_configure(struct ice_pf *pf) in ice_eswitch_configure() 58 static inline int ice_eswitch_rebuild(struct ice_pf *pf) in ice_eswitch_rebuild() [all …]
|
A D | ice_sriov.h | 29 void ice_process_vflr_event(struct ice_pf *pf); 35 void ice_free_vfs(struct ice_pf *pf); 36 void ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event); 39 ice_is_malicious_vf(struct ice_pf *pf, struct ice_rq_event_info *event, 62 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event); 63 void ice_print_vfs_mdd_events(struct ice_pf *pf); 68 static inline void ice_process_vflr_event(struct ice_pf *pf) { } in ice_process_vflr_event() 69 static inline void ice_free_vfs(struct ice_pf *pf) { } in ice_free_vfs() 71 void ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event) { } in ice_vc_process_vf_msg() 74 static inline void ice_print_vfs_mdd_events(struct ice_pf *pf) { } in ice_print_vfs_mdd_events() [all …]
|
A D | ice_vf_lib.h | 23 struct ice_pf; 85 struct ice_pf *pf; 211 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id); 213 bool ice_has_vfs(struct ice_pf *pf); 214 u16 ice_get_num_vfs(struct ice_pf *pf); 219 bool ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf); 228 void ice_reset_all_vfs(struct ice_pf *pf); 239 static inline bool ice_has_vfs(struct ice_pf *pf) in ice_has_vfs() 244 static inline u16 ice_get_num_vfs(struct ice_pf *pf) in ice_get_num_vfs() 268 static inline bool ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf) in ice_is_any_vf_in_unicast_promisc() [all …]
|
A D | ice.h | 267 struct ice_pf *pf; 530 struct ice_pf { struct 673 ((struct ice_pf *)hw->back)->oicr_idx; in ice_irq_dynamic_ena() 887 void ice_update_pf_stats(struct ice_pf *pf); 909 int ice_plug_aux_dev(struct ice_pf *pf); 910 void ice_unplug_aux_dev(struct ice_pf *pf); 911 int ice_init_rdma(struct ice_pf *pf); 912 void ice_deinit_rdma(struct ice_pf *pf); 929 void ice_fdir_replay_fltrs(struct ice_pf *pf); 937 int ice_load(struct ice_pf *pf); [all …]
|
A D | ice_devlink.c | 255 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_info_get() 441 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_reload_down() 665 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_port_split() 850 struct ice_pf *pf = vsi->back; in ice_devlink_rate_init_tx_topology() 1238 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_reload_up() 1288 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_get() 1299 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_set() 1322 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_roce_validate() 1339 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_iw_get() 1350 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_enable_iw_set() [all …]
|
A D | ice_arfs.h | 50 void ice_sync_arfs_fltrs(struct ice_pf *pf); 52 void ice_remove_arfs(struct ice_pf *pf); 53 void ice_rebuild_arfs(struct ice_pf *pf); 61 static inline void ice_sync_arfs_fltrs(struct ice_pf *pf) { } in ice_sync_arfs_fltrs() 62 static inline void ice_remove_arfs(struct ice_pf *pf) { } in ice_remove_arfs() 63 static inline void ice_rebuild_arfs(struct ice_pf *pf) { } in ice_rebuild_arfs()
|
A D | ice_gnss.h | 41 struct ice_pf *back; 49 void ice_gnss_init(struct ice_pf *pf); 50 void ice_gnss_exit(struct ice_pf *pf); 53 static inline void ice_gnss_init(struct ice_pf *pf) { } in ice_gnss_init() 54 static inline void ice_gnss_exit(struct ice_pf *pf) { } in ice_gnss_exit()
|
A D | ice_ptp.c | 192 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_set_sma_e810t() 680 struct ice_pf *pf; in ice_ptp_tx_tstamp() 1168 struct ice_pf *pf; in ice_ptp_check_tx_fifo() 1238 struct ice_pf *pf; in ice_ptp_wait_for_offsets() 1444 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_adjfine() 1469 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_extts_work() 1969 struct ice_pf *pf = (struct ice_pf *)ctx; in ice_ptp_get_syncdevicetime() 2443 struct ice_pf *pf = container_of(ptp, struct ice_pf, ptp); in ice_ptp_periodic_work() 2460 void ice_ptp_reset(struct ice_pf *pf) in ice_ptp_reset() 2706 void ice_ptp_init(struct ice_pf *pf) in ice_ptp_init() [all …]
|
A D | ice_idc.c | 18 static struct iidc_auxiliary_drv *ice_get_auxiliary_drv(struct ice_pf *pf) in ice_get_auxiliary_drv() 35 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_event *event) in ice_send_event_to_aux() 60 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_add_rdma_qset() 176 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable) in ice_rdma_update_vsi_filter() 208 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos) in ice_get_qos_params() 235 static int ice_reserve_rdma_qvector(struct ice_pf *pf) in ice_reserve_rdma_qvector() 254 static void ice_free_rdma_qvector(struct ice_pf *pf) in ice_free_rdma_qvector() 277 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev() 323 void ice_unplug_aux_dev(struct ice_pf *pf) in ice_unplug_aux_dev() 342 int ice_init_rdma(struct ice_pf *pf) in ice_init_rdma() [all …]
|
A D | ice_eswitch.c | 114 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() 251 static int ice_eswitch_setup_reprs(struct ice_pf *pf) in ice_eswitch_setup_reprs() 326 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() 407 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env() 441 static void ice_eswitch_napi_del(struct ice_pf *pf) in ice_eswitch_napi_del() 552 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_set() 592 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_get() 605 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev() 614 void ice_eswitch_release(struct ice_pf *pf) in ice_eswitch_release() 627 int ice_eswitch_configure(struct ice_pf *pf) in ice_eswitch_configure() [all …]
|
A D | ice_lib.h | 53 bool ice_pf_state_is_nominal(struct ice_pf *pf); 94 ice_vsi_setup(struct ice_pf *pf, struct ice_vsi_cfg_params *params); 110 ice_get_res(struct ice_pf *pf, struct ice_res_tracker *res, u16 needed, u16 id); 116 int ice_wait_for_reset(struct ice_pf *pf, unsigned long timeout); 145 bool ice_is_safe_mode(struct ice_pf *pf); 146 bool ice_is_rdma_ena(struct ice_pf *pf); 169 bool ice_is_feature_supported(struct ice_pf *pf, enum ice_feature f); 170 void ice_clear_feature_support(struct ice_pf *pf, enum ice_feature f); 171 void ice_init_feature_support(struct ice_pf *pf);
|
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_sriov.c | 49 struct ice_pf *pf = vf->pf; in ice_free_vf_res() 89 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() 159 void ice_free_vfs(struct ice_pf *pf) in ice_free_vfs() 237 struct ice_pf *pf = vf->pf; in ice_vf_vsi_setup() 288 struct ice_pf *pf = vf->pf; in ice_ena_vf_msix_mappings() 403 struct ice_pf *pf; in ice_calc_vf_reg_idx() 576 struct ice_pf *pf = vf->pf; in ice_init_vf_vsi_res() 678 struct ice_pf *pf = vf->pf; in ice_sriov_clear_mbx_register() 693 struct ice_pf *pf = vf->pf; in ice_sriov_trigger_reset_register() 740 struct ice_pf *pf = vf->pf; in ice_sriov_poll_reset_status() [all …]
|
A D | ice_gnss.c | 20 ice_gnss_do_write(struct ice_pf *pf, unsigned char *buf, unsigned int size) in ice_gnss_do_write() 86 struct ice_pf *pf = gnss->back; in ice_gnss_write_pending() 122 struct ice_pf *pf; in ice_gnss_read() 213 static struct gnss_serial *ice_gnss_struct_init(struct ice_pf *pf) in ice_gnss_struct_init() 252 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_open() 278 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_close() 306 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_write() 362 static int ice_gnss_register(struct ice_pf *pf) in ice_gnss_register() 396 static void ice_gnss_deregister(struct ice_pf *pf) in ice_gnss_deregister() 409 void ice_gnss_init(struct ice_pf *pf) in ice_gnss_init() [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 | 61 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() 322 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() 2124 struct ice_pf *pf = vsi->back; in ice_configure_phy() 2290 struct ice_pf *pf = container_of(work, struct ice_pf, serv_task); in ice_service_task() 2488 struct ice_pf *pf = vsi->back; in ice_vsi_req_irq_msix() 3057 struct ice_pf *pf = (struct ice_pf *)data; in ice_misc_intr() 3192 struct ice_pf *pf = data; in ice_misc_intr_thread_fn() 4243 struct ice_pf *pf = hw->back; in ice_log_pkg_init() 5151 struct ice_pf *pf; in ice_probe() 5462 struct ice_pf *pf; in ice_suspend() [all …]
|
A D | ice_virtchnl_fdir.h | 8 struct ice_pf; 50 void ice_flush_fdir_ctx(struct ice_pf *pf); 54 static inline void ice_flush_fdir_ctx(struct ice_pf *pf) { } in ice_flush_fdir_ctx()
|
A D | ice_virtchnl.h | 60 void ice_vc_notify_link_state(struct ice_pf *pf); 61 void ice_vc_notify_reset(struct ice_pf *pf); 70 static inline void ice_vc_notify_link_state(struct ice_pf *pf) { } in ice_vc_notify_link_state() 71 static inline void ice_vc_notify_reset(struct ice_pf *pf) { } in ice_vc_notify_reset()
|
A D | ice_lib.c | 75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() 175 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs() 290 struct ice_pf *pf = vsi->back; in ice_vsi_delete_from_hw() 318 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays() 357 struct ice_pf *pf = vsi->back; in ice_vsi_free_stats() 398 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_ring_stats() 459 struct ice_pf *pf = NULL; in ice_vsi_free() 554 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_stat_arrays() 1192 struct ice_pf *pf; in ice_set_rss_vsi_ctx() 3264 struct ice_pf *pf; in ice_vsi_release() [all …]
|
A D | ice_fw_update.c | 14 struct ice_pf *pf; 53 struct ice_pf *pf = priv->pf; in ice_send_package_data() 94 ice_check_component_response(struct ice_pf *pf, u16 id, u8 response, u8 code, in ice_check_component_response() 215 struct ice_pf *pf = priv->pf; in ice_send_component_table() 290 ice_write_one_nvm_block(struct ice_pf *pf, u16 module, u32 offset, in ice_write_one_nvm_block() 559 ice_switch_flash_banks(struct ice_pf *pf, u8 activate_flags, in ice_switch_flash_banks() 633 struct ice_pf *pf = priv->pf; in ice_flash_component() 694 struct ice_pf *pf = priv->pf; in ice_finalize_update() 846 int ice_get_pending_updates(struct ice_pf *pf, u8 *pending, in ice_get_pending_updates() 904 ice_cancel_pending_update(struct ice_pf *pf, const char *component, in ice_cancel_pending_update() [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() 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()
|
/linux-6.3-rc2/include/linux/net/intel/ |
A D | iidc.h | 74 struct ice_pf; 76 int ice_add_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset); 77 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset); 78 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type); 79 int ice_rdma_update_vsi_filter(struct ice_pf *pf, u16 vsi_id, bool enable); 80 void ice_get_qos_params(struct ice_pf *pf, struct iidc_qos_params *qos); 89 struct ice_pf *pf; 104 void (*event_handler)(struct ice_pf *pf, struct iidc_event *event);
|