Home
last modified time | relevance | path

Searched refs:pf_id (Results 1 – 25 of 56) sorted by relevance

123

/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed_iro_hsi.h106 #define ETH_RX_RATE_LIMIT_OFFSET(pf_id) \ argument
108 + ((pf_id) * IRO[IRO_ETH_RX_RATE_LIMIT].m1))
118 #define MSTORM_ETH_PF_STAT_OFFSET(pf_id) \ argument
120 + ((pf_id) * IRO[IRO_MSTORM_ETH_PF_STAT].m1))
153 #define MSTORM_RDMA_ASSERT_LEVEL_OFFSET(pf_id) \ argument
155 + ((pf_id) * IRO[IRO_MSTORM_RDMA_ASSERT_LEVEL].m1))
178 #define PSTORM_ETH_PF_STAT_OFFSET(pf_id) \ argument
180 + ((pf_id) * IRO[IRO_PSTORM_ETH_PF_STAT].m1))
184 #define PSTORM_FCOE_TX_STATS_OFFSET(pf_id) \ argument
186 + ((pf_id) * IRO[IRO_PSTORM_FCOE_TX_STATS].m1))
[all …]
Dqed_init_fw_funcs.c640 (u32)(p_params->pf_id)); in qed_tx_pq_map_rt_init()
669 (p_params->pf_id << QM_VP_WFQ_PQ_PF_SHIFT); in qed_tx_pq_map_rt_init()
707 p_params->pf_id, in qed_tx_pq_map_rt_init()
739 u8 pf_id, in qed_other_pq_map_rt_init() argument
750 pq_group = pf_id; in qed_other_pq_map_rt_init()
757 (u32)(pf_id)); in qed_other_pq_map_rt_init()
763 for (i = 0, pq_id = pf_id * QM_PF_QUEUE_GROUP_SIZE; in qed_other_pq_map_rt_init()
805 (p_params->pf_id < MAX_NUM_PFS_BB ? in qed_pf_wfq_rt_init()
809 (p_params->pf_id % MAX_NUM_PFS_BB); in qed_pf_wfq_rt_init()
815 QM_REG_WFQPFUPPERBOUND_RT_OFFSET + p_params->pf_id, in qed_pf_wfq_rt_init()
[all …]
Dqed_dcbx.h53 u8 pf_id; member
Dqed_int.h447 u8 pf_id,
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/
Dnfp_port.c125 n = snprintf(name, len, "pf%d", port->pf_id); in nfp_port_get_phys_port_name()
127 n = snprintf(name, len, "pf%ds%d", port->pf_id, in nfp_port_get_phys_port_name()
131 n = snprintf(name, len, "pf%dvf%d", port->pf_id, port->vf_id); in nfp_port_get_phys_port_name()
Dnfp_port.h96 unsigned int pf_id; member
Dnfp_main.c678 unsigned int pf_id; in nfp_pf_find_rtsyms() local
680 pf_id = nfp_cppcore_pcie_unit(pf->cpp); in nfp_pf_find_rtsyms()
683 snprintf(pf_symbol, sizeof(pf_symbol), NFP_MBOX_SYM_NAME, pf_id); in nfp_pf_find_rtsyms()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_client.c350 cdev->lan_info.fid = pf->hw.pf_id; in i40e_client_add_instance()
481 pf->hw.pf_id, pf->hw.bus.bus_id, in i40e_lan_add_device()
516 pf->hw.pf_id, pf->hw.bus.bus_id, in i40e_lan_del_device()
650 pf->hw.pf_id, reset_level); in i40e_client_request_reset()
684 ctxt.pf_num = pf->hw.pf_id; in i40e_client_update_vsi_ctxt()
710 pf->hw.pf_id, flag); in i40e_client_update_vsi_ctxt()
Di40e.h200 #define I40E_FD_STAT_PF_IDX(pf_id) ((pf_id) * I40E_FD_STAT_PF_COUNT) argument
201 #define I40E_FD_ATR_STAT_IDX(pf_id) \ argument
202 (I40E_FD_STAT_PF_IDX(pf_id) + I40E_FD_STAT_ATR)
203 #define I40E_FD_SB_STAT_IDX(pf_id) \ argument
204 (I40E_FD_STAT_PF_IDX(pf_id) + I40E_FD_STAT_SB)
205 #define I40E_FD_ATR_TUNNEL_STAT_IDX(pf_id) \ argument
206 (I40E_FD_STAT_PF_IDX(pf_id) + I40E_FD_STAT_ATR_TUNNEL)
Di40e_ptp.c168 event.index = hw->pf_id; in i40e_ptp_extts0_work()
209 if (pf->hw.pf_id) { in i40e_can_set_pins()
543 if (pf->hw.pf_id) in i40e_ptp_enable_pin()
1147 if (pf->hw.pf_id) in i40e_ptp_alloc_pins()
1476 u32 pf_id; in i40e_ptp_init() local
1482 pf_id = (rd32(hw, I40E_PRTTSYN_CTL0) & I40E_PRTTSYN_CTL0_PF_ID_MASK) >> in i40e_ptp_init()
1484 if (hw->pf_id != pf_id) { in i40e_ptp_init()
/linux-6.6.21/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf.h56 u8 pf_id; /* RVU PF number */ member
Dotx2_cptpf_mbox.c145 req->hdr.pcifunc = OTX2_CPT_RVU_PFFUNC(cptpf->pf_id, 0); in send_inline_ipsec_inbound_msg()
185 nix_req->inst_qsel.cpt_pf_func = OTX2_CPT_RVU_PFFUNC(cptpf->pf_id, 0); in rx_inline_ipsec_lf_cfg()
353 msg->pcifunc = ((u16)cptpf->pf_id << RVU_PFVF_PF_SHIFT) | in otx2_cptpf_vfpf_mbox_handler()
428 cptpf->pf_id = (msg->pcifunc >> RVU_PFVF_PF_SHIFT) & in process_afpf_mbox_msg()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_flex_type.h240 #define ICE_VSIG_VALUE(vsig, pf_id) \ argument
242 (((u16)(pf_id) << ICE_PF_NUM_S) & ICE_PF_NUM_M)))
Dice_sriov.c111 ((hw->pf_id << GLINT_VECT2FUNC_PF_NUM_S) & in ice_dis_vf_mappings()
307 ((hw->pf_id << GLINT_VECT2FUNC_PF_NUM_S) & in ice_ena_vf_msix_mappings()
1659 vf->mdd_rx_events.count, pf->hw.pf_id, vf->vf_id, in ice_print_vf_rx_mdd_event()
1703 vf->mdd_tx_events.count, hw->pf_id, vf->vf_id, in ice_print_vfs_mdd_events()
Dice_eswitch.c568 pf->hw.pf_id); in ice_eswitch_mode_set()
580 pf->hw.pf_id); in ice_eswitch_mode_set()
Dice_eswitch_br.c71 u8 pf_id, u16 vf_vsi_idx) in ice_eswitch_br_ingress_rule_setup() argument
75 rule_info->sw_act.src = pf_id; in ice_eswitch_br_ingress_rule_setup()
147 ice_eswitch_br_ingress_rule_setup(&rule_info, hw->pf_id, in ice_eswitch_br_fwd_rule_create()
Dice_tc_lib.c765 rule_info.sw_act.src = hw->pf_id; in ice_eswitch_add_tc_fltr()
982 rule_info.sw_act.src = hw->pf_id; in ice_add_tc_flower_adv_fltr()
992 rule_info.sw_act.src = hw->pf_id; in ice_add_tc_flower_adv_fltr()
999 rule_info.sw_act.src = hw->pf_id; in ice_add_tc_flower_adv_fltr()
Dice_ptp.c1980 hh_lock = rd32(hw, PFHH_SEM + (PFTSYN_SEM_BYTES * hw->pf_id)); in ice_ptp_get_syncdevicetime()
2018 hh_lock = rd32(hw, PFHH_SEM + (PFTSYN_SEM_BYTES * hw->pf_id)); in ice_ptp_get_syncdevicetime()
2020 wr32(hw, PFHH_SEM + (PFTSYN_SEM_BYTES * hw->pf_id), hh_lock); in ice_ptp_get_syncdevicetime()
2727 ptp->port.port_num = hw->pf_id; in ice_ptp_init()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c114 port->pf_id = alink->abm->pf_id; in nfp_abm_spawn_repr()
273 eth_port->eth_index, abm->pf_id); in nfp_abm_vnic_set_mac()
Dmain.h65 unsigned int pf_id; member
Dctrl.c354 abm->pf_id, nfp_abm_has_prio(abm) ? "_per_band" : ""); in nfp_abm_ctrl_find_q_rtsym()
365 abm->pf_id = nfp_cppcore_pcie_unit(pf->cpp); in nfp_abm_ctrl_find_addrs()
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dmain.c234 rf->pf_id = pf->hw.pf_id; in irdma_fill_device_info()
Di40iw_if.c80 rf->pf_id = cdev_info->fid; in i40iw_fill_device_info()
/linux-6.6.21/drivers/net/ethernet/intel/igb/
Digb_main.c1539 u16 pf_id = adapter->vfs_allocated_count; in igb_update_mng_vlan() local
1545 igb_vfta_set(hw, vid, pf_id, true, true); in igb_update_mng_vlan()
1555 igb_vfta_set(hw, vid, pf_id, false, true); in igb_update_mng_vlan()
5145 u32 i, pf_id; in igb_vlan_promisc_enable() local
5174 pf_id = adapter->vfs_allocated_count + E1000_VLVF_POOLSEL_SHIFT; in igb_vlan_promisc_enable()
5179 vlvf |= BIT(pf_id); in igb_vlan_promisc_enable()
5201 u32 i, vid, word, bits, pf_id; in igb_scrub_vfta() local
5211 pf_id = adapter->vfs_allocated_count + E1000_VLVF_POOLSEL_SHIFT; in igb_scrub_vfta()
5233 bits = ~BIT(pf_id); in igb_scrub_vfta()
7423 u32 bits, pf_id; in igb_update_pf_vlvf() local
[all …]
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c431 port->pf_id = i; in nfp_flower_spawn_vnic_reprs()
434 port->pf_id = 0; in nfp_flower_spawn_vnic_reprs()

123