Home
last modified time | relevance | path

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

12

/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.c1014 ifidx_or_pfnum = oct->pf_num; in lio_23xx_reconfigure_queue_count()
1020 if_cfg.s.gmx_port_id = oct->pf_num; in lio_23xx_reconfigure_queue_count()
2543 u8 pf_num = oct->pf_num; in cn23xx_read_csr_reg() local
2552 reg = CN23XX_SLI_PKT_MAC_RINFO64(oct->pcie_port, oct->pf_num); in cn23xx_read_csr_reg()
2555 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg()
2559 reg = CN23XX_SLI_MAC_PF_INT_ENB64(oct->pcie_port, oct->pf_num); in cn23xx_read_csr_reg()
2562 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg()
2566 reg = CN23XX_SLI_MAC_PF_INT_SUM64(oct->pcie_port, oct->pf_num); in cn23xx_read_csr_reg()
2569 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg()
2579 (oct->pf_num) * CN23XX_PF_INT_OFFSET; in cn23xx_read_csr_reg()
[all …]
Docteon_nic.c168 __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval); in octnet_send_nic_ctrl_pkt()
Docteon_device.h455 u16 pf_num; member
Dlio_core.c1092 oct->pf_num); in octeon_setup_interrupt()
1113 oct->octeon_id, oct->pf_num, i); in octeon_setup_interrupt()
1175 oct->octeon_id, oct->pf_num, 0); in octeon_setup_interrupt()
Dlio_main.c944 rc, oct->pf_num); in octeon_pci_flr()
3405 gmx_port_id = octeon_dev->pf_num; in setup_nic_devices()
3406 ifidx_or_pfnum = octeon_dev->pf_num; in setup_nic_devices()
3866 oct->pf_num); in lio_pci_sriov_disable()
3879 oct->pf_num, num_vfs); in liquidio_enable_sriov()
3895 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()
Dlio_vf_main.c1954 ifidx_or_pfnum = octeon_dev->pf_num; in setup_nic_devices()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c3553 adapter->pf_num = attribs->hba_attribs.pci_funcnum; in be_cmd_get_cntl_attributes()
4252 bool get_vft, u8 pf_num) in be_get_nic_desc() argument
4263 if ((pf_num == PF_NUM_IGNORE || in be_get_nic_desc()
4264 nic->pf_num == pf_num) && in be_get_nic_desc()
4275 u8 pf_num) in be_get_vft_desc() argument
4277 return be_get_nic_desc(buf, desc_count, true, pf_num); in be_get_vft_desc()
4281 u8 pf_num) in be_get_func_nic_desc() argument
4283 return be_get_nic_desc(buf, desc_count, false, pf_num); in be_get_func_nic_desc()
4287 u8 pf_num) in be_get_pcie_desc() argument
4297 if (pcie->pf_num == pf_num) in be_get_pcie_desc()
[all …]
Dbe.h648 u8 pf_num; /* Numbering used by FW, starts at 0 */ member
Dbe_cmds.h2168 u8 pf_num; member
2188 u8 pf_num; member
/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.c4519 val1 |= (1 << bp->pf_num); in bnx2x_set_pf_load()
4556 val1 &= ~(1 << bp->pf_num); in bnx2x_clear_pf_load()
10982 bp->pfid = (bp->pf_num >> 1); /* 0..3 */ in bnx2x_get_common_hwinfo()
10984 bp->pfid = (bp->pf_num & 0x6); /* 0, 2, 4, 6 */ in bnx2x_get_common_hwinfo()
10987 bp->pfid = bp->pf_num; /* 0..7 */ in bnx2x_get_common_hwinfo()
13148 bp->pf_num = PCI_FUNC(pdev->devfn); in bnx2x_init_dev()
13153 bp->pf_num = (u8)((pci_cfg_dword & ME_REG_ABS_PF_NUM) >> in bnx2x_init_dev()
13156 BNX2X_DEV_INFO("me reg PF num: %d\n", bp->pf_num); in bnx2x_init_dev()
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_dev.h337 u32 pf_num; member
/drivers/net/ethernet/intel/ice/
Dice_base.c266 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
Dice_main.c1559 u8 pf_num = (reg & GL_MDET_TX_PQM_PF_NUM_M) >> in ice_handle_mdd_event() local
1570 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1576 u8 pf_num = (reg & GL_MDET_TX_TCLAN_PF_NUM_M) >> in ice_handle_mdd_event() local
1587 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1593 u8 pf_num = (reg & GL_MDET_RX_PF_NUM_M) >> in ice_handle_mdd_event() local
1604 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
Dice_lan_tx_rx.h579 u8 pf_num; member
/drivers/net/ethernet/intel/i40e/
Di40e_client.c684 ctxt.pf_num = pf->hw.pf_id; in i40e_client_update_vsi_ctxt()
Di40e_main.c5711 ctxt.pf_num = hw->pf_id; in i40e_update_adq_vsi_queues()
5818 ctxt.pf_num = vsi->back->hw.pf_id; in i40e_vsi_config_tc()
6250 ctxt.pf_num = hw->pf_id; in i40e_add_channel()
7876 ctxt.pf_num = vsi->back->hw.pf_id; in i40e_setup_macvlans()
10258 ctxt.pf_num = pf->hw.pf_id; in i40e_enable_pf_switch_lb()
10294 ctxt.pf_num = pf->hw.pf_id; in i40e_disable_pf_switch_lb()
11164 u8 pf_num = (reg & I40E_GL_MDET_TX_PF_NUM_MASK) >> in i40e_handle_mdd_event() local
11175 event, queue, pf_num, vf_num); in i40e_handle_mdd_event()
13894 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi()
13921 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi()
[all …]
Di40e_type.h1145 u8 pf_num; member
/drivers/net/ethernet/qlogic/qed/
Dqed.h668 u8 pf_num; member
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h502 u8 pf_num; member
/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c2793 u32 pf_num; in mlx5_esw_match_metadata_alloc() local
2797 pf_num = PCI_FUNC(esw->dev->pdev->devfn); in mlx5_esw_match_metadata_alloc()
2798 if (pf_num > max_pf_num) in mlx5_esw_match_metadata_alloc()
2806 id = (pf_num << ESW_VPORT_BITS) | id; in mlx5_esw_match_metadata_alloc()

12