Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A 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);
164 int nfp_net_pf_get_app_id(struct nfp_pf *pf);
184 int nfp_shared_buf_register(struct nfp_pf *pf);
185 void nfp_shared_buf_unregister(struct nfp_pf *pf);
188 int nfp_shared_buf_pool_set(struct nfp_pf *pf, unsigned int sb,
192 int nfp_devlink_params_register(struct nfp_pf *pf);
[all …]
H A Dnfp_net_main.c89 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics()
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()
269 static int nfp_net_pf_init_vnics(struct nfp_pf *pf) in nfp_net_pf_init_vnics()
391 static int nfp_net_pf_app_start(struct nfp_pf *pf) in nfp_net_pf_app_start()
418 static void nfp_net_pf_app_stop(struct nfp_pf *pf) in nfp_net_pf_app_stop()
438 static int nfp_net_pci_map_mem(struct nfp_pf *pf) in nfp_net_pci_map_mem()
647 struct nfp_pf *pf = container_of(work, struct nfp_pf, in nfp_net_refresh_vnics()
658 struct nfp_pf *pf = port->app->pf; in nfp_net_refresh_port_table()
690 int nfp_net_pci_probe(struct nfp_pf *pf) in nfp_net_pci_probe()
[all …]
H A 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()
H A Dnfp_main.c182 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()
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()
655 static void nfp_fw_unload(struct nfp_pf *pf) in nfp_fw_unload()
675 static int nfp_pf_find_rtsyms(struct nfp_pf *pf) in nfp_pf_find_rtsyms()
694 int nfp_net_pf_get_app_id(struct nfp_pf *pf) in nfp_net_pf_get_app_id()
700 static u64 nfp_net_pf_get_app_cap(struct nfp_pf *pf) in nfp_net_pf_get_app_cap()
719 static void nfp_pf_cfg_hwinfo(struct nfp_pf *pf) in nfp_pf_cfg_hwinfo()
761 struct nfp_pf *pf; in nfp_pci_probe()
[all …]
H A 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()
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()
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()
449 nfp_dump_csr_range(struct nfp_pf *pf, struct nfp_dumpspec_csr *spec_csr, in nfp_dump_csr_range()
551 nfp_dump_indirect_csr_range(struct nfp_pf *pf, in nfp_dump_indirect_csr_range()
597 nfp_dump_single_rtsym(struct nfp_pf *pf, struct nfp_dumpspec_rtsym *spec, in nfp_dump_single_rtsym()
[all …]
H A 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()
H A 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()
H A 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()
H A Dnfp_port.h12 struct nfp_pf;
135 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
140 int nfp_net_refresh_port_table_sync(struct nfp_pf *pf);
H A 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,
H A 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()
H A Dnfp_port.c172 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_port_init_phy_port()
H A Dnfp_app.c228 struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id) in nfp_app_alloc()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/
H A 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()
H A 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()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nic/
H A Dmain.c13 struct nfp_pf *pf = app->pf; in nfp_nic_init()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.c65 struct nfp_pf *pf = app->pf; in nfp_bpf_vnic_alloc()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmain.c751 const struct nfp_pf *pf = app->pf; in nfp_flower_init()