Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Dcn23xx_pf_device.c104 (i, oct->pf_num)))); in cn23xx_dump_pf_initialized_regs()
304 u16 pf_num = oct->pf_num; in cn23xx_setup_global_mac_regs() local
322 reg_val = pf_num * CN23XX_MAX_RINGS_PER_PF; 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
409 pf_num = oct->pf_num; in cn23xx_pf_setup_global_input_regs()
556 if (oct->pf_num) in cn23xx_pf_setup_global_output_regs()
713 u16 pf_num = oct->pf_num; in cn23xx_setup_pf_mbox() local
952 oct->pf_num, ioq_vector->ioq_num); in cn23xx_pf_msix_interrupt_handler()
[all …]
H A 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()
523 vf_rep->ifidx = (oct->pf_num * 64) + i + 1; in lio_vf_rep_create()
H A 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
2560 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg()
2567 reg, 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()
2591 (oct->pf_num) * CN23XX_PF_INT_OFFSET; in cn23xx_read_csr_reg()
2594 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg()
2634 if (pf_num == 0) { in cn23xx_read_csr_reg()
[all …]
H A Docteon_nic.c170 __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval); in octnet_send_nic_ctrl_pkt()
H A Docteon_device.h455 u16 pf_num; member
H A 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()
H A 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()
H A Dcn23xx_vf_device.c628 oct->pf_num = (reg_val >> CN23XX_PKT_INPUT_CTL_PF_NUM_POS) & in cn23xx_setup_octeon_vf_device()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c4264 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
4282 u8 pf_num) in be_get_func_nic_desc() argument
4288 u8 pf_num) in be_get_pcie_desc() argument
4298 if (pcie->pf_num == pf_num) in be_get_pcie_desc()
4395 adapter->pf_num = desc->pf_num; in be_cmd_get_func_config()
4504 adapter->pf_num); in be_cmd_get_profile_config()
4513 adapter->pf_num); in be_cmd_get_profile_config()
4518 adapter->pf_num); in be_cmd_get_profile_config()
[all …]
H A Dbe.h647 u8 pf_num; /* Numbering used by FW, starts at 0 */ member
H A Dbe_cmds.h2168 u8 pf_num; member
2188 u8 pf_num; member
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_dev.h403 u32 pf_num; member
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A 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()
H A 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)
H A 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()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.h168 u8 pf_num; member
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_client.c683 ctxt.pf_num = pf->hw.pf_id; in i40e_client_update_vsi_ctxt()
H A Di40e_type.h1106 u8 pf_num; member
H A Di40e_main.c5771 ctxt.pf_num = hw->pf_id; in i40e_update_adq_vsi_queues()
5878 ctxt.pf_num = vsi->back->hw.pf_id; in i40e_vsi_config_tc()
6310 ctxt.pf_num = hw->pf_id; in i40e_add_channel()
10319 ctxt.pf_num = pf->hw.pf_id; in i40e_enable_pf_switch_lb()
10355 ctxt.pf_num = pf->hw.pf_id; in i40e_disable_pf_switch_lb()
14008 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi()
14035 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi()
14058 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi()
14097 ctxt.pf_num = hw->pf_id; in i40e_add_vsi()
14113 ctxt.pf_num = hw->pf_id; in i40e_add_vsi()
[all …]
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed.h670 u8 pf_num; member
H A Dqed_mfw_hsi.h2424 u32 pf_num; member
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_base.c336 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
H A Dice_lan_tx_rx.h624 u8 pf_num; member
H A Dice_main.c1736 u8 pf_num = (reg & GL_MDET_TX_PQM_PF_NUM_M) >> in ice_handle_mdd_event() local
1747 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1753 u8 pf_num = (reg & GL_MDET_TX_TCLAN_PF_NUM_M) >> in ice_handle_mdd_event() local
1764 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1770 u8 pf_num = (reg & GL_MDET_RX_PF_NUM_M) >> in ice_handle_mdd_event() local
1781 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c3129 u32 pf_num; in mlx5_esw_match_metadata_alloc() local
3133 pf_num = mlx5_get_dev_index(esw->dev); in mlx5_esw_match_metadata_alloc()
3134 if (pf_num > max_pf_num) in mlx5_esw_match_metadata_alloc()
3144 id = (pf_num << ESW_VPORT_BITS) | id; in mlx5_esw_match_metadata_alloc()

12