Home
last modified time | relevance | path

Searched refs:pf_num (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_pf_device.c101 CVM_CAST64(CN23XX_SLI_PKT_MAC_RINFO64(i, oct->pf_num)), in cn23xx_dump_pf_initialized_regs()
104 (i, oct->pf_num)))); in cn23xx_dump_pf_initialized_regs()
304 u16 pf_num = oct->pf_num; in cn23xx_setup_global_mac_regs() local
315 octeon_read_csr64(oct, CN23XX_SLI_PKT_MAC_RINFO64(mac_no, pf_num)); in cn23xx_setup_global_mac_regs()
319 reg_val = pf_num * CN23XX_MAX_RINGS_PER_PF_PASS_1_1; in cn23xx_setup_global_mac_regs()
322 reg_val = pf_num * CN23XX_MAX_RINGS_PER_PF; in cn23xx_setup_global_mac_regs()
337 octeon_write_csr64(oct, CN23XX_SLI_PKT_MAC_RINFO64(mac_no, pf_num), in cn23xx_setup_global_mac_regs()
341 mac_no, pf_num, (u64)octeon_read_csr64 in cn23xx_setup_global_mac_regs()
342 (oct, CN23XX_SLI_PKT_MAC_RINFO64(mac_no, pf_num))); in cn23xx_setup_global_mac_regs()
406 u64 pf_num; in cn23xx_pf_setup_global_input_regs() local
[all …]
Dlio_vf_rep.c234 ret = snprintf(buf, len, "pf%dvf%d", oct->pf_num, in lio_vf_rep_phys_port_name()
235 vf_rep->ifidx - oct->pf_num * 64 - 1); in lio_vf_rep_phys_port_name()
248 if (ifidx <= oct->pf_num * max_vfs || in lio_vf_rep_get_ndev()
249 ifidx >= oct->pf_num * max_vfs + max_vfs) in lio_vf_rep_get_ndev()
524 vf_rep->ifidx = (oct->pf_num * 64) + i + 1; in lio_vf_rep_create()
Dlio_ethtool.c1016 ifidx_or_pfnum = oct->pf_num; in lio_23xx_reconfigure_queue_count()
1022 if_cfg.s.gmx_port_id = oct->pf_num; in lio_23xx_reconfigure_queue_count()
2548 u8 pf_num = oct->pf_num; in cn23xx_read_csr_reg() local
2557 reg = CN23XX_SLI_PKT_MAC_RINFO64(oct->pcie_port, oct->pf_num); in cn23xx_read_csr_reg()
2560 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg()
2564 reg = CN23XX_SLI_MAC_PF_INT_ENB64(oct->pcie_port, oct->pf_num); in cn23xx_read_csr_reg()
2567 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg()
2571 reg = CN23XX_SLI_MAC_PF_INT_SUM64(oct->pcie_port, oct->pf_num); in cn23xx_read_csr_reg()
2574 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg()
2584 (oct->pf_num) * CN23XX_PF_INT_OFFSET; in cn23xx_read_csr_reg()
[all …]
Docteon_nic.c170 __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval); in octnet_send_nic_ctrl_pkt()
Docteon_device.h455 u16 pf_num; member
Dlio_core.c1101 oct->pf_num); in octeon_setup_interrupt()
1122 oct->octeon_id, oct->pf_num, i); in octeon_setup_interrupt()
1184 oct->octeon_id, oct->pf_num, 0); in octeon_setup_interrupt()
Dlio_main.c937 rc, oct->pf_num); in octeon_pci_flr()
3395 gmx_port_id = octeon_dev->pf_num; in setup_nic_devices()
3396 ifidx_or_pfnum = octeon_dev->pf_num; in setup_nic_devices()
3853 oct->pf_num); in lio_pci_sriov_disable()
3866 oct->pf_num, num_vfs); in liquidio_enable_sriov()
3882 oct->pf_num, num_vfs); in liquidio_enable_sriov()
Dcn23xx_vf_device.c628 oct->pf_num = (reg_val >> CN23XX_PKT_INPUT_CTL_PF_NUM_POS) & in cn23xx_setup_octeon_vf_device()
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c3554 adapter->pf_num = attribs->hba_attribs.pci_funcnum; in be_cmd_get_cntl_attributes()
4253 bool get_vft, u8 pf_num) in be_get_nic_desc() argument
4264 if ((pf_num == PF_NUM_IGNORE || in be_get_nic_desc()
4265 nic->pf_num == pf_num) && in be_get_nic_desc()
4276 u8 pf_num) in be_get_vft_desc() argument
4278 return be_get_nic_desc(buf, desc_count, true, pf_num); in be_get_vft_desc()
4282 u8 pf_num) in be_get_func_nic_desc() argument
4284 return be_get_nic_desc(buf, desc_count, false, pf_num); in be_get_func_nic_desc()
4288 u8 pf_num) in be_get_pcie_desc() argument
4298 if (pcie->pf_num == pf_num) in be_get_pcie_desc()
[all …]
Dbe.h647 u8 pf_num; /* Numbering used by FW, starts at 0 */ member
Dbe_cmds.h2168 u8 pf_num; member
2188 u8 pf_num; member
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.h403 u32 pf_num; member
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.h1053 return bp->cnic_base_cl_id + (bp->pf_num >> 1); in bnx2x_stats_id()
1179 (bp->pf_num >> 1) * BNX2X_MAX_CNIC_ETH_CL_ID_IDX; in bnx2x_cnic_eth_cl_id()
Dbnx2x.h1357 u8 pf_num; /* absolute PF number */ member
1360 #define BP_PATH(bp) (CHIP_IS_E1x(bp) ? 0 : (bp->pf_num & 1))
1363 #define BP_ABS_FUNC(bp) (bp->pf_num)
Dbnx2x_main.c4518 val1 |= (1 << bp->pf_num); in bnx2x_set_pf_load()
4555 val1 &= ~(1 << bp->pf_num); in bnx2x_clear_pf_load()
10984 bp->pfid = (bp->pf_num >> 1); /* 0..3 */ in bnx2x_get_common_hwinfo()
10986 bp->pfid = (bp->pf_num & 0x6); /* 0, 2, 4, 6 */ in bnx2x_get_common_hwinfo()
10989 bp->pfid = bp->pf_num; /* 0..7 */ in bnx2x_get_common_hwinfo()
13137 bp->pf_num = PCI_FUNC(pdev->devfn); in bnx2x_init_dev()
13142 bp->pf_num = (u8)((pci_cfg_dword & ME_REG_ABS_PF_NUM) >> in bnx2x_init_dev()
13145 BNX2X_DEV_INFO("me reg PF num: %d\n", bp->pf_num); in bnx2x_init_dev()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h168 u8 pf_num; member
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_client.c684 ctxt.pf_num = pf->hw.pf_id; in i40e_client_update_vsi_ctxt()
Di40e_main.c5739 ctxt.pf_num = hw->pf_id; in i40e_update_adq_vsi_queues()
5846 ctxt.pf_num = vsi->back->hw.pf_id; in i40e_vsi_config_tc()
6278 ctxt.pf_num = hw->pf_id; in i40e_add_channel()
7904 ctxt.pf_num = vsi->back->hw.pf_id; in i40e_setup_macvlans()
10287 ctxt.pf_num = pf->hw.pf_id; in i40e_enable_pf_switch_lb()
10323 ctxt.pf_num = pf->hw.pf_id; in i40e_disable_pf_switch_lb()
11193 u8 pf_num = (reg & I40E_GL_MDET_TX_PF_NUM_MASK) >> in i40e_handle_mdd_event() local
11204 event, queue, pf_num, vf_num); in i40e_handle_mdd_event()
13977 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi()
14004 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi()
[all …]
Di40e_type.h1144 u8 pf_num; member
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/
Dqed.h670 u8 pf_num; member
Dqed_mfw_hsi.h2424 u32 pf_num; member
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_base.c336 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
Dice_lan_tx_rx.h624 u8 pf_num; member
Dice_main.c1747 u8 pf_num = (reg & GL_MDET_TX_PQM_PF_NUM_M) >> in ice_handle_mdd_event() local
1758 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1764 u8 pf_num = (reg & GL_MDET_TX_TCLAN_PF_NUM_M) >> in ice_handle_mdd_event() local
1775 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1781 u8 pf_num = (reg & GL_MDET_RX_PF_NUM_M) >> in ice_handle_mdd_event() local
1792 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c3112 u32 pf_num; in mlx5_esw_match_metadata_alloc() local
3116 pf_num = mlx5_get_dev_index(esw->dev); in mlx5_esw_match_metadata_alloc()
3117 if (pf_num > max_pf_num) in mlx5_esw_match_metadata_alloc()
3127 id = (pf_num << ESW_VPORT_BITS) | id; in mlx5_esw_match_metadata_alloc()

12