Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_main.h89 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,
165 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt,
167 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length,
169 int nfp_flash_update_common(struct nfp_pf *pf, const char *path,
[all …]
Dnfp_net_main.c47 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 int nfp_net_pf_get_app_id(struct nfp_pf *pf) in nfp_net_pf_get_app_id()
85 static void nfp_net_pf_free_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_free_vnic()
95 static void nfp_net_pf_free_vnics(struct nfp_pf *pf) in nfp_net_pf_free_vnics()
105 nfp_net_pf_alloc_vnic(struct nfp_pf *pf, bool needs_netdev, in nfp_net_pf_alloc_vnic()
147 nfp_net_pf_init_vnic(struct nfp_pf *pf, struct nfp_net *nn, unsigned int id) in nfp_net_pf_init_vnic()
190 nfp_net_pf_alloc_vnics(struct nfp_pf *pf, void __iomem *ctrl_bar, in nfp_net_pf_alloc_vnics()
222 static void nfp_net_pf_clean_vnic(struct nfp_pf *pf, struct nfp_net *nn) in nfp_net_pf_clean_vnic()
234 static int nfp_net_pf_alloc_irqs(struct nfp_pf *pf) in nfp_net_pf_alloc_irqs()
[all …]
Dnfp_devlink.c29 nfp_devlink_fill_eth_port_from_id(struct nfp_pf *pf, unsigned int port_index, in nfp_devlink_fill_eth_port_from_id()
40 nfp_devlink_set_lanes(struct nfp_pf *pf, unsigned int idx, unsigned int lanes) in nfp_devlink_set_lanes()
68 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_split()
105 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit()
139 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get()
150 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set()
158 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get()
166 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set()
187 nfp_devlink_versions_get_hwinfo(struct nfp_pf *pf, struct devlink_info_req *req) in nfp_devlink_versions_get_hwinfo()
261 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_info_get()
Dnfp_main.c53 int nfp_pf_rtsym_read_optional(struct nfp_pf *pf, const char *format, in nfp_pf_rtsym_read_optional()
74 nfp_pf_map_rtsym(struct nfp_pf *pf, const char *name, const char *sym_fmt, in nfp_pf_map_rtsym()
86 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, in nfp_mbox_cmd()
163 static bool nfp_board_ready(struct nfp_pf *pf) in nfp_board_ready()
180 static int nfp_pf_board_state_wait(struct nfp_pf *pf) in nfp_pf_board_state_wait()
202 static int nfp_pcie_sriov_read_nfd_limit(struct nfp_pf *pf) in nfp_pcie_sriov_read_nfd_limit()
226 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_enable()
269 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_disable()
306 int nfp_flash_update_common(struct nfp_pf *pf, const char *path, in nfp_flash_update_common()
348 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()
245 void nfp_devlink_params_unregister(struct nfp_pf *pf) in nfp_devlink_params_unregister()
Dnfp_port.h12 struct nfp_pf;
112 nfp_port_from_id(struct nfp_pf *pf, enum nfp_port_type type, unsigned int id);
125 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
130 int nfp_net_refresh_port_table_sync(struct nfp_pf *pf);
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_app.h24 struct nfp_pf;
164 struct nfp_pf *pf;
427 struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id);
436 int nfp_app_nic_vnic_init_phy_port(struct nfp_pf *pf, struct nfp_app *app,
Dnfp_port.c79 nfp_port_from_id(struct nfp_pf *pf, enum nfp_port_type type, unsigned int id) in nfp_port_from_id()
189 int nfp_port_init_phy_port(struct nfp_pf *pf, struct nfp_app *app, in nfp_port_init_phy_port()
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_app.c228 struct nfp_app *nfp_app_alloc(struct nfp_pf *pf, enum nfp_app_id id) in nfp_app_alloc()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/nic/
Dmain.c11 struct nfp_pf *pf = app->pf; in nfp_nic_init()
/Linux-v5.4/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()
442 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-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c65 struct nfp_pf *pf = app->pf; in nfp_bpf_vnic_alloc()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c671 const struct nfp_pf *pf = app->pf; in nfp_flower_init()