| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp.c | 58 static struct ice_ptp *ice_get_ctrl_ptp(struct ice_pf *pf) in ice_get_ctrl_ptp() 73 static int ice_ptp_find_pin_idx(struct ice_pf *pf, enum ptp_pin_function func, in ice_ptp_find_pin_idx() 95 static void ice_ptp_cfg_tx_interrupt(struct ice_pf *pf) in ice_ptp_cfg_tx_interrupt() 132 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp() 157 static void ice_ptp_disable_timestamp_mode(struct ice_pf *pf) in ice_ptp_disable_timestamp_mode() 176 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf) in ice_ptp_restore_timestamp_mode() 199 u64 ice_ptp_read_src_clk_reg(struct ice_pf *pf, in ice_ptp_read_src_clk_reg() 337 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts() 381 struct ice_pf *pf; in ice_ptp_req_tx_single_tstamp() local 433 struct ice_pf *pf; in ice_ptp_complete_tx_single_tstamp() local [all …]
|
| H A D | ice_eswitch.c | 20 static int ice_eswitch_setup_env(struct ice_pf *pf) in ice_eswitch_setup_env() argument 89 ice_eswitch_release_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_release_repr() argument 109 static int ice_eswitch_setup_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_setup_repr() argument 176 struct ice_pf *pf in ice_eswitch_update_repr() local 268 ice_eswitch_release_env(struct ice_pf * pf) ice_eswitch_release_env() argument 291 ice_eswitch_enable_switchdev(struct ice_pf * pf) ice_eswitch_enable_switchdev() argument 328 ice_eswitch_disable_switchdev(struct ice_pf * pf) ice_eswitch_disable_switchdev() argument 346 struct ice_pf *pf = devlink_priv(devlink); ice_eswitch_mode_set() local 394 struct ice_pf *pf = devlink_priv(devlink); ice_eswitch_mode_get() local 407 ice_is_eswitch_mode_switchdev(struct ice_pf * pf) ice_is_eswitch_mode_switchdev() argument 416 ice_eswitch_start_all_tx_queues(struct ice_pf * pf) ice_eswitch_start_all_tx_queues() argument 432 ice_eswitch_stop_all_tx_queues(struct ice_pf * pf) ice_eswitch_stop_all_tx_queues() argument 444 ice_eswitch_stop_reprs(struct ice_pf * pf) ice_eswitch_stop_reprs() argument 449 ice_eswitch_start_reprs(struct ice_pf * pf) ice_eswitch_start_reprs() argument 455 ice_eswitch_attach(struct ice_pf * pf,struct ice_repr * repr,unsigned long * id) ice_eswitch_attach() argument 509 ice_eswitch_attach_vf(struct ice_pf * pf,struct ice_vf * vf) ice_eswitch_attach_vf() argument 537 ice_eswitch_attach_sf(struct ice_pf * pf,struct ice_dynamic_port * sf) ice_eswitch_attach_sf() argument 552 ice_eswitch_detach(struct ice_pf * pf,struct ice_repr * repr) ice_eswitch_detach() argument 583 ice_eswitch_detach_vf(struct ice_pf * pf,struct ice_vf * vf) ice_eswitch_detach_vf() argument 601 ice_eswitch_detach_sf(struct ice_pf * pf,struct ice_dynamic_port * sf) ice_eswitch_detach_sf() argument [all...] |
| H A D | ice_irq.c | 15 ice_init_irq_tracker(struct ice_pf *pf, unsigned int max_vectors, in ice_init_irq_tracker() 24 ice_init_virt_irq_tracker(struct ice_pf *pf, u32 base, u32 num_entries) in ice_init_virt_irq_tracker() 40 static void ice_deinit_irq_tracker(struct ice_pf *pf) in ice_deinit_irq_tracker() 45 static void ice_deinit_virt_irq_tracker(struct ice_pf *pf) in ice_deinit_virt_irq_tracker() 55 static void ice_free_irq_res(struct ice_pf *pf, u16 index) in ice_free_irq_res() 74 static struct ice_irq_entry *ice_get_irq_res(struct ice_pf *pf, in ice_get_irq_res() 107 static int ice_get_default_msix_amount(struct ice_pf *pf) in ice_get_default_msix_amount() 119 void ice_clear_interrupt_scheme(struct ice_pf *pf) in ice_clear_interrupt_scheme() 130 int ice_init_interrupt_scheme(struct ice_pf *pf) in ice_init_interrupt_scheme() 183 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_allowed) in ice_alloc_irq() [all …]
|
| H A D | ice_dcb_nl.c | 16 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_devreset() local 35 struct ice_pf *pf; in ice_dcbnl_getets() local 64 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setets() local 134 struct ice_pf *pf = ice_netdev_to_pf(dev); in ice_dcbnl_getnumtcs() local 149 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getdcbx() local 161 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setdcbx() local 207 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_perm_hw_addr() local 240 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_getpfc() local 266 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_setpfc() local 308 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_get_pfc_cfg() local [all …]
|
| H A D | ice_sriov.c | 24 static void ice_free_vf_entries(struct ice_pf *pf) in ice_free_vf_entries() argument 50 struct ice_pf *pf = vf->pf; in ice_free_vf_res() local 91 struct ice_pf *pf = vf->pf; in ice_dis_vf_mappings() local 131 ice_free_vfs(struct ice_pf * pf) ice_free_vfs() argument 200 struct ice_pf *pf = vf->pf; ice_vf_vsi_setup() local 234 struct ice_pf *pf = vf->pf; ice_ena_vf_msix_mappings() local 371 ice_set_per_vf_res(struct ice_pf * pf,u16 num_vfs) ice_set_per_vf_res() argument 440 struct ice_pf *pf = vf->pf; ice_init_vf_vsi_res() local 467 ice_start_vfs(struct ice_pf * pf) ice_start_vfs() argument 554 struct ice_pf *pf = vf->pf; ice_sriov_clear_mbx_register() local 569 struct ice_pf *pf = vf->pf; ice_sriov_trigger_reset_register() local 616 struct ice_pf *pf = vf->pf; ice_sriov_poll_reset_status() local 685 ice_create_vf_entries(struct ice_pf * pf,u16 num_vfs) ice_create_vf_entries() argument 744 ice_ena_vfs(struct ice_pf * pf,u16 num_vfs) ice_ena_vfs() argument 812 ice_pci_sriov_ena(struct ice_pf * pf,int num_vfs) ice_pci_sriov_ena() argument 843 ice_check_sriov_allowed(struct ice_pf * pf) ice_check_sriov_allowed() argument 873 struct ice_pf *pf = pci_get_drvdata(pdev); ice_sriov_get_vf_total_msix() local 878 ice_sriov_remap_vectors(struct ice_pf * pf,u16 restricted_id) ice_sriov_remap_vectors() argument 933 struct ice_pf *pf = pci_get_drvdata(pdev); ice_sriov_set_msix_vec_count() local 1043 struct ice_pf *pf = pci_get_drvdata(pdev); ice_sriov_configure() local 1075 ice_process_vflr_event(struct ice_pf * pf) ice_process_vflr_event() argument 1113 ice_get_vf_from_pfq(struct ice_pf * pf,u16 pfq) ice_get_vf_from_pfq() argument 1149 ice_globalq_to_pfq(struct ice_pf * pf,u32 globalq) ice_globalq_to_pfq() argument 1164 ice_vf_lan_overflow_event(struct ice_pf * pf,struct ice_rq_event_info * event) ice_vf_lan_overflow_event() argument 1195 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_spoofchk() local 1255 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_get_vf_cfg() local 1301 __ice_set_vf_mac(struct ice_pf * pf,u16 vf_id,const u8 * mac) __ice_set_vf_mac() argument 1379 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_trust() local 1429 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_link_state() local 1469 ice_calc_all_vfs_min_tx_rate(struct ice_pf * pf) ice_calc_all_vfs_min_tx_rate() argument 1533 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_bw() local 1602 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_get_vf_stats() local 1684 struct ice_pf *pf = ice_netdev_to_pf(netdev); ice_set_vf_port_vlan() local 1745 struct ice_pf *pf = vf->pf; ice_print_vf_rx_mdd_event() local 1763 struct ice_pf *pf = vf->pf; ice_print_vf_tx_mdd_event() local 1781 ice_print_vfs_mdd_events(struct ice_pf * pf) ice_print_vfs_mdd_events() argument 1822 ice_restore_all_vfs_msi_state(struct ice_pf * pf) ice_restore_all_vfs_msi_state() argument [all...] |
| H A D | ice_main.c | 69 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() local 119 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() 187 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr() 332 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() local 489 static void ice_sync_fltr_subtask(struct ice_pf *pf) in ice_sync_fltr_subtask() 512 static void ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked) in ice_pf_dis_all_vsi() 536 ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_prepare_for_reset() 629 static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_do_reset() 674 static void ice_reset_subtask(struct ice_pf *pf) in ice_reset_subtask() 947 static void ice_set_dflt_mib(struct ice_pf *pf) in ice_set_dflt_mib() [all …]
|
| H A D | ice_dcb_lib.h | 58 static inline bool ice_is_dcb_active(struct ice_pf *pf) in ice_is_dcb_active() 64 static inline u8 ice_get_pfc_mode(struct ice_pf *pf) in ice_get_pfc_mode() 70 static inline void ice_dcb_rebuild(struct ice_pf *pf) { } in ice_dcb_rebuild() 96 ice_init_pf_dcb(struct ice_pf *pf, bool __always_unused locked) in ice_init_pf_dcb() 103 ice_pf_dcb_cfg(struct ice_pf __always_unused *pf, in ice_pf_dcb_cfg() 117 static inline bool ice_is_dcb_active(struct ice_pf __always_unused *pf) in ice_is_dcb_active() 123 ice_is_pfc_causing_hung_q(struct ice_pf __always_unused *pf, in ice_is_pfc_causing_hung_q() 129 static inline u8 ice_get_pfc_mode(struct ice_pf *pf) in ice_get_pfc_mode() 134 static inline void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked) { } in ice_pf_dcb_recfg() 136 static inline void ice_update_dcb_stats(struct ice_pf *pf) { } in ice_update_dcb_stats() [all …]
|
| H A D | ice_idc.c | 38 void ice_send_event_to_aux(struct ice_pf *pf, struct iidc_rdma_event *event) in ice_send_event_to_aux() 76 struct ice_pf *pf; in ice_add_rdma_qset() local 133 struct ice_pf *pf; in ice_del_rdma_qset() local 165 struct ice_pf *pf; in ice_rdma_request_reset() local 199 struct ice_pf *pf; in ice_rdma_update_vsi_filter() local 236 struct ice_pf *pf; in ice_alloc_rdma_qvector() local 262 struct ice_pf *pf; in ice_free_rdma_qvector() local 294 int ice_plug_aux_dev(struct ice_pf *pf) in ice_plug_aux_dev() 347 void ice_unplug_aux_dev(struct ice_pf *pf) in ice_unplug_aux_dev() 371 void ice_rdma_finalize_setup(struct ice_pf *pf) in ice_rdma_finalize_setup() [all …]
|
| H A D | ice_lib.c | 75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() local 156 static u16 ice_get_rxq_count(struct ice_pf *pf) in ice_get_rxq_count() 162 static u16 ice_get_txq_count(struct ice_pf *pf) in ice_get_txq_count() 177 struct ice_pf *pf = vsi->back; in ice_vsi_set_num_qs() local 286 struct ice_pf *pf = vsi->back; in ice_vsi_delete_from_hw() local 315 struct ice_pf *pf = vsi->back; in ice_vsi_free_arrays() local 340 struct ice_pf *pf = vsi->back; in ice_vsi_free_stats() local 381 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_ring_stats() local 446 struct ice_pf *pf = NULL; in ice_vsi_free() local 523 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_stat_arrays() local [all …]
|
| H A D | ice_gnss.c | 21 ice_gnss_do_write(struct ice_pf *pf, const unsigned char *buf, unsigned int size) in ice_gnss_do_write() 92 struct ice_pf *pf; in ice_gnss_read() local 172 static struct gnss_serial *ice_gnss_struct_init(struct ice_pf *pf) in ice_gnss_struct_init() 209 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_open() local 235 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_close() local 262 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_write() local 298 static int ice_gnss_register(struct ice_pf *pf) in ice_gnss_register() 332 static void ice_gnss_deregister(struct ice_pf *pf) in ice_gnss_deregister() 345 void ice_gnss_init(struct ice_pf *pf) in ice_gnss_init() 367 void ice_gnss_exit(struct ice_pf *pf) in ice_gnss_exit()
|
| H A D | ice_dpll.c | 108 static bool ice_dpll_is_sw_pin(struct ice_pf *pf, u8 index, bool input) in ice_dpll_is_sw_pin() 133 static bool ice_dpll_is_reset(struct ice_pf *pf, struct netlink_ext_ack *extack) in ice_dpll_is_reset() 158 ice_dpll_pin_freq_set(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_pin_freq_set() 218 struct ice_pf *pf = d->pf; in ice_dpll_frequency_set() local 306 struct ice_pf *pf = d->pf; in ice_dpll_frequency_get() local 566 static int ice_dpll_rclk_update_e825c(struct ice_pf *pf, in ice_dpll_rclk_update_e825c() 608 static int ice_dpll_rclk_update(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_rclk_update() 642 ice_dpll_sw_pins_update(struct ice_pf *pf) in ice_dpll_sw_pins_update() 707 ice_dpll_pin_state_update(struct ice_pf *pf, struct ice_dpll_pin *pin, in ice_dpll_pin_state_update() 821 ice_dpll_hw_input_prio_set(struct ice_pf *pf, struct ice_dpll *dpll, in ice_dpll_hw_input_prio_set() [all …]
|
| H A D | ice_vf_lib.c | 25 struct ice_vf *ice_get_vf_by_id(struct ice_pf *pf, u16 vf_id) in ice_get_vf_by_id() 89 bool ice_has_vfs(struct ice_pf *pf) in ice_has_vfs() 105 u16 ice_get_num_vfs(struct ice_pf *pf) in ice_get_num_vfs() 145 struct ice_pf *pf = vf->pf; in ice_is_vf_disabled() local 263 struct ice_pf *pf = vf->pf; in ice_vf_reconfig_vsi() local 297 struct ice_pf *pf = vf->pf; in ice_vf_rebuild_vsi() local 466 struct ice_pf *pf = vsi->back; in ice_vf_rebuild_aggregator_node_cfg() local 576 bool ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf) in ice_is_any_vf_in_unicast_promisc() 629 struct ice_pf *pf = vf->pf; in ice_vf_clear_all_promisc_modes() local 729 struct ice_pf *pf = vf->pf; in ice_reset_vf_mbx_cnt() local [all …]
|
| H A D | ice_dcb_lib.c | 31 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue) in ice_is_pfc_causing_hung_q() 283 static void ice_dcb_ena_dis_vsi(struct ice_pf *pf, bool ena, bool locked) in ice_dcb_ena_dis_vsi() 312 int ice_dcb_bwchk(struct ice_pf *pf, struct ice_dcbx_cfg *dcbcfg) in ice_dcb_bwchk() 350 int ice_pf_dcb_cfg(struct ice_pf *pf, struct ice_dcbx_cfg *new_cfg, bool locked) in ice_pf_dcb_cfg() 485 ice_dcb_need_recfg(struct ice_pf *pf, struct ice_dcbx_cfg *old_cfg, in ice_dcb_need_recfg() 533 void ice_dcb_rebuild(struct ice_pf *pf) in ice_dcb_rebuild() 605 static int ice_dcb_init_cfg(struct ice_pf *pf, bool locked) in ice_dcb_init_cfg() 634 int ice_dcb_sw_dflt_cfg(struct ice_pf *pf, bool ets_willing, bool locked) in ice_dcb_sw_dflt_cfg() 709 static int ice_dcb_noncontig_cfg(struct ice_pf *pf) in ice_dcb_noncontig_cfg() 740 void ice_pf_dcb_recfg(struct ice_pf *pf, bool locked) in ice_pf_dcb_recfg() [all …]
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_dcb_nl.c | 37 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getets() local 75 struct i40e_pf *pf = i40e_netdev_to_pf(dev); in i40e_dcbnl_ieee_getpfc() local 108 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets() local 156 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setpfc() local 195 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setapp() local 247 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_delapp() local 309 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getstate() local 325 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setstate() local 369 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_tc_cfg_tx() local 404 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_bwg_cfg_tx() local [all …]
|
| H A D | i40e_client.c | 84 struct i40e_pf *pf = vsi->back; in i40e_notify_client_of_vf_msg() local 108 void i40e_notify_client_of_l2_param_changes(struct i40e_pf *pf) in i40e_notify_client_of_l2_param_changes() 147 struct i40e_pf *pf = ldev->pf; in i40e_client_release_qvlist() local 166 void i40e_notify_client_of_netdev_close(struct i40e_pf *pf, bool reset) in i40e_notify_client_of_netdev_close() 193 void i40e_notify_client_of_vf_reset(struct i40e_pf *pf, u32 vf_id) in i40e_notify_client_of_vf_reset() 218 void i40e_notify_client_of_vf_enable(struct i40e_pf *pf, u32 num_vfs) in i40e_notify_client_of_vf_enable() 245 int i40e_vf_client_capable(struct i40e_pf *pf, u32 vf_id) in i40e_vf_client_capable() 267 void i40e_client_update_msix_info(struct i40e_pf *pf) in i40e_client_update_msix_info() 334 static void i40e_client_add_instance(struct i40e_pf *pf) in i40e_client_add_instance() 390 void i40e_client_del_instance(struct i40e_pf *pf) in i40e_client_del_instance() [all …]
|
| H A D | i40e_main.c | 148 struct i40e_pf *pf = i40e_hw_to_pf(hw); in i40e_hw_to_dev() local 163 struct i40e_pf *pf = i40e_hw_to_pf(hw); in i40e_allocate_dma_mem() local 181 struct i40e_pf *pf = i40e_hw_to_pf(hw); in i40e_free_dma_mem() local 233 static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, in i40e_get_lump() 322 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id) in i40e_find_vsi_from_id() 340 void i40e_service_event_schedule(struct i40e_pf *pf) in i40e_service_event_schedule() 361 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() local 565 void i40e_pf_reset_stats(struct i40e_pf *pf) in i40e_pf_reset_stats() 727 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats() local 789 struct i40e_pf *pf = veb->pf; in i40e_update_veb_stats() local [all …]
|
| H A D | i40e_virtchnl_pf.c | 20 static void i40e_vc_vf_broadcast(struct i40e_pf *pf, in i40e_vc_vf_broadcast() argument 113 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state() local 133 i40e_vc_notify_link_state(struct i40e_pf * pf) i40e_vc_notify_link_state() argument 147 i40e_vc_notify_reset(struct i40e_pf * pf) i40e_vc_notify_reset() argument 221 struct i40e_pf *pf = vf->pf; i40e_vc_reset_vf() local 262 struct i40e_pf *pf = vf->pf; i40e_vc_isvalid_vsi_id() local 279 struct i40e_pf *pf = vf->pf; i40e_vc_isvalid_queue_id() local 294 struct i40e_pf *pf = vf->pf; i40e_vc_isvalid_vector_id() local 312 struct i40e_pf *pf = vf->pf; i40e_vc_get_pf_queue_id() local 374 struct i40e_pf *pf = vf->pf; i40e_config_irq_link_list() local 478 struct i40e_pf *pf = vf->pf; i40e_release_rdma_qvlist() local 530 struct i40e_pf *pf = vf->pf; i40e_config_rdma_qvlist() local 632 struct i40e_pf *pf = vf->pf; i40e_config_vsi_tx_queue() local 715 struct i40e_pf *pf = vf->pf; i40e_config_vsi_rx_queue() local 813 struct i40e_pf *pf = vf->pf; i40e_alloc_vsi_res() local 902 struct i40e_pf *pf = vf->pf; i40e_map_pf_queues_to_vsi() local 949 struct i40e_pf *pf = vf->pf; i40e_map_pf_to_vf_queues() local 987 struct i40e_pf *pf = vf->pf; i40e_enable_vf_mappings() local 1016 struct i40e_pf *pf = vf->pf; i40e_disable_vf_mappings() local 1036 struct i40e_pf *pf = vf->pf; i40e_free_vf_res() local 1117 struct i40e_pf *pf = vf->pf; i40e_alloc_vf_res() local 1192 struct i40e_pf *pf = vf->pf; i40e_quiesce_vf_pci() local 1292 struct i40e_pf *pf = vf->pf; i40e_set_vsi_promisc() local 1382 struct i40e_pf *pf = vf->pf; i40e_config_vf_promiscuous_mode() local 1451 struct i40e_pf *pf = vf->pf; i40e_trigger_vf_reset() local 1512 struct i40e_pf *pf = vf->pf; i40e_cleanup_reset_vf() local 1566 struct i40e_pf *pf = vf->pf; i40e_reset_vf() local 1635 i40e_reset_all_vfs(struct i40e_pf * pf,bool flr) i40e_reset_all_vfs() argument 1751 i40e_free_vfs(struct i40e_pf * pf) i40e_free_vfs() argument 1829 i40e_alloc_vfs(struct i40e_pf * pf,u16 num_alloc_vfs) i40e_alloc_vfs() argument 1894 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_sriov_enable() local 1943 struct i40e_pf *pf = pci_get_drvdata(pdev); i40e_pci_sriov_configure() local 1989 struct i40e_pf *pf; i40e_vc_send_msg_to_vf() local 2083 struct i40e_pf *pf = vf->pf; i40e_del_qch() local 2127 struct i40e_pf *pf = vf->pf; i40e_vc_get_vf_resources_msg() local 2263 struct i40e_pf *pf = vf->pf; i40e_vc_config_promiscuous_mode_msg() local 2350 struct i40e_pf *pf = vf->pf; i40e_vc_config_queues_msg() local 2555 struct i40e_pf *pf = vsi->back; i40e_ctrl_vf_tx_rings() local 2578 struct i40e_pf *pf = vsi->back; i40e_ctrl_vf_rx_rings() local 2618 struct i40e_pf *pf = vf->pf; i40e_vc_enable_queues_msg() local 2684 struct i40e_pf *pf = vf->pf; i40e_vc_disable_queues_msg() local 2730 struct i40e_pf *pf = vf->pf; i40e_check_enough_queue() local 2788 struct i40e_pf *pf = vf->pf; i40e_vc_request_queues_msg() local 2834 struct i40e_pf *pf = vf->pf; i40e_vc_get_stats_msg() local 2900 struct i40e_pf *pf = vf->pf; i40e_check_vf_permission() local 3063 struct i40e_pf *pf = vf->pf; i40e_vc_add_mac_addr_msg() local 3132 struct i40e_pf *pf = vf->pf; i40e_vc_del_mac_addr_msg() local 3219 struct i40e_pf *pf = vf->pf; i40e_vc_add_vlan_msg() local 3290 struct i40e_pf *pf = vf->pf; i40e_vc_remove_vlan_msg() local 3346 struct i40e_pf *pf = vf->pf; i40e_vc_rdma_msg() local 3413 struct i40e_pf *pf = vf->pf; i40e_vc_config_rss_key() local 3443 struct i40e_pf *pf = vf->pf; i40e_vc_config_rss_lut() local 3479 struct i40e_pf *pf = vf->pf; i40e_vc_get_rss_hashcfg() local 3515 struct i40e_pf *pf = vf->pf; i40e_vc_set_rss_hashcfg() local 3597 struct i40e_pf *pf = vf->pf; i40e_validate_cloud_filter() local 3725 struct i40e_pf *pf = vf->pf; i40e_find_vsi_from_seid() local 3746 struct i40e_pf *pf = vf->pf; i40e_del_all_cloud_filters() local 3791 struct i40e_pf *pf = vf->pf; i40e_vc_del_cloud_filter() local 3925 struct i40e_pf *pf = vf->pf; i40e_vc_add_cloud_filter() local 4043 struct i40e_pf *pf = vf->pf; i40e_vc_add_qch_msg() local 4157 struct i40e_pf *pf = vf->pf; i40e_vc_del_qch_msg() local 4201 i40e_vc_process_vf_msg(struct i40e_pf * pf,s16 vf_id,u32 v_opcode,u32 __always_unused v_retval,u8 * msg,u16 msglen) i40e_vc_process_vf_msg() argument 4332 i40e_vc_process_vflr_event(struct i40e_pf * pf) i40e_vc_process_vflr_event() argument 4379 i40e_validate_vf(struct i40e_pf * pf,int vf_id) i40e_validate_vf() argument 4443 struct i40e_pf *pf = vsi->back; i40e_ndo_set_vf_mac() local 4535 struct i40e_pf *pf = np->vsi->back; i40e_ndo_set_vf_port_vlan() local 4690 struct i40e_pf *pf = np->vsi->back; i40e_ndo_set_vf_bw() local 4742 struct i40e_pf *pf = vsi->back; i40e_ndo_get_vf_config() local 4798 struct i40e_pf *pf = np->vsi->back; i40e_ndo_set_vf_link_state() local 4900 struct i40e_pf *pf = vsi->back; i40e_ndo_set_vf_spoofchk() local 4957 struct i40e_pf *pf = np->vsi->back; i40e_ndo_set_vf_trust() local 5018 struct i40e_pf *pf = np->vsi->back; i40e_get_vf_stats() local [all...] |
| H A D | i40e_debugfs.c | 25 static struct i40e_vsi *i40e_dbg_find_vsi(struct i40e_pf *pf, int seid) in i40e_dbg_find_vsi() 58 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid() 435 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc() 484 struct i40e_pf *pf, enum ring_type type) in i40e_dbg_dump_desc() 596 static void i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) in i40e_dbg_dump_vsi_no_seid() 610 static void i40e_dbg_dump_eth_stats(struct i40e_pf *pf, in i40e_dbg_dump_eth_stats() 636 static void i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_veb_seid() 656 static void i40e_dbg_dump_veb_all(struct i40e_pf *pf) in i40e_dbg_dump_veb_all() 670 static void i40e_dbg_dump_vf(struct i40e_pf *pf, int vf_id) in i40e_dbg_dump_vf() 693 static void i40e_dbg_dump_vf_all(struct i40e_pf *pf) in i40e_dbg_dump_vf_all() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_pf.c | 58 struct otx2_nic *pf = netdev_priv(netdev); in otx2_change_mtu() local 80 static void otx2_disable_flr_me_intr(struct otx2_nic *pf) in otx2_disable_flr_me_intr() 106 static void otx2_flr_wq_destroy(struct otx2_nic *pf) in otx2_flr_wq_destroy() 118 struct otx2_nic *pf = flrwork->pf; in otx2_flr_handler() local 149 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_flr_intr_handler() local 178 struct otx2_nic *pf = (struct otx2_nic *)pf_irq; in otx2_pf_me_intr_handler() local 201 static int otx2_register_flr_me_intr(struct otx2_nic *pf, int numvfs) in otx2_register_flr_me_intr() 276 static int otx2_pf_flr_init(struct otx2_nic *pf, int num_vfs) in otx2_pf_flr_init() 358 static int otx2_forward_vf_mbox_msgs(struct otx2_nic *pf, in otx2_forward_vf_mbox_msgs() 459 struct otx2_nic *pf; in otx2_pfvf_mbox_handler() local [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_main.c | 47 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, in nfp_net_get_mac_addr() 74 static int nfp_net_pf_get_num_ports(struct nfp_pf *pf) in nfp_net_pf_get_num_ports() 79 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic() 89 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics() 99 nfp_net_pf_alloc_vnic(struct nfp_pf *pf, bool needs_netdev, in nfp_net_pf_alloc_vnic() 140 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic() 178 nfp_net_pf_alloc_vnics(struct nfp_pf *pf, void __iomem *ctrl_bar, in nfp_net_pf_alloc_vnics() 213 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic() 223 static int nfp_net_pf_alloc_irqs(struct nfp_pf *pf) in nfp_net_pf_alloc_irqs() 262 static void nfp_net_pf_free_irqs(struct nfp_pf *pf) in nfp_net_pf_free_irqs() [all …]
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc4_pf.c | 20 static void enetc4_get_port_caps(struct enetc_pf *pf) in enetc4_get_port_caps() 86 static void enetc4_pf_clear_maft_entries(struct enetc_pf *pf) in enetc4_pf_clear_maft_entries() 98 static int enetc4_pf_add_maft_entries(struct enetc_pf *pf, in enetc4_pf_add_maft_entries() 137 static void enetc4_pf_set_uc_hash_filter(struct enetc_pf *pf, in enetc4_pf_set_uc_hash_filter() 153 static int enetc4_pf_set_uc_exact_filter(struct enetc_pf *pf, in enetc4_pf_set_uc_exact_filter() 182 static void enetc4_pf_set_mc_hash_filter(struct enetc_pf *pf, in enetc4_pf_set_mc_hash_filter() 198 static void enetc4_pf_set_mac_filter(struct enetc_pf *pf, int type, in enetc4_pf_set_mac_filter() 227 struct enetc_pf *pf = enetc_si_priv(si); in enetc4_pf_struct_init() local 253 static void enetc4_default_rings_allocation(struct enetc_pf *pf) in enetc4_default_rings_allocation() 293 static void enetc4_allocate_si_rings(struct enetc_pf *pf) in enetc4_allocate_si_rings() [all …]
|
| H A D | enetc_pf_common.c | 10 void enetc_set_si_hw_addr(struct enetc_pf *pf, int si, const u8 *mac_addr) in enetc_set_si_hw_addr() 18 static void enetc_get_si_hw_addr(struct enetc_pf *pf, int si, u8 *mac_addr) in enetc_get_si_hw_addr() 28 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_mac_addr() local 41 static int enetc_setup_mac_address(struct device_node *np, struct enetc_pf *pf, in enetc_setup_mac_address() 71 int enetc_setup_mac_addresses(struct device_node *np, struct enetc_pf *pf) in enetc_setup_mac_addresses() 200 struct enetc_pf *pf = enetc_si_priv(si); in enetc_pf_netdev_setup() local 266 static int enetc_mdio_probe(struct enetc_pf *pf, struct device_node *np) in enetc_mdio_probe() 302 static void enetc_mdio_remove(struct enetc_pf *pf) in enetc_mdio_remove() 308 static int enetc_imdio_create(struct enetc_pf *pf) in enetc_imdio_create() 368 static void enetc_imdio_remove(struct enetc_pf *pf) in enetc_imdio_remove() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | 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 *pf, struct ice_info_ctx *ctx) in ice_info_eetrack() [all …]
|
| H A D | port.c | 51 static void ice_devlink_port_options_print(struct ice_pf *pf) in ice_devlink_port_options_print() argument 126 ice_devlink_aq_set_port_option(struct ice_pf *pf, u8 option_idx, in ice_devlink_aq_set_port_option() argument 187 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_port_split() local 269 ice_devlink_set_port_split_options(struct ice_pf * pf,struct devlink_port_attrs * attrs) ice_devlink_set_port_split_options() argument 305 ice_devlink_set_switch_id(struct ice_pf * pf,struct netdev_phys_item_id * ppid) ice_devlink_set_switch_id() argument 325 ice_devlink_create_pf_port(struct ice_pf * pf) ice_devlink_create_pf_port() argument 375 ice_devlink_destroy_pf_port(struct ice_pf * pf) ice_devlink_destroy_pf_port() argument 421 struct ice_pf *pf; ice_devlink_port_set_vf_fn_mac() local 451 struct ice_pf *pf; ice_devlink_create_vf_port() local 587 struct ice_pf *pf = dyn_port->pf; ice_dealloc_dynamic_port() local 602 ice_dealloc_all_dynamic_ports(struct ice_pf * pf) ice_dealloc_all_dynamic_ports() argument 623 ice_devlink_port_new_check_attr(struct ice_pf * pf,const struct devlink_port_new_attrs * new_attr,struct netlink_ext_ack * extack) ice_devlink_port_new_check_attr() argument 827 ice_reserve_sf_num(struct ice_pf * pf,const struct devlink_port_new_attrs * new_attr,struct netlink_ext_ack * extack,u32 * sfnum) ice_reserve_sf_num() argument 866 struct ice_pf *pf; ice_devlink_create_sf_port() local 909 ice_alloc_dynamic_port(struct ice_pf * pf,const struct devlink_port_new_attrs * new_attr,struct netlink_ext_ack * extack,struct devlink_port ** devlink_port) ice_alloc_dynamic_port() argument 987 struct ice_pf *pf = devlink_priv(devlink); ice_devlink_port_new() local [all...] |
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_cgx.c | 44 bool is_mac_feature_supported(struct rvu *rvu, int pf, int feature) in is_mac_feature_supported() 108 static void rvu_map_cgx_nix_block(struct rvu *rvu, int pf, in rvu_map_cgx_nix_block() 125 int pf = PF_CGXMAP_BASE; in rvu_map_cgx_lmac_pf() local 465 void rvu_cgx_enadis_rx_bp(struct rvu *rvu, int pf, bool enable) in rvu_cgx_enadis_rx_bp() 487 int pf = rvu_get_pf(rvu->pdev, pcifunc); in rvu_cgx_config_rxtx() local 504 int pf = rvu_get_pf(rvu->pdev, pcifunc); in rvu_cgx_tx_enable() local 529 int pf = rvu_get_pf(rvu->pdev, pcifunc); in rvu_cgx_disable_dmac_entries() local 580 int pf = rvu_get_pf(rvu->pdev, req->hdr.pcifunc); in rvu_lmac_get_stats() local 636 int pf = rvu_get_pf(rvu->pdev, req->hdr.pcifunc); in rvu_mbox_handler_cgx_stats_rst() local 666 int pf = rvu_get_pf(rvu->pdev, req->hdr.pcifunc); in rvu_mbox_handler_cgx_fec_stats() local [all …]
|