Home
last modified time | relevance | path

Searched refs:nfp_pf (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_main.h90 struct nfp_pf { struct
150 int nfp_net_pci_probe(struct nfp_pf *pf); argument
151 void nfp_net_pci_remove(struct nfp_pf *pf);
153 int nfp_hwmon_register(struct nfp_pf *pf);
154 void nfp_hwmon_unregister(struct nfp_pf *pf);
157 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev,
162 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format,
164 int nfp_net_pf_get_app_id(struct nfp_pf *pf);
166 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt,
168 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length,
[all …]
Dnfp_net_main.c48 nfp_net_get_mac_addr(struct nfp_pf *pf, struct net_device *netdev, in nfp_net_get_mac_addr()
75 static int nfp_net_pf_get_num_ports(struct nfp_pf *pf) in nfp_net_pf_get_num_ports()
80 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic()
90 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics()
100 nfp_net_pf_alloc_vnic(struct nfp_pf *pf, bool needs_netdev, in nfp_net_pf_alloc_vnic()
141 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic()
184 nfp_net_pf_alloc_vnics(struct nfp_pf *pf, void __iomem *ctrl_bar, in nfp_net_pf_alloc_vnics()
219 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic()
231 static int nfp_net_pf_alloc_irqs(struct nfp_pf *pf) in nfp_net_pf_alloc_irqs()
271 static void nfp_net_pf_free_irqs(struct nfp_pf *pf) in nfp_net_pf_free_irqs()
[all …]
Dnfp_devlink.c29 nfp_devlink_fill_eth_port_from_id(struct nfp_pf *pf, in nfp_devlink_fill_eth_port_from_id()
39 nfp_devlink_set_lanes(struct nfp_pf *pf, unsigned int idx, unsigned int lanes) in nfp_devlink_set_lanes()
67 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_split()
93 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit()
119 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get()
130 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set()
138 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get()
146 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set()
162 nfp_devlink_versions_get_hwinfo(struct nfp_pf *pf, struct devlink_info_req *req) in nfp_devlink_versions_get_hwinfo()
236 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_info_get()
Dnfp_main.c72 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()
290 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_disable()
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 …]
Dnfp_net_debugdump.c112 typedef int (*nfp_tlv_visit)(struct nfp_pf *pf, struct nfp_dump_tl *tl,
116 nfp_traverse_tlvs(struct nfp_pf *pf, void *data, u32 data_length, void *param, in nfp_traverse_tlvs()
190 static int nfp_calc_fwname_tlv_size(struct nfp_pf *pf) in nfp_calc_fwname_tlv_size()
197 static int nfp_calc_hwinfo_field_sz(struct nfp_pf *pf, struct nfp_dump_tl *spec) in nfp_calc_hwinfo_field_sz()
229 nfp_calc_rtsym_dump_sz(struct nfp_pf *pf, struct nfp_dump_tl *spec) in nfp_calc_rtsym_dump_sz()
251 nfp_add_tlv_size(struct nfp_pf *pf, struct nfp_dump_tl *tl, void *param) in nfp_add_tlv_size()
299 nfp_calc_specific_level_size(struct nfp_pf *pf, struct nfp_dump_tl *dump_level, in nfp_calc_specific_level_size()
312 s64 nfp_net_dump_calculate_size(struct nfp_pf *pf, struct nfp_dumpspec *spec, in nfp_net_dump_calculate_size()
369 static int nfp_dump_fwname(struct nfp_pf *pf, struct nfp_dump_state *dump) in nfp_dump_fwname()
390 nfp_dump_hwinfo(struct nfp_pf *pf, struct nfp_dump_tl *spec, in nfp_dump_hwinfo()
[all …]
Dnfp_shared_buf.c13 static u32 nfp_shared_buf_pool_unit(struct nfp_pf *pf, unsigned int sb) in nfp_shared_buf_pool_unit()
26 int nfp_shared_buf_pool_get(struct nfp_pf *pf, unsigned int sb, u16 pool_index, in nfp_shared_buf_pool_get()
56 int nfp_shared_buf_pool_set(struct nfp_pf *pf, unsigned int sb, in nfp_shared_buf_pool_set()
78 int nfp_shared_buf_register(struct nfp_pf *pf) in nfp_shared_buf_register()
141 void nfp_shared_buf_unregister(struct nfp_pf *pf) in nfp_shared_buf_unregister()
Ddevlink_param.c87 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_param_u8_get()
138 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_param_u8_set()
207 static int nfp_devlink_supports_params(struct nfp_pf *pf) in nfp_devlink_supports_params()
227 int nfp_devlink_params_register(struct nfp_pf *pf) in nfp_devlink_params_register()
240 void nfp_devlink_params_unregister(struct nfp_pf *pf) in nfp_devlink_params_unregister()
Dnfp_hwmon.c39 struct nfp_pf *pf = dev_get_drvdata(dev); in nfp_hwmon_read()
135 int nfp_hwmon_register(struct nfp_pf *pf) in nfp_hwmon_register()
156 void nfp_hwmon_unregister(struct nfp_pf *pf) in nfp_hwmon_unregister()
Dnfp_port.h12 struct nfp_pf;
123 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
128 int nfp_net_refresh_port_table_sync(struct nfp_pf *pf);
Dnfp_app.h23 struct nfp_pf;
163 struct nfp_pf *pf;
436 struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id);
445 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
Dnfp_app_nic.c11 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_app_nic_vnic_init_phy_port()
Dnfp_port.c172 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_port_init_phy_port()
Dnfp_app.c228 struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id) in nfp_app_alloc()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/nic/
Dmain.c11 struct nfp_pf *pf = app->pf; in nfp_nic_init()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c175 struct nfp_pf *pf = abm->app->pf; in nfp_abm_kill_reprs_all()
207 struct nfp_pf *pf = app->pf; in nfp_abm_eswitch_set_switchdev()
257 nfp_abm_vnic_set_mac(struct nfp_pf *pf, struct nfp_abm *abm, struct nfp_net *nn, in nfp_abm_vnic_set_mac()
445 struct nfp_pf *pf = app->pf; in nfp_abm_init()
Dctrl.c327 nfp_abm_ctrl_find_rtsym(struct nfp_pf *pf, const char *name, unsigned int size) in nfp_abm_ctrl_find_rtsym()
361 struct nfp_pf *pf = abm->app->pf; in nfp_abm_ctrl_find_addrs()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c65 struct nfp_pf *pf = app->pf; in nfp_bpf_vnic_alloc()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c742 const struct nfp_pf *pf = app->pf; in nfp_flower_init()