Home
last modified time | relevance | path

Searched defs:pf (Results 26 – 50 of 353) sorted by relevance

12345678910>>...15

/linux-6.8/drivers/net/ethernet/intel/i40e/
Di40e_devlink.c8 static void i40e_info_get_dsn(struct i40e_pf *pf, char *buf, size_t len) in i40e_info_get_dsn()
70 struct i40e_pf *pf = devlink_priv(dl); in i40e_devlink_info_get() local
153 void i40e_free_pf(struct i40e_pf *pf) in i40e_free_pf()
166 void i40e_devlink_register(struct i40e_pf *pf) in i40e_devlink_register()
177 void i40e_devlink_unregister(struct i40e_pf *pf) in i40e_devlink_unregister()
187 static void i40e_devlink_set_switch_id(struct i40e_pf *pf, in i40e_devlink_set_switch_id()
206 int i40e_devlink_create_port(struct i40e_pf *pf) in i40e_devlink_create_port()
232 void i40e_devlink_destroy_port(struct i40e_pf *pf) in i40e_devlink_destroy_port()
/linux-6.8/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dmac_flt.c10 static int otx2_dmacflt_do_add(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_do_add()
38 static int otx2_dmacflt_add_pfmac(struct otx2_nic *pf, u32 *dmac_index) in otx2_dmacflt_add_pfmac()
74 int otx2_dmacflt_add(struct otx2_nic *pf, const u8 *mac, u32 bit_pos) in otx2_dmacflt_add()
110 static int otx2_dmacflt_remove_pfmac(struct otx2_nic *pf, u32 dmac_index) in otx2_dmacflt_remove_pfmac()
129 int otx2_dmacflt_remove(struct otx2_nic *pf, const u8 *mac, in otx2_dmacflt_remove()
144 int otx2_dmacflt_get_max_cnt(struct otx2_nic *pf) in otx2_dmacflt_get_max_cnt()
177 int otx2_dmacflt_update(struct otx2_nic *pf, u8 *mac, u32 bit_pos) in otx2_dmacflt_update()
/linux-6.8/drivers/net/ethernet/intel/ice/
Dice_vf_lib.c25 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
304 struct ice_pf *pf = vf->pf; in ice_vf_rebuild_vsi() local
467 struct ice_pf *pf = vsi->back; in ice_vf_rebuild_aggregator_node_cfg() local
577 bool ice_is_any_vf_in_unicast_promisc(struct ice_pf *pf) in ice_is_any_vf_in_unicast_promisc()
630 struct ice_pf *pf = vf->pf; in ice_vf_clear_all_promisc_modes() local
732 void ice_reset_all_vfs(struct ice_pf *pf) in ice_reset_all_vfs()
[all …]
Dice_dcb_lib.c31 bool ice_is_pfc_causing_hung_q(struct ice_pf *pf, unsigned int txqueue) in ice_is_pfc_causing_hung_q()
282 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 …]
Dice_fw_update.c14 struct ice_pf *pf; member
53 struct ice_pf *pf = priv->pf; in ice_send_package_data() local
94 ice_check_component_response(struct ice_pf *pf, u16 id, u8 response, u8 code, in ice_check_component_response()
215 struct ice_pf *pf = priv->pf; in ice_send_component_table() local
290 ice_write_one_nvm_block(struct ice_pf *pf, u16 module, u32 offset, in ice_write_one_nvm_block()
400 ice_write_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_write_nvm_module()
479 ice_erase_nvm_module(struct ice_pf *pf, u16 module, const char *component, in ice_erase_nvm_module()
563 ice_switch_flash_banks(struct ice_pf *pf, u8 activate_flags, in ice_switch_flash_banks()
636 struct ice_pf *pf = priv->pf; in ice_flash_component() local
697 struct ice_pf *pf = priv->pf; in ice_finalize_update() local
[all …]
Dice_debugfs.c109 static int ice_find_module_by_dentry(struct ice_pf *pf, struct dentry *d) in ice_find_module_by_dentry()
134 struct ice_pf *pf; in ice_debugfs_module_show() local
167 struct ice_pf *pf = file_inode(filp)->i_private; in ice_debugfs_module_write() local
231 struct ice_pf *pf = filp->private_data; in ice_debugfs_nr_messages_read() local
252 struct ice_pf *pf = filp->private_data; in ice_debugfs_nr_messages_write() local
306 struct ice_pf *pf = filp->private_data; in ice_debugfs_enable_read() local
328 struct ice_pf *pf = filp->private_data; in ice_debugfs_enable_write() local
401 struct ice_pf *pf = filp->private_data; in ice_debugfs_log_size_read() local
423 struct ice_pf *pf = filp->private_data; in ice_debugfs_log_size_write() local
490 struct ice_pf *pf = filp->private_data; in ice_debugfs_data_read() local
[all …]
Dice_ethtool.c433 struct ice_pf *pf = vsi->back; in __ice_get_drvinfo() local
472 struct ice_pf *pf = np->vsi->back; in ice_get_regs() local
486 struct ice_pf *pf = np->vsi->back; in ice_get_msglevel() local
500 struct ice_pf *pf = np->vsi->back; in ice_set_msglevel() local
515 struct ice_pf *pf = np->vsi->back; in ice_get_eeprom_len() local
526 struct ice_pf *pf = vsi->back; in ice_get_eeprom() local
571 static bool ice_active_vfs(struct ice_pf *pf) in ice_active_vfs()
626 struct ice_pf *pf = np->vsi->back; in ice_eeprom_test() local
640 struct ice_pf *pf = (struct ice_pf *)hw->back; in ice_reg_pattern_test() local
797 static int ice_lbtest_create_frame(struct ice_pf *pf, u8 **ret_data, u16 size) in ice_lbtest_create_frame()
[all …]
Dice_hwmon.c23 struct ice_pf *pf = dev_get_drvdata(dev); in ice_hwmon_read() local
88 static bool ice_is_internal_reading_supported(struct ice_pf *pf) in ice_is_internal_reading_supported()
102 void ice_hwmon_init(struct ice_pf *pf) in ice_hwmon_init()
121 void ice_hwmon_exit(struct ice_pf *pf) in ice_hwmon_exit()
Dice_ethtool_fdir.c624 ice_fdir_set_hw_fltr_rule(struct ice_pf *pf, struct ice_flow_seg_info *seg, in ice_fdir_set_hw_fltr_rule()
841 ice_create_init_fdir_rule(struct ice_pf *pf, enum ice_fltr_ptype flow) in ice_create_init_fdir_rule()
1205 ice_cfg_fdir_xtrct_seq(struct ice_pf *pf, struct ethtool_rx_flow_spec *fsp, in ice_cfg_fdir_xtrct_seq()
1359 ice_fdir_write_fltr(struct ice_pf *pf, struct ice_fdir_fltr *input, bool add, in ice_fdir_write_fltr()
1429 ice_fdir_write_all_fltr(struct ice_pf *pf, struct ice_fdir_fltr *input, in ice_fdir_write_all_fltr()
1452 void ice_fdir_replay_fltrs(struct ice_pf *pf) in ice_fdir_replay_fltrs()
1472 int ice_fdir_create_dflt_rules(struct ice_pf *pf) in ice_fdir_create_dflt_rules()
1503 struct ice_pf *pf = vsi->back; in ice_fdir_del_all_fltrs() local
1521 struct ice_pf *pf = vsi->back; in ice_vsi_manage_fdir() local
1553 ice_fdir_do_rem_flow(struct ice_pf *pf, enum ice_fltr_ptype flow_type) in ice_fdir_do_rem_flow()
[all …]
Dice_lag.c34 struct ice_pf *pf = lag->pf; in ice_lag_set_primary() local
54 struct ice_pf *pf = lag->pf; in ice_lag_set_backup() local
73 static bool netif_is_same_ice(struct ice_pf *pf, struct net_device *netdev) in netif_is_same_ice()
381 struct ice_pf *pf; in ice_lag_qbuf_recfg() local
667 struct ice_pf *pf; in ice_lag_move_new_vf_nodes() local
709 struct ice_pf *pf; in ice_lag_move_vf_nodes() local
948 struct ice_pf *pf; in ice_lag_reclaim_vf_nodes() local
968 struct ice_pf *pf = lag->pf; in ice_lag_link() local
986 struct ice_pf *pf = lag->pf; in ice_lag_unlink() local
1233 static void ice_lag_init_feature_support_flag(struct ice_pf *pf) in ice_lag_init_feature_support_flag()
[all …]
Dice_base.c79 static int ice_pf_rxq_wait(struct ice_pf *pf, int pf_q, bool ena) in ice_pf_rxq_wait()
104 struct ice_pf *pf = vsi->back; in ice_vsi_alloc_q_vector() local
180 struct ice_pf *pf = vsi->back; in ice_free_q_vector() local
671 struct ice_pf *pf = vsi->back; in ice_vsi_ctrl_one_rx_ring() local
709 struct ice_pf *pf = vsi->back; in ice_vsi_wait_one_rx_ring() local
837 struct ice_pf *pf = vsi->back; in ice_vsi_cfg_txq() local
934 struct ice_pf *pf = vsi->back; in ice_cfg_txq_interrupt() local
966 struct ice_pf *pf = vsi->back; in ice_cfg_rxq_interrupt() local
1006 struct ice_pf *pf = vsi->back; in ice_vsi_stop_tx_ring() local
Dice_ptp.h313 static inline int ice_ptp_set_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_set_ts_config()
318 static inline int ice_ptp_get_ts_config(struct ice_pf *pf, struct ifreq *ifr) in ice_ptp_get_ts_config()
323 static inline void ice_ptp_restore_timestamp_mode(struct ice_pf *pf) { } in ice_ptp_restore_timestamp_mode()
324 static inline void ice_ptp_extts_event(struct ice_pf *pf) { } in ice_ptp_extts_event()
336 static inline bool ice_ptp_process_ts(struct ice_pf *pf) in ice_ptp_process_ts()
348 static inline void ice_ptp_reset(struct ice_pf *pf) { } in ice_ptp_reset()
349 static inline void ice_ptp_prepare_for_reset(struct ice_pf *pf) { } in ice_ptp_prepare_for_reset()
350 static inline void ice_ptp_init(struct ice_pf *pf) { } in ice_ptp_init()
351 static inline void ice_ptp_release(struct ice_pf *pf) { } in ice_ptp_release()
352 static inline void ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup) in ice_ptp_link_change()
[all …]
Dice_arfs.c27 struct ice_pf *pf = hw->back; in ice_is_arfs_using_perfect_flow() local
262 void ice_sync_arfs_fltrs(struct ice_pf *pf) in ice_sync_arfs_fltrs()
403 struct ice_pf *pf; in ice_rx_flow_steer() local
598 struct ice_pf *pf; in ice_set_cpu_rx_rmap() local
630 void ice_remove_arfs(struct ice_pf *pf) in ice_remove_arfs()
645 void ice_rebuild_arfs(struct ice_pf *pf) in ice_rebuild_arfs()
/linux-6.8/drivers/net/ethernet/freescale/enetc/
Denetc_msg.c23 struct enetc_pf *pf = enetc_si_priv(si); in enetc_msg_psi_msix() local
33 struct enetc_pf *pf = container_of(work, struct enetc_pf, msg_task); in enetc_msg_task() local
66 struct enetc_pf *pf = enetc_si_priv(si); in enetc_msg_alloc_mbx() local
95 struct enetc_pf *pf = enetc_si_priv(si); in enetc_msg_free_mbx() local
107 int enetc_msg_psi_init(struct enetc_pf *pf) in enetc_msg_psi_init()
149 void enetc_msg_psi_free(struct enetc_pf *pf) in enetc_msg_psi_free()
/linux-6.8/drivers/net/ethernet/netronome/nfp/
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() local
95 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_port_unsplit() local
123 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_get() local
134 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_sb_pool_set() local
142 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_get() local
150 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_eswitch_mode_set() local
166 nfp_devlink_versions_get_hwinfo(struct nfp_pf *pf, struct devlink_info_req *req) in nfp_devlink_versions_get_hwinfo()
240 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_info_get() local
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()
Dnfp_net_debugdump.c116 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()
411 static int nfp_dump_hwinfo_field(struct nfp_pf *pf, struct nfp_dump_tl *spec, in nfp_dump_hwinfo_field()
[all …]
Ddevlink_param.c87 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_param_u8_get() local
138 struct nfp_pf *pf = devlink_priv(devlink); in nfp_devlink_param_u8_set() local
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()
/linux-6.8/drivers/net/ethernet/amd/pds_core/
Dauxbus.c17 int pds_client_register(struct pdsc *pf, char *devname) in pds_client_register()
57 int pds_client_unregister(struct pdsc *pf, u16 client_id) in pds_client_unregister()
100 struct pdsc *pf; in pds_client_adminq_cmd() local
138 struct pdsc *pf, in pdsc_auxbus_dev_register()
178 int pdsc_auxbus_dev_del(struct pdsc *cf, struct pdsc *pf) in pdsc_auxbus_dev_del()
198 int pdsc_auxbus_dev_add(struct pdsc *cf, struct pdsc *pf) in pdsc_auxbus_dev_add()
/linux-6.8/drivers/infiniband/hw/irdma/
Dmain.c88 static void irdma_iidc_event_handler(struct ice_pf *pf, struct iidc_event *event) in irdma_iidc_event_handler()
154 struct ice_pf *pf = rf->cdev; in irdma_request_reset() local
169 struct ice_pf *pf = iwdev->rf->cdev; in irdma_lan_register_qset() local
197 struct ice_pf *pf = iwdev->rf->cdev; in irdma_lan_unregister_qset() local
214 struct ice_pf *pf = iidc_adev->pf; in irdma_remove() local
223 static void irdma_fill_device_info(struct irdma_device *iwdev, struct ice_pf *pf, in irdma_fill_device_info()
262 struct ice_pf *pf = iidc_adev->pf; in irdma_probe() local
/linux-6.8/net/ax25/
Dax25_std_in.c39 static int ax25_std_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int t… in ax25_std_state1_machine()
103 static int ax25_std_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int t… in ax25_std_state2_machine()
141 …state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) in ax25_std_state3_machine()
266 …state4_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) in ax25_std_state4_machine()
421 int queued = 0, frametype, ns, nr, pf; in ax25_std_frame_in() local
Dax25_ds_in.c32 static int ax25_ds_state1_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int ty… in ax25_ds_state1_machine()
100 static int ax25_ds_state2_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int pf, int ty… in ax25_ds_state2_machine()
145 …state3_machine(ax25_cb *ax25, struct sk_buff *skb, int frametype, int ns, int nr, int pf, int type) in ax25_ds_state3_machine()
281 int queued = 0, frametype, ns, nr, pf; in ax25_ds_frame_in() local
/linux-6.8/tools/perf/util/
Dprobe-finder.c447 static int convert_variable(Dwarf_Die *vr_die, struct probe_finder *pf) in convert_variable()
478 static int find_variable(Dwarf_Die *sc_die, struct probe_finder *pf) in find_variable()
574 static int call_probe_finder(Dwarf_Die *sc_die, struct probe_finder *pf) in call_probe_finder()
683 static Dwarf_Die *find_best_scope(struct probe_finder *pf, Dwarf_Die *die_mem) in find_best_scope()
704 static int verify_representive_line(struct probe_finder *pf, const char *fname, in verify_representive_line()
740 struct probe_finder *pf = data; in probe_point_line_walker() local
764 static int find_probe_point_by_line(struct probe_finder *pf) in find_probe_point_by_line()
812 struct probe_finder *pf = data; in probe_point_lazy_walker() local
840 static int find_probe_point_lazy(Dwarf_Die *sp_die, struct probe_finder *pf) in find_probe_point_lazy()
872 static void skip_prologue(Dwarf_Die *sp_die, struct probe_finder *pf) in skip_prologue()
[all …]
/linux-6.8/net/netfilter/
Dnf_log.c28 static struct nf_logger *__find_logger(int pf, const char *str_logger) in __find_logger()
45 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set()
79 int nf_log_register(u_int8_t pf, struct nf_logger *logger) in nf_log_register()
128 int nf_log_bind_pf(struct net *net, u_int8_t pf, in nf_log_bind_pf()
144 void nf_log_unbind_pf(struct net *net, u_int8_t pf) in nf_log_unbind_pf()
154 int nf_logger_find_get(int pf, enum nf_log_type type) in nf_logger_find_get()
186 void nf_logger_put(int pf, enum nf_log_type type) in nf_logger_put()
207 u_int8_t pf, in nf_log_packet()
236 u_int8_t pf, in nf_log_trace()
/linux-6.8/include/linux/
Dnetfilter.h80 u8 pf; member
102 u8 pf; member
159 u_int8_t pf, in nf_hook_state_init()
180 u_int8_t pf; member
223 static inline int nf_hook(u_int8_t pf, unsigned int hook, struct net *net, in nf_hook()
294 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
308 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, struct sk_buff *skb, in NF_HOOK()
319 NF_HOOK_LIST(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_LIST()
410 NF_HOOK_COND(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK_COND()
419 NF_HOOK(uint8_t pf, unsigned int hook, struct net *net, struct sock *sk, in NF_HOOK()
[all …]

12345678910>>...15