Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_init_fw_funcs.c479 (u32)(p_params->pf_id)); in qed_tx_pq_map_rt_init()
508 (p_params->pf_id << QM_WFQ_VP_PQ_PF_E4_SHIFT); in qed_tx_pq_map_rt_init()
547 p_params->pf_id, in qed_tx_pq_map_rt_init()
577 u8 pf_id, in qed_other_pq_map_rt_init() argument
588 pq_group = pf_id; in qed_other_pq_map_rt_init()
595 (u32)(pf_id)); in qed_other_pq_map_rt_init()
601 for (i = 0, pq_id = pf_id * QM_PF_QUEUE_GROUP_SIZE; in qed_other_pq_map_rt_init()
644 (p_params->pf_id < MAX_NUM_PFS_BB ? in qed_pf_wfq_rt_init()
648 (p_params->pf_id % MAX_NUM_PFS_BB); in qed_pf_wfq_rt_init()
654 QM_REG_WFQPFUPPERBOUND_RT_OFFSET + p_params->pf_id, in qed_pf_wfq_rt_init()
[all …]
Dqed_dcbx.h53 u8 pf_id; member
Dqed_hsi.h3780 u8 pf_id; member
3812 struct qed_ptt *p_ptt, u8 pf_id, u16 pf_wfq);
3825 struct qed_ptt *p_ptt, u8 pf_id, u32 pf_rl);
3939 void qed_gft_disable(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, u16 pf_id);
3955 u16 pf_id,
4086 #define USTORM_FLR_FINAL_ACK_OFFSET(pf_id) \ argument
4087 (IRO[4].base + ((pf_id) * IRO[4].m1))
4091 #define USTORM_EQE_CONS_OFFSET(pf_id) \ argument
4092 (IRO[5].base + ((pf_id) * IRO[5].m1))
4200 #define MSTORM_ETH_PF_STAT_OFFSET(pf_id) \ argument
[all …]
Dqed_int.h410 u8 pf_id,
Dqed_debug.c1799 u8 port_id = 0, pf_id = 0, vf_id = 0; in qed_grc_dump_addr_range() local
1812 pf_id = split_id; in qed_grc_dump_addr_range()
1816 pf_id = port_id + dev_data->num_ports * in qed_grc_dump_addr_range()
1844 dmae_params.src_pfid = pf_id; in qed_grc_dump_addr_range()
1852 dmae_params.src_pfid = pf_id; in qed_grc_dump_addr_range()
1886 pf_id); in qed_grc_dump_addr_range()
1891 pf_id); in qed_grc_dump_addr_range()
Dqed_dev.c2588 u16 num_pfs, pf_id; in qed_hw_init_common() local
2628 for (pf_id = 0; pf_id < num_pfs; pf_id++) { in qed_hw_init_common()
2629 qed_fid_pretend(p_hwfn, p_ptt, pf_id); in qed_hw_init_common()
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
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()
Dnfp_port.h82 unsigned int pf_id; member
Dnfp_main.c664 unsigned int pf_id; in nfp_pf_find_rtsyms() local
666 pf_id = nfp_cppcore_pcie_unit(pf->cpp); in nfp_pf_find_rtsyms()
669 snprintf(pf_symbol, sizeof(pf_symbol), NFP_MBOX_SYM_NAME, pf_id); in nfp_pf_find_rtsyms()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_client.c303 cdev->lan_info.fid = pf->hw.pf_id; in i40e_client_add_instance()
426 pf->hw.pf_id, pf->hw.bus.bus_id, in i40e_lan_add_device()
465 pf->hw.pf_id, pf->hw.bus.bus_id, in i40e_lan_del_device()
508 client->name, pf->hw.pf_id); in i40e_client_release()
662 pf->hw.pf_id, reset_level); in i40e_client_request_reset()
696 ctxt.pf_num = pf->hw.pf_id; in i40e_client_update_vsi_ctxt()
722 pf->hw.pf_id, flag); in i40e_client_update_vsi_ctxt()
Di40e.h197 #define I40E_FD_STAT_PF_IDX(pf_id) ((pf_id) * I40E_FD_STAT_PF_COUNT) argument
198 #define I40E_FD_ATR_STAT_IDX(pf_id) \ argument
199 (I40E_FD_STAT_PF_IDX(pf_id) + I40E_FD_STAT_ATR)
200 #define I40E_FD_SB_STAT_IDX(pf_id) \ argument
201 (I40E_FD_STAT_PF_IDX(pf_id) + I40E_FD_STAT_SB)
202 #define I40E_FD_ATR_TUNNEL_STAT_IDX(pf_id) \ argument
203 (I40E_FD_STAT_PF_IDX(pf_id) + I40E_FD_STAT_ATR_TUNNEL)
Di40e_ptp.c797 u32 pf_id; in i40e_ptp_init() local
803 pf_id = (rd32(hw, I40E_PRTTSYN_CTL0) & I40E_PRTTSYN_CTL0_PF_ID_MASK) >> in i40e_ptp_init()
805 if (hw->pf_id != pf_id) { in i40e_ptp_init()
Di40e_main.c1160 I40E_GLQF_PCNT(I40E_FD_ATR_STAT_IDX(hw->pf_id)), in i40e_update_pf_stats()
1163 I40E_GLQF_PCNT(I40E_FD_SB_STAT_IDX(hw->pf_id)), in i40e_update_pf_stats()
1166 I40E_GLQF_PCNT(I40E_FD_ATR_TUNNEL_STAT_IDX(hw->pf_id)), in i40e_update_pf_stats()
3376 qtx_ctl |= ((hw->pf_id << I40E_QTX_CTL_PF_INDX_SHIFT) & in i40e_configure_tx_ring()
5534 ctxt.pf_num = hw->pf_id; in i40e_update_adq_vsi_queues()
5641 ctxt.pf_num = vsi->back->hw.pf_id; in i40e_vsi_config_tc()
6073 ctxt.pf_num = hw->pf_id; in i40e_add_channel()
7369 ctxt.pf_num = vsi->back->hw.pf_id; in i40e_setup_macvlans()
9661 ctxt.pf_num = pf->hw.pf_id; in i40e_enable_pf_switch_lb()
9697 ctxt.pf_num = pf->hw.pf_id; in i40e_disable_pf_switch_lb()
[all …]
Di40e_ethtool.c1914 if (pf->hw.pf_id == 0) in i40e_get_drvinfo()
2220 (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()
4590 input->cnt_index = I40E_FD_SB_STAT_IDX(pf->hw.pf_id); in i40e_add_fdir_ethtool()
4917 if (pf->hw.pf_id != 0) in i40e_get_priv_flags()
4967 if (pf->hw.pf_id != 0) in i40e_set_priv_flags()
Di40e_common.c934 hw->pf_id = (u8)(func_rid & 0xff); in i40e_init_shared_code()
936 hw->pf_id = (u8)(func_rid & 0x7); in i40e_init_shared_code()
3461 hw->partition_id = (hw->pf_id / hw->num_ports) + 1; in i40e_parse_discover_capabilities()
4625 (I40E_ALT_STRUCT_DWORDS_PER_PF * hw->pf_id); in i40e_read_bw_from_alt_ram()
4628 (I40E_ALT_STRUCT_DWORDS_PER_PF * hw->pf_id); in i40e_read_bw_from_alt_ram()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_flex_type.h429 #define ICE_VSIG_VALUE(vsig, pf_id) \ argument
431 (((u16)(pf_id) << ICE_PF_NUM_S) & ICE_PF_NUM_M))
Dice_type.h594 u8 pf_id; /* device profile info */ member
Dice_virtchnl_pf.c266 ((hw->pf_id << GLINT_VECT2FUNC_PF_NUM_S) & in ice_dis_vf_mappings()
717 ((hw->pf_id << GLINT_VECT2FUNC_PF_NUM_S) & in ice_ena_vf_msix_mappings()
4089 vf->mdd_rx_events.count, pf->hw.pf_id, vf->vf_id, in ice_print_vf_rx_mdd_event()
4133 vf->mdd_tx_events.count, hw->pf_id, i, in ice_print_vfs_mdd_events()
Dice_base.c241 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_main.c1542 u16 pf_id = adapter->vfs_allocated_count; in igb_update_mng_vlan() local
1548 igb_vfta_set(hw, vid, pf_id, true, true); in igb_update_mng_vlan()
1558 igb_vfta_set(hw, vid, pf_id, false, true); in igb_update_mng_vlan()
5055 u32 i, pf_id; in igb_vlan_promisc_enable() local
5084 pf_id = adapter->vfs_allocated_count + E1000_VLVF_POOLSEL_SHIFT; in igb_vlan_promisc_enable()
5089 vlvf |= BIT(pf_id); in igb_vlan_promisc_enable()
5111 u32 i, vid, word, bits, pf_id; in igb_scrub_vfta() local
5121 pf_id = adapter->vfs_allocated_count + E1000_VLVF_POOLSEL_SHIFT; in igb_scrub_vfta()
5143 bits = ~BIT(pf_id); in igb_scrub_vfta()
7229 u32 bits, pf_id; in igb_update_pf_vlvf() local
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
2129 func_init.pf_id = BP_FUNC(bp); in bnx2x_vf_init()

12