Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/qlogic/qed/
A 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))
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
251 #define TSTORM_FCOE_RX_STATS_OFFSET(pf_id) \ argument
341 #define USTORM_EQE_CONS_GTT_OFFSET(pf_id) \ argument
347 #define USTORM_ETH_PF_STAT_OFFSET(pf_id) \ argument
[all …]
A Dqed_init_fw_funcs.c564 (u32)(p_params->pf_id)); in qed_tx_pq_map_rt_init()
593 (p_params->pf_id << QM_VP_WFQ_PQ_PF_SHIFT); in qed_tx_pq_map_rt_init()
631 p_params->pf_id, in qed_tx_pq_map_rt_init()
663 u8 pf_id, in qed_other_pq_map_rt_init() argument
674 pq_group = pf_id; in qed_other_pq_map_rt_init()
681 (u32)(pf_id)); in qed_other_pq_map_rt_init()
729 (p_params->pf_id < MAX_NUM_PFS_BB ? in qed_pf_wfq_rt_init()
733 (p_params->pf_id % MAX_NUM_PFS_BB); in qed_pf_wfq_rt_init()
760 QM_REG_RLPFCRD_RT_OFFSET + pf_id, in qed_pf_rl_rt_init()
932 p_params->pf_id, in qed_qm_pf_rt_init()
[all …]
A Dqed_dcbx.h53 u8 pf_id; member
A Dqed_int.h434 u8 pf_id,
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_port.c142 n = snprintf(name, len, "pf%d", port->pf_id); in nfp_port_get_phys_port_name()
144 n = snprintf(name, len, "pf%ds%d", port->pf_id, in nfp_port_get_phys_port_name()
148 n = snprintf(name, len, "pf%dvf%d", port->pf_id, port->vf_id); in nfp_port_get_phys_port_name()
A Dnfp_main.c651 unsigned int pf_id; in nfp_pf_find_rtsyms() local
653 pf_id = nfp_cppcore_pcie_unit(pf->cpp); in nfp_pf_find_rtsyms()
656 snprintf(pf_symbol, sizeof(pf_symbol), NFP_MBOX_SYM_NAME, pf_id); in nfp_pf_find_rtsyms()
A Dnfp_port.h82 unsigned int pf_id; member
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_client.c346 cdev->lan_info.fid = pf->hw.pf_id; in i40e_client_add_instance()
478 pf->hw.pf_id, pf->hw.bus.bus_id, in i40e_lan_add_device()
513 pf->hw.pf_id, pf->hw.bus.bus_id, in i40e_lan_del_device()
647 pf->hw.pf_id, reset_level); in i40e_client_request_reset()
681 ctxt.pf_num = pf->hw.pf_id; in i40e_client_update_vsi_ctxt()
707 pf->hw.pf_id, flag); in i40e_client_update_vsi_ctxt()
A Di40e.h199 #define I40E_FD_STAT_PF_IDX(pf_id) ((pf_id) * I40E_FD_STAT_PF_COUNT) argument
200 #define I40E_FD_ATR_STAT_IDX(pf_id) \ argument
201 (I40E_FD_STAT_PF_IDX(pf_id) + I40E_FD_STAT_ATR)
202 #define I40E_FD_SB_STAT_IDX(pf_id) \ argument
203 (I40E_FD_STAT_PF_IDX(pf_id) + I40E_FD_STAT_SB)
204 #define I40E_FD_ATR_TUNNEL_STAT_IDX(pf_id) \ argument
205 (I40E_FD_STAT_PF_IDX(pf_id) + I40E_FD_STAT_ATR_TUNNEL)
A Di40e_ptp.c169 event.index = hw->pf_id; in i40e_ptp_extts0_work()
210 if (pf->hw.pf_id) { in i40e_can_set_pins()
562 if (pf->hw.pf_id) in i40e_ptp_enable_pin()
1166 if (pf->hw.pf_id) in i40e_ptp_alloc_pins()
1499 u32 pf_id; in i40e_ptp_init() local
1505 pf_id = (rd32(hw, I40E_PRTTSYN_CTL0) & I40E_PRTTSYN_CTL0_PF_ID_MASK) >> in i40e_ptp_init()
1507 if (hw->pf_id != pf_id) { in i40e_ptp_init()
A Di40e_main.c5489 ctxt.pf_num = hw->pf_id; in i40e_update_adq_vsi_queues()
6008 ctxt.pf_num = hw->pf_id; in i40e_add_channel()
10008 ctxt.pf_num = pf->hw.pf_id; in i40e_enable_pf_switch_lb()
10044 ctxt.pf_num = pf->hw.pf_id; in i40e_disable_pf_switch_lb()
13615 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi()
13642 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi()
13704 ctxt.pf_num = hw->pf_id; in i40e_add_vsi()
13720 ctxt.pf_num = hw->pf_id; in i40e_add_vsi()
13741 ctxt.pf_num = hw->pf_id; in i40e_add_vsi()
14765 if ((pf->hw.pf_id == 0) && in i40e_setup_pf_switch()
[all …]
A Di40e_ethtool.c1914 if (pf->hw.pf_id == 0) in i40e_get_drvinfo()
2223 (pf->hw.pf_id == 0 ? I40E_GL_PRIV_FLAGS_STR_LEN : 0); in i40e_get_sset_count()
2417 if (pf->hw.pf_id != 0) in i40e_get_priv_flag_strings()
4752 input->cnt_index = I40E_FD_SB_STAT_IDX(pf->hw.pf_id); in i40e_add_fdir_ethtool()
5102 if (pf->hw.pf_id != 0) in i40e_get_priv_flags()
5152 if (pf->hw.pf_id != 0) in i40e_set_priv_flags()
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptpf.h51 u8 pf_id; /* RVU PF number */ member
A Dotx2_cptpf_mbox.c195 msg->pcifunc = ((u16)cptpf->pf_id << RVU_PFVF_PF_SHIFT) | in otx2_cptpf_vfpf_mbox_handler()
249 cptpf->pf_id = (msg->pcifunc >> RVU_PFVF_PF_SHIFT) & in process_afpf_mbox_msg()
/linux/drivers/net/ethernet/netronome/nfp/abm/
A 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()
A 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()
A Dmain.h65 unsigned int pf_id; member
/linux/drivers/net/ethernet/intel/ice/
A Dice_flex_type.h508 #define ICE_VSIG_VALUE(vsig, pf_id) \ argument
510 (((u16)(pf_id) << ICE_PF_NUM_S) & ICE_PF_NUM_M)))
A Dice_ptp_hw.c411 hw_lock = rd32(hw, PFTSYN_SEM + (PFTSYN_SEM_BYTES * hw->pf_id)); in ice_ptp_lock()
432 wr32(hw, PFTSYN_SEM + (PFTSYN_SEM_BYTES * hw->pf_id), 0); in ice_ptp_unlock()
A Dice_eswitch.c480 pf->hw.pf_id); in ice_eswitch_mode_set()
486 pf->hw.pf_id); in ice_eswitch_mode_set()
A Dice_tc_lib.c439 rule_info.sw_act.src = hw->pf_id; in ice_eswitch_add_tc_fltr()
543 rule_info.sw_act.src = hw->pf_id; in ice_add_tc_flower_adv_fltr()
A Dice_devlink.c520 pf->hw.pf_id, err); in ice_devlink_create_pf_port()
/linux/drivers/net/ethernet/intel/igb/
A Digb_main.c1536 u16 pf_id = adapter->vfs_allocated_count; in igb_update_mng_vlan() local
1542 igb_vfta_set(hw, vid, pf_id, true, true); in igb_update_mng_vlan()
5049 u32 i, pf_id; in igb_vlan_promisc_enable() local
5083 vlvf |= BIT(pf_id); in igb_vlan_promisc_enable()
5105 u32 i, vid, word, bits, pf_id; in igb_scrub_vfta() local
5137 bits = ~BIT(pf_id); in igb_scrub_vfta()
7210 u32 bits, pf_id; in igb_update_pf_vlvf() local
7227 wr32(E1000_VLVF(idx), BIT(pf_id)); in igb_update_pf_vlvf()
7236 int pf_id = adapter->vfs_allocated_count; in igb_set_vf_vlan() local
9056 int pf_id = adapter->vfs_allocated_count; in igb_vlan_rx_add_vid() local
[all …]
/linux/drivers/net/ethernet/broadcom/bnx2x/
A 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()
2109 func_init.pf_id = BP_FUNC(bp); in bnx2x_vf_init()
/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dmain.c422 port->pf_id = i; in nfp_flower_spawn_vnic_reprs()
425 port->pf_id = 0; in nfp_flower_spawn_vnic_reprs()

Completed in 108 milliseconds

12