Home
last modified time | relevance | path

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

123

/linux-6.1.9/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.1.9/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.h84 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.1.9/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()
554 if (pf->hw.pf_id) in i40e_ptp_enable_pin()
1158 if (pf->hw.pf_id) in i40e_ptp_alloc_pins()
1487 u32 pf_id; in i40e_ptp_init() local
1493 pf_id = (rd32(hw, I40E_PRTTSYN_CTL0) & I40E_PRTTSYN_CTL0_PF_ID_MASK) >> in i40e_ptp_init()
1495 if (hw->pf_id != pf_id) { in i40e_ptp_init()
/linux-6.1.9/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf.h52 u8 pf_id; /* RVU PF number */ member
Dotx2_cptpf_mbox.c202 msg->pcifunc = ((u16)cptpf->pf_id << RVU_PFVF_PF_SHIFT) | in otx2_cptpf_vfpf_mbox_handler()
260 cptpf->pf_id = (msg->pcifunc >> RVU_PFVF_PF_SHIFT) & in process_afpf_mbox_msg()
/linux-6.1.9/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.1.9/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.1.9/drivers/net/ethernet/intel/ice/
Dice_flex_type.h566 #define ICE_VSIG_VALUE(vsig, pf_id) \ argument
568 (((u16)(pf_id) << ICE_PF_NUM_S) & ICE_PF_NUM_M)))
Dice_eswitch.c560 pf->hw.pf_id); in ice_eswitch_mode_set()
566 pf->hw.pf_id); in ice_eswitch_mode_set()
Dice_sriov.c126 ((hw->pf_id << GLINT_VECT2FUNC_PF_NUM_S) & in ice_dis_vf_mappings()
329 ((hw->pf_id << GLINT_VECT2FUNC_PF_NUM_S) & in ice_ena_vf_msix_mappings()
1752 vf->mdd_rx_events.count, pf->hw.pf_id, vf->vf_id, in ice_print_vf_rx_mdd_event()
1796 vf->mdd_tx_events.count, hw->pf_id, vf->vf_id, in ice_print_vfs_mdd_events()
Dice_ptp.c1963 hh_lock = rd32(hw, PFHH_SEM + (PFTSYN_SEM_BYTES * hw->pf_id)); in ice_ptp_get_syncdevicetime()
2001 hh_lock = rd32(hw, PFHH_SEM + (PFTSYN_SEM_BYTES * hw->pf_id)); in ice_ptp_get_syncdevicetime()
2003 wr32(hw, PFHH_SEM + (PFTSYN_SEM_BYTES * hw->pf_id), hh_lock); in ice_ptp_get_syncdevicetime()
2675 ptp->port.port_num = hw->pf_id; in ice_ptp_init()
Dice_devlink.c1010 if (pf->hw.pf_id == 0) in ice_devlink_create_pf_port()
1021 pf->hw.pf_id, err); in ice_devlink_create_pf_port()
/linux-6.1.9/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()
5062 u32 i, pf_id; in igb_vlan_promisc_enable() local
5091 pf_id = adapter->vfs_allocated_count + E1000_VLVF_POOLSEL_SHIFT; in igb_vlan_promisc_enable()
5096 vlvf |= BIT(pf_id); in igb_vlan_promisc_enable()
5118 u32 i, vid, word, bits, pf_id; in igb_scrub_vfta() local
5128 pf_id = adapter->vfs_allocated_count + E1000_VLVF_POOLSEL_SHIFT; in igb_scrub_vfta()
5150 bits = ~BIT(pf_id); in igb_scrub_vfta()
7336 u32 bits, pf_id; in igb_update_pf_vlvf() local
[all …]
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c422 port->pf_id = i; in nfp_flower_spawn_vnic_reprs()
425 port->pf_id = 0; in nfp_flower_spawn_vnic_reprs()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c36 u16 pf_id) in storm_memset_vf_to_pf() argument
39 pf_id); in storm_memset_vf_to_pf()
41 pf_id); in storm_memset_vf_to_pf()
43 pf_id); in storm_memset_vf_to_pf()
45 pf_id); in storm_memset_vf_to_pf()
2122 func_init.pf_id = BP_FUNC(bp); in bnx2x_vf_init()

123