/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.h | 222 container_of(__ptp_port_to_ptp((p)), struct ice_pf, ptp) 227 container_of(__ptp_info_to_ptp((i)), struct ice_pf, ptp) 261 struct ice_pf; 262 int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr); 263 int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr); 264 void ice_ptp_cfg_timestamp(struct ice_pf *pf, bool ena); 265 int ice_get_ptp_clock_index(struct ice_pf *pf); 267 void ice_ptp_extts_event(struct ice_pf *pf); 269 enum ice_tx_tstamp_work ice_ptp_process_ts(struct ice_pf *pf); 274 void ice_ptp_reset(struct ice_pf *p [all...] |
H A D | ice_dcb_lib.h | 17 void ice_dcb_rebuild(struct ice_pf *pf); 18 int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked); 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, 55 static inline bool ice_is_dcb_active(struct ice_pf *p [all...] |
H 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 *p [all...] |
H 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); 29 static inline void ice_eswitch_release(struct ice_pf *pf) { } in ice_eswitch_release() 31 static inline void ice_eswitch_stop_all_tx_queues(struct ice_pf *pf) { } in ice_eswitch_stop_all_tx_queues() 39 static inline int ice_eswitch_configure(struct ice_pf *pf) in ice_eswitch_configure() 44 static inline int ice_eswitch_rebuild(struct ice_pf *pf) in ice_eswitch_rebuild() 61 static inline bool ice_is_eswitch_mode_switchdev(struct ice_pf *p [all...] |
H A D | ice_vf_lib.h | 23 struct ice_pf; 84 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); 229 struct ice_vsi *ice_get_vf_ctrl_vsi(struct ice_pf *pf, struct ice_vsi *vsi); 231 static inline struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id) in ice_get_vf_by_id() 240 static inline bool ice_has_vfs(struct ice_pf *p [all...] |
H A D | ice_irq.h | 18 int ice_init_interrupt_scheme(struct ice_pf *pf); 19 void ice_clear_interrupt_scheme(struct ice_pf *pf); 21 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only); 22 void ice_free_irq(struct ice_pf *pf, struct msi_map map); 23 int ice_get_max_used_msix_vector(struct ice_pf *pf);
|
H A D | ice_eswitch.c | 22 ice_eswitch_add_vf_sp_rule(struct ice_pf *pf, struct ice_vf *vf) in ice_eswitch_add_vf_sp_rule() 79 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() 145 static void ice_eswitch_remap_rings_to_vectors(struct ice_pf *pf) in ice_eswitch_remap_rings_to_vectors() 195 ice_eswitch_release_reprs(struct ice_pf *pf, struct ice_vsi *ctrl_vsi) in ice_eswitch_release_reprs() 224 static int ice_eswitch_setup_reprs(struct ice_pf *pf) in ice_eswitch_setup_reprs() 304 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() 391 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env() 415 ice_eswitch_vsi_setup(struct ice_pf *pf, struct ice_port_info *pi) in ice_eswitch_vsi_setup() 430 static void ice_eswitch_napi_del(struct ice_pf *pf) in ice_eswitch_napi_del() 445 static void ice_eswitch_napi_enable(struct ice_pf *p [all...] |
H 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()
|
H A D | ice_lag.h | 21 struct ice_pf; 31 struct ice_pf *pf; /* backlink to PF struct */ 62 int ice_init_lag(struct ice_pf *pf); 63 void ice_deinit_lag(struct ice_pf *pf); 64 void ice_lag_rebuild(struct ice_pf *pf); 65 bool ice_lag_is_switchdev_running(struct ice_pf *pf);
|
H A D | ice_sriov.h | 29 void ice_process_vflr_event(struct ice_pf *pf); 35 void ice_free_vfs(struct ice_pf *pf); 58 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event); 59 void ice_print_vfs_mdd_events(struct ice_pf *pf); 64 static inline void ice_process_vflr_event(struct ice_pf *pf) { } in ice_process_vflr_event() 65 static inline void ice_free_vfs(struct ice_pf *pf) { } in ice_free_vfs() 67 void ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event) { } in ice_vf_lan_overflow_event() 68 static inline void ice_print_vfs_mdd_events(struct ice_pf *pf) { } in ice_print_vfs_mdd_events()
|
H A D | ice_gnss.h | 32 struct ice_pf *back; 38 void ice_gnss_init(struct ice_pf *pf); 39 void ice_gnss_exit(struct ice_pf *pf); 42 static inline void ice_gnss_init(struct ice_pf *pf) { } in ice_gnss_init() 43 static inline void ice_gnss_exit(struct ice_pf *pf) { } in ice_gnss_exit()
|
H A D | ice_irq.c | 15 ice_init_irq_tracker(struct ice_pf *pf, unsigned int max_vectors, in ice_init_irq_tracker() 27 static void ice_deinit_irq_tracker(struct ice_pf *pf) in ice_deinit_irq_tracker() 37 static void ice_free_irq_res(struct ice_pf *pf, u16 index) in ice_free_irq_res() 56 static struct ice_irq_entry *ice_get_irq_res(struct ice_pf *pf, bool dyn_only) in ice_get_irq_res() 96 static void ice_reduce_msix_usage(struct ice_pf *pf, int v_remain) in ice_reduce_msix_usage() 137 static int ice_ena_msix_range(struct ice_pf *pf) in ice_ena_msix_range() 242 void ice_clear_interrupt_scheme(struct ice_pf *pf) in ice_clear_interrupt_scheme() 252 int ice_init_interrupt_scheme(struct ice_pf *pf) in ice_init_interrupt_scheme() 294 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_only) in ice_alloc_irq() 335 void ice_free_irq(struct ice_pf *p [all...] |
H A D | ice_lib.h | 53 bool ice_pf_state_is_nominal(struct ice_pf *pf); 92 ice_vsi_setup(struct ice_pf *pf, struct ice_vsi_cfg_params *params); 107 int ice_wait_for_reset(struct ice_pf *pf, unsigned long timeout); 135 bool ice_is_safe_mode(struct ice_pf *pf); 136 bool ice_is_rdma_ena(struct ice_pf *pf); 160 bool ice_is_feature_supported(struct ice_pf *pf, enum ice_feature f); 161 void ice_set_feature_support(struct ice_pf *pf, enum ice_feature f); 162 void ice_clear_feature_support(struct ice_pf *pf, enum ice_feature f); 163 void ice_init_feature_support(struct ice_pf *pf);
|
H A D | ice_ptp.c | 192 struct ice_pf *pf = ptp_info_to_pf(info); in ice_ptp_set_sma_e810t() 263 static void ice_set_tx_tstamp(struct ice_pf *pf, bool on) in ice_set_tx_tstamp() 296 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp() 324 void ice_ptp_cfg_timestamp(struct ice_pf *pf, bool ena) in ice_ptp_cfg_timestamp() 344 int ice_get_ptp_clock_index(struct ice_pf *pf) in ice_get_ptp_clock_index() 390 static void ice_set_ptp_clock_index(struct ice_pf *pf) in ice_set_ptp_clock_index() 430 static void ice_clear_ptp_clock_index(struct ice_pf *pf) in ice_clear_ptp_clock_index() 462 ice_ptp_read_src_clk_reg(struct ice_pf *pf, struct ptp_system_timestamp *sts) in ice_ptp_read_src_clk_reg() 586 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts() 670 struct ice_pf *p in ice_ptp_process_tx_tstamp() [all...] |
H 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() 134 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs() 149 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx() 161 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx() 207 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr() 240 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc() 266 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc() 308 struct ice_pf *p in ice_dcbnl_get_pfc_cfg() [all...] |
H 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() 115 int ice_del_rdma_qset(struct ice_pf *pf, struct iidc_rdma_qset_params *qset) in ice_del_rdma_qset() 144 int ice_rdma_request_reset(struct ice_pf *pf, enum iidc_reset_type reset_type) in ice_rdma_request_reset() 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_alloc_rdma_qvectors(struct ice_pf *pf) in ice_alloc_rdma_qvectors() 268 static void ice_free_rdma_qvector(struct ice_pf *pf) in ice_free_rdma_qvector() 303 int ice_plug_aux_dev(struct ice_pf *p [all...] |
H A D | ice.h | 259 struct ice_pf *pf; 328 struct ice_pf *back; /* back pointer to PF */ 534 struct ice_pf { struct 681 ((struct ice_pf *)hw->back)->oicr_irq.index; in ice_irq_dynamic_ena() 700 static inline struct ice_pf *ice_netdev_to_pf(struct net_device *netdev) in ice_netdev_to_pf() 771 static inline struct ice_vsi *ice_get_main_vsi(struct ice_pf *pf) in ice_get_main_vsi() 796 static inline struct ice_vsi *ice_get_ctrl_vsi(struct ice_pf *pf) in ice_get_ctrl_vsi() 810 static inline struct ice_vsi *ice_find_vsi(struct ice_pf *pf, u16 vsi_num) in ice_find_vsi() 827 static inline bool ice_is_switchdev_running(struct ice_pf *pf) in ice_is_switchdev_running() 848 static inline bool ice_is_adq_active(struct ice_pf *p [all...] |
H A D | ice_devlink.c | 34 static void ice_info_get_dsn(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_get_dsn() 44 static void ice_info_pba(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_pba() 56 static void ice_info_fw_mgmt(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_mgmt() 64 static void ice_info_fw_api(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_api() 72 static void ice_info_fw_build(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_fw_build() 79 static void ice_info_orom_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_orom_ver() 88 ice_info_pending_orom_ver(struct ice_pf __always_unused *pf, in ice_info_pending_orom_ver() 98 static void ice_info_nvm_ver(struct ice_pf *pf, struct ice_info_ctx *ctx) in ice_info_nvm_ver() 106 ice_info_pending_nvm_ver(struct ice_pf __always_unused *pf, in ice_info_pending_nvm_ver() 116 static void ice_info_eetrack(struct ice_pf *p [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A 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); 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() 83 ice_init_pf_dcb(struct ice_pf *p [all...] |
H A D | ice_virtchnl_pf.h | 68 struct ice_pf *pf; 108 void ice_process_vflr_event(struct ice_pf *pf); 114 void ice_free_vfs(struct ice_pf *pf); 115 void ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event); 116 void ice_vc_notify_link_state(struct ice_pf *pf); 117 void ice_vc_notify_reset(struct ice_pf *pf); 118 bool ice_reset_all_vfs(struct ice_pf *pf, bool is_vflr); 138 bool ice_is_any_vf_in_promisc(struct ice_pf *pf); 140 ice_vf_lan_overflow_event(struct ice_pf *pf, struct ice_rq_event_info *event); 141 void ice_print_vfs_mdd_events(struct ice_pf *p [all...] |
H A D | ice_devlink.c | 9 static void ice_info_get_dsn(struct ice_pf *pf, char *buf, size_t len) in ice_info_get_dsn() 19 static int ice_info_pba(struct ice_pf *pf, char *buf, size_t len) in ice_info_pba() 33 static int ice_info_fw_mgmt(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_mgmt() 43 static int ice_info_fw_api(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_api() 52 static int ice_info_fw_build(struct ice_pf *pf, char *buf, size_t len) in ice_info_fw_build() 61 static int ice_info_orom_ver(struct ice_pf *pf, char *buf, size_t len) in ice_info_orom_ver() 70 static int ice_info_nvm_ver(struct ice_pf *pf, char *buf, size_t len) in ice_info_nvm_ver() 79 static int ice_info_eetrack(struct ice_pf *pf, char *buf, size_t len) in ice_info_eetrack() 88 static int ice_info_ddp_pkg_name(struct ice_pf *pf, char *buf, size_t len) in ice_info_ddp_pkg_name() 97 static int ice_info_ddp_pkg_version(struct ice_pf *p [all...] |
H A 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); 14 void ice_devlink_init_regions(struct ice_pf *pf); 15 void ice_devlink_destroy_regions(struct ice_pf *pf);
|
H 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() 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 *p in ice_dcbnl_get_pfc_cfg() [all...] |
H A D | ice.h | 184 struct ice_pf *pf; 244 struct ice_pf *back; /* back pointer to PF */ 380 struct ice_pf { struct 473 ((struct ice_pf *)hw->back)->oicr_idx; in ice_irq_dynamic_ena() 492 static inline struct ice_pf *ice_netdev_to_pf(struct net_device *netdev) in ice_netdev_to_pf() 537 static inline struct ice_vsi *ice_get_main_vsi(struct ice_pf *pf) in ice_get_main_vsi() 549 static inline struct ice_vsi *ice_get_ctrl_vsi(struct ice_pf *pf) in ice_get_ctrl_vsi() 568 u16 ice_get_avail_txq_count(struct ice_pf *pf); 569 u16 ice_get_avail_rxq_count(struct ice_pf *pf); 572 void ice_update_pf_stats(struct ice_pf *p [all...] |
/kernel/linux/linux-6.6/include/linux/net/intel/ |
H 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);
|