/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.c | 57 static struct ice_pf *ice_get_ctrl_pf(struct ice_pf *pf) in ice_get_ctrl_pf() 62 static struct ice_ptp *ice_get_ctrl_ptp(struct ice_pf *pf) in ice_get_ctrl_ptp() 77 static int ice_ptp_find_pin_idx(struct ice_pf *pf, enum ptp_pin_function func, in ice_ptp_find_pin_idx() 99 static void ice_ptp_cfg_tx_interrupt(struct ice_pf *pf) in ice_ptp_cfg_tx_interrupt() 136 static void ice_set_rx_tstamp(struct ice_pf *pf, bool on) in ice_set_rx_tstamp() 161 static void ice_ptp_disable_timestamp_mode(struct ice_pf *pf) in ice_ptp_disable_timestamp_mode() 180 void ice_ptp_restore_timestamp_mode(struct ice_pf *pf) in ice_ptp_restore_timestamp_mode() 203 u64 ice_ptp_read_src_clk_reg(struct ice_pf *pf, in ice_ptp_read_src_clk_reg() 341 static u64 ice_ptp_extend_40b_ts(struct ice_pf *pf, u64 in_tstamp) in ice_ptp_extend_40b_ts() 385 struct ice_pf *pf; in ice_ptp_req_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() 89 ice_eswitch_release_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_release_repr() 109 static int ice_eswitch_setup_repr(struct ice_pf *pf, struct ice_repr *repr) in ice_eswitch_setup_repr() 178 struct ice_pf *pf = vsi->back; in ice_eswitch_update_repr() local 270 static void ice_eswitch_release_env(struct ice_pf *pf) in ice_eswitch_release_env() 293 static int ice_eswitch_enable_switchdev(struct ice_pf *pf) in ice_eswitch_enable_switchdev() 328 static void ice_eswitch_disable_switchdev(struct ice_pf *pf) in ice_eswitch_disable_switchdev() 346 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_set() local 394 struct ice_pf *pf = devlink_priv(devlink); in ice_eswitch_mode_get() local 407 bool ice_is_eswitch_mode_switchdev(struct ice_pf *pf) in ice_is_eswitch_mode_switchdev() [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() 118 void ice_clear_interrupt_scheme(struct ice_pf *pf) in ice_clear_interrupt_scheme() 129 int ice_init_interrupt_scheme(struct ice_pf *pf) in ice_init_interrupt_scheme() 182 struct msi_map ice_alloc_irq(struct ice_pf *pf, bool dyn_allowed) in ice_alloc_irq() [all …]
|
H A D | ice_main.c | 66 struct ice_pf *pf = container_of(hw, struct ice_pf, hw); in ice_hw_to_dev() local 116 static void ice_check_for_hang_subtask(struct ice_pf *pf) in ice_check_for_hang_subtask() 184 static int ice_init_mac_fltr(struct ice_pf *pf) in ice_init_mac_fltr() 329 struct ice_pf *pf = vsi->back; in ice_vsi_sync_fltr() local 486 static void ice_sync_fltr_subtask(struct ice_pf *pf) in ice_sync_fltr_subtask() 509 static void ice_pf_dis_all_vsi(struct ice_pf *pf, bool locked) in ice_pf_dis_all_vsi() 533 ice_prepare_for_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_prepare_for_reset() 626 static void ice_do_reset(struct ice_pf *pf, enum ice_reset_req reset_type) in ice_do_reset() 671 static void ice_reset_subtask(struct ice_pf *pf) in ice_reset_subtask() 944 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() 346 void ice_unplug_aux_dev(struct ice_pf *pf) in ice_unplug_aux_dev() 365 int ice_init_rdma(struct ice_pf *pf) in ice_init_rdma() [all …]
|
H A D | ice_gnss.c | 20 ice_gnss_do_write(struct ice_pf *pf, const unsigned char *buf, unsigned int size) in ice_gnss_do_write() 91 struct ice_pf *pf; in ice_gnss_read() local 171 static struct gnss_serial *ice_gnss_struct_init(struct ice_pf *pf) in ice_gnss_struct_init() 208 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_open() local 234 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_close() local 261 struct ice_pf *pf = gnss_get_drvdata(gdev); in ice_gnss_write() local 297 static int ice_gnss_register(struct ice_pf *pf) in ice_gnss_register() 331 static void ice_gnss_deregister(struct ice_pf *pf) in ice_gnss_deregister() 344 void ice_gnss_init(struct ice_pf *pf) in ice_gnss_init() 366 void ice_gnss_exit(struct ice_pf *pf) in ice_gnss_exit()
|
H A D | ice_lib.c | 75 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_arrays() local 160 static u16 ice_get_rxq_count(struct ice_pf *pf) in ice_get_rxq_count() 165 static u16 ice_get_txq_count(struct ice_pf *pf) in ice_get_txq_count() 179 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 442 struct ice_pf *pf = NULL; in ice_vsi_free() local 519 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_stat_arrays() local [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_debugfs.c | 106 static int ice_find_module_by_dentry(struct ice_pf *pf, struct dentry *d) in ice_find_module_by_dentry() 131 struct ice_pf *pf; in ice_debugfs_module_show() local 164 struct ice_pf *pf = file_inode(filp)->i_private; in ice_debugfs_module_write() local 228 struct ice_pf *pf = filp->private_data; in ice_debugfs_nr_messages_read() local 249 struct ice_pf *pf = filp->private_data; in ice_debugfs_nr_messages_write() local 303 struct ice_pf *pf = filp->private_data; in ice_debugfs_enable_read() local 325 struct ice_pf *pf = filp->private_data; in ice_debugfs_enable_write() local 398 struct ice_pf *pf = filp->private_data; in ice_debugfs_log_size_read() local 420 struct ice_pf *pf = filp->private_data; in ice_debugfs_log_size_write() local 487 struct ice_pf *pf = filp->private_data; in ice_debugfs_data_read() 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() 263 static void nfp_net_pf_free_irqs(struct nfp_pf *pf) in nfp_net_pf_free_irqs() [all …]
|
H A D | nfp_main.c | 72 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, in nfp_pf_rtsym_read_optional() 93 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, in nfp_pf_map_rtsym() 105 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, in nfp_mbox_cmd() 182 static bool nfp_board_ready(struct nfp_pf *pf) in nfp_board_ready() 199 static int nfp_pf_board_state_wait(struct nfp_pf *pf) in nfp_pf_board_state_wait() 221 static int nfp_pcie_sriov_read_nfd_limit(struct nfp_pf *pf) in nfp_pcie_sriov_read_nfd_limit() 245 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_enable() local 290 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_disable() local 329 int nfp_flash_update_common(struct nfp_pf *pf, const struct firmware *fw, in nfp_flash_update_common() 358 nfp_net_fw_request(struct pci_dev *pdev, struct nfp_pf *pf, const char *name) in nfp_net_fw_request() [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 …]
|
H A D | cn10k_ipsec.c | 22 static bool cn10k_cpt_device_set_inuse(struct otx2_nic *pf) in cn10k_cpt_device_set_inuse() 39 static void cn10k_cpt_device_set_available(struct otx2_nic *pf) in cn10k_cpt_device_set_available() 44 static void cn10k_cpt_device_set_unavailable(struct otx2_nic *pf) in cn10k_cpt_device_set_unavailable() 49 static int cn10k_outb_cptlf_attach(struct otx2_nic *pf) in cn10k_outb_cptlf_attach() 71 static int cn10k_outb_cptlf_detach(struct otx2_nic *pf) in cn10k_outb_cptlf_detach() 92 static int cn10k_outb_cptlf_alloc(struct otx2_nic *pf) in cn10k_outb_cptlf_alloc() 114 static void cn10k_outb_cptlf_free(struct otx2_nic *pf) in cn10k_outb_cptlf_free() 122 static int cn10k_outb_cptlf_config(struct otx2_nic *pf) in cn10k_outb_cptlf_config() 141 static void cn10k_outb_cptlf_iq_enable(struct otx2_nic *pf) in cn10k_outb_cptlf_iq_enable() 156 static void cn10k_outb_cptlf_iq_disable(struct otx2_nic *pf) in cn10k_outb_cptlf_iq_disable() [all …]
|
H A D | otx2_dmac_flt.c | 10 static int otx2_dmacflt_do_add(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_do_add() 43 static int otx2_dmacflt_add_pfmac(struct otx2_nic *pf, u32 *dmac_index) in otx2_dmacflt_add_pfmac() 79 int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) in otx2_dmacflt_add() 115 static int otx2_dmacflt_remove_pfmac(struct otx2_nic *pf, u32 dmac_index) in otx2_dmacflt_remove_pfmac() 134 int otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_remove() 149 int otx2_dmacflt_get_max_cnt(struct otx2_nic *pf) in otx2_dmacflt_get_max_cnt() 182 int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos) in otx2_dmacflt_update()
|
/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf_common.c | 10 static void enetc_set_si_hw_addr(struct enetc_pf *pf, int si, 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() 94 struct enetc_pf *pf = enetc_si_priv(si); in enetc_pf_netdev_setup() local 157 static int enetc_mdio_probe(struct enetc_pf *pf, struct device_node *np) in enetc_mdio_probe() 188 static void enetc_mdio_remove(struct enetc_pf *pf) in enetc_mdio_remove() 194 static int enetc_imdio_create(struct enetc_pf *pf) in enetc_imdio_create() 249 static void enetc_imdio_remove(struct enetc_pf *pf) in enetc_imdio_remove() [all …]
|
H A D | enetc4_pf.c | 24 static void enetc4_get_port_caps(struct enetc_pf *pf) in enetc4_get_port_caps() 119 static void enetc4_pf_clear_maft_entries(struct enetc_pf *pf) in enetc4_pf_clear_maft_entries() 129 static int enetc4_pf_add_maft_entries(struct enetc_pf *pf, in enetc4_pf_add_maft_entries() 157 static int enetc4_pf_set_uc_exact_filter(struct enetc_pf *pf) in enetc4_pf_set_uc_exact_filter() 217 static void enetc4_pf_set_mac_hash_filter(struct enetc_pf *pf, int type) in enetc4_pf_set_mac_hash_filter() 247 static void enetc4_pf_set_mac_filter(struct enetc_pf *pf, int type) in enetc4_pf_set_mac_filter() 273 struct enetc_pf *pf = enetc_si_priv(si); in enetc4_pf_struct_init() local 298 static void enetc4_default_rings_allocation(struct enetc_pf *pf) in enetc4_default_rings_allocation() 334 static void enetc4_allocate_si_rings(struct enetc_pf *pf) in enetc4_allocate_si_rings() 351 static void enetc4_set_default_si_vlan_promisc(struct enetc_pf *pf) in enetc4_set_default_si_vlan_promisc() [all …]
|
H A D | enetc_pf.c | 34 static struct phylink_pcs *enetc_pf_create_pcs(struct enetc_pf *pf, in enetc_pf_create_pcs() 53 static void enetc_enable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_enable_si_vlan_promisc() 59 static void enetc_disable_si_vlan_promisc(struct enetc_pf *pf, int si_idx) in enetc_disable_si_vlan_promisc() 114 static void enetc_sync_mac_filters(struct enetc_pf *pf) in enetc_sync_mac_filters() 161 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_rx_mode() local 245 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_mac() local 264 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_vlan() local 283 struct enetc_pf *pf = enetc_si_priv(priv->si); in enetc_pf_set_vf_spoofchk() local 298 struct enetc_pf *pf = enetc_si_priv(si); in enetc_port_assign_rfs_entries() local 336 struct enetc_pf *pf = enetc_si_priv(si); in enetc_port_si_configure() local [all …]
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 139 struct i40e_pf *pf = i40e_hw_to_pf(hw); in i40e_hw_to_dev() local 154 struct i40e_pf *pf = i40e_hw_to_pf(hw); in i40e_allocate_dma_mem() local 172 struct i40e_pf *pf = i40e_hw_to_pf(hw); in i40e_free_dma_mem() local 224 static int i40e_get_lump(struct i40e_pf *pf, struct i40e_lump_tracking *pile, in i40e_get_lump() 313 struct i40e_vsi *i40e_find_vsi_from_id(struct i40e_pf *pf, u16 id) in i40e_find_vsi_from_id() 331 void i40e_service_event_schedule(struct i40e_pf *pf) in i40e_service_event_schedule() 352 struct i40e_pf *pf = vsi->back; in i40e_tx_timeout() local 556 void i40e_pf_reset_stats(struct i40e_pf *pf) in i40e_pf_reset_stats() 718 struct i40e_pf *pf = vsi->back; in i40e_update_eth_stats() local 780 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() 113 struct i40e_pf *pf = vf->pf; in i40e_vc_notify_vf_link_state() local 133 void i40e_vc_notify_link_state(struct i40e_pf *pf) in i40e_vc_notify_link_state() 147 void i40e_vc_notify_reset(struct i40e_pf *pf) in i40e_vc_notify_reset() 221 struct i40e_pf *pf = vf->pf; in i40e_vc_reset_vf() local 262 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vsi_id() local 279 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_queue_id() local 294 struct i40e_pf *pf = vf->pf; in i40e_vc_isvalid_vector_id() local 312 struct i40e_pf *pf = vf->pf; in i40e_vc_get_pf_queue_id() local 374 struct i40e_pf *pf = vf->pf; in i40e_config_irq_link_list() local [all …]
|
H A D | i40e_ethtool.c | 481 static void i40e_partition_setting_complaint(struct i40e_pf *pf) in i40e_partition_setting_complaint() 493 static void i40e_phy_type_to_ethtool(struct i40e_pf *pf, in i40e_phy_type_to_ethtool() 775 struct i40e_pf *pf) in i40e_get_settings_link_up() 1049 struct i40e_pf *pf) in i40e_get_settings_link_down() 1072 struct i40e_pf *pf = np->vsi->back; in i40e_get_link_ksettings() local 1229 struct i40e_pf *pf = np->vsi->back; in i40e_set_link_ksettings() local 1491 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_cfg() local 1549 struct i40e_pf *pf = np->vsi->back; in i40e_get_fec_param() local 1591 struct i40e_pf *pf = np->vsi->back; in i40e_set_fec_param() local 1635 struct i40e_pf *pf = np->vsi->back; in i40e_nway_reset() 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() 55 struct i40e_pf *pf = filp->private_data; in i40e_dbg_command_read() local 100 static void i40e_dbg_dump_vsi_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_vsi_seid() 477 static void i40e_dbg_dump_aq_desc(struct i40e_pf *pf) in i40e_dbg_dump_aq_desc() 526 struct i40e_pf *pf, enum ring_type type) in i40e_dbg_dump_desc() 638 static void i40e_dbg_dump_vsi_no_seid(struct i40e_pf *pf) in i40e_dbg_dump_vsi_no_seid() 652 static void i40e_dbg_dump_eth_stats(struct i40e_pf *pf, in i40e_dbg_dump_eth_stats() 678 static void i40e_dbg_dump_veb_seid(struct i40e_pf *pf, int seid) in i40e_dbg_dump_veb_seid() 698 static void i40e_dbg_dump_veb_all(struct i40e_pf *pf) in i40e_dbg_dump_veb_all() 712 static void i40e_dbg_dump_vf(struct i40e_pf *pf, int vf_id) in i40e_dbg_dump_vf() [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() 126 ice_devlink_aq_set_port_option(struct ice_pf *pf, u8 option_idx, in ice_devlink_aq_set_port_option() 187 struct ice_pf *pf = devlink_priv(devlink); in ice_devlink_port_split() local 269 ice_devlink_set_port_split_options(struct ice_pf *pf, in ice_devlink_set_port_split_options() 305 ice_devlink_set_switch_id(struct ice_pf *pf, struct netdev_phys_item_id *ppid) in ice_devlink_set_switch_id() 325 int ice_devlink_create_pf_port(struct ice_pf *pf) in ice_devlink_create_pf_port() 375 void ice_devlink_destroy_pf_port(struct ice_pf *pf) in ice_devlink_destroy_pf_port() 421 struct ice_pf *pf; in ice_devlink_port_set_vf_fn_mac() local 451 struct ice_pf *pf; in ice_devlink_create_vf_port() local 587 struct ice_pf *pf = dyn_port->pf; in ice_dealloc_dynamic_port() 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 …]
|