Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/cavium/liquidio/
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
954 oct->pf_num, ioq_vector->ioq_num); in cn23xx_pf_msix_interrupt_handler()
[all …]
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()
524 vf_rep->ifidx = (oct->pf_num * 64) + i + 1; in lio_vf_rep_create()
A 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
2555 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg()
2562 reg, 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()
2586 (oct->pf_num) * CN23XX_PF_INT_OFFSET; in cn23xx_read_csr_reg()
2589 reg, oct->pcie_port, oct->pf_num, in cn23xx_read_csr_reg()
2629 if (pf_num == 0) { in cn23xx_read_csr_reg()
[all …]
A Docteon_nic.c168 __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval); in octnet_send_nic_ctrl_pkt()
A Docteon_device.h455 u16 pf_num; member
A Dlio_core.c1091 oct->pf_num); in octeon_setup_interrupt()
1112 oct->octeon_id, oct->pf_num, i); in octeon_setup_interrupt()
1174 oct->octeon_id, oct->pf_num, 0); in octeon_setup_interrupt()
A Dlio_main.c943 rc, oct->pf_num); in octeon_pci_flr()
3388 gmx_port_id = octeon_dev->pf_num; in setup_nic_devices()
3389 ifidx_or_pfnum = octeon_dev->pf_num; in setup_nic_devices()
3846 oct->pf_num); in lio_pci_sriov_disable()
3859 oct->pf_num, num_vfs); in liquidio_enable_sriov()
3875 oct->pf_num, num_vfs); in liquidio_enable_sriov()
A Dcn23xx_vf_device.c628 oct->pf_num = (reg_val >> CN23XX_PKT_INPUT_CTL_PF_NUM_POS) & in cn23xx_setup_octeon_vf_device()
/linux/drivers/net/ethernet/emulex/benet/
A Dbe_cmds.c4263 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
4281 u8 pf_num) in be_get_func_nic_desc() argument
4287 u8 pf_num) in be_get_pcie_desc() argument
4297 if (pcie->pf_num == pf_num) in be_get_pcie_desc()
4394 adapter->pf_num = desc->pf_num; in be_cmd_get_func_config()
4503 adapter->pf_num); in be_cmd_get_profile_config()
4512 adapter->pf_num); in be_cmd_get_profile_config()
4517 adapter->pf_num); in be_cmd_get_profile_config()
[all …]
A Dbe.h648 u8 pf_num; /* Numbering used by FW, starts at 0 */ member
A Dbe_cmds.h2168 u8 pf_num; member
2188 u8 pf_num; member
/linux/drivers/net/ethernet/broadcom/bnx2x/
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()
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)
A Dbnx2x_main.c4508 val1 |= (1 << bp->pf_num); in bnx2x_set_pf_load()
4545 val1 &= ~(1 << bp->pf_num); in bnx2x_clear_pf_load()
10971 bp->pfid = (bp->pf_num >> 1); /* 0..3 */ in bnx2x_get_common_hwinfo()
10973 bp->pfid = (bp->pf_num & 0x6); /* 0, 2, 4, 6 */ in bnx2x_get_common_hwinfo()
10976 bp->pfid = bp->pf_num; /* 0..7 */ in bnx2x_get_common_hwinfo()
13143 bp->pf_num = PCI_FUNC(pdev->devfn); in bnx2x_init_dev()
13148 bp->pf_num = (u8)((pci_cfg_dword & ME_REG_ABS_PF_NUM) >> in bnx2x_init_dev()
13151 BNX2X_DEV_INFO("me reg PF num: %d\n", bp->pf_num); in bnx2x_init_dev()
/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_hw_dev.h337 u32 pf_num; member
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_client.c681 ctxt.pf_num = pf->hw.pf_id; in i40e_client_update_vsi_ctxt()
A Di40e_main.c5489 ctxt.pf_num = hw->pf_id; in i40e_update_adq_vsi_queues()
5596 ctxt.pf_num = vsi->back->hw.pf_id; in i40e_vsi_config_tc()
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()
13665 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()
[all …]
A Di40e_type.h1145 u8 pf_num; member
/linux/drivers/net/ethernet/intel/ice/
A Dice_base.c306 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
A Dice_main.c1650 u8 pf_num = (reg & GL_MDET_TX_PQM_PF_NUM_M) >> in ice_handle_mdd_event() local
1661 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1667 u8 pf_num = (reg & GL_MDET_TX_TCLAN_PF_NUM_M) >> in ice_handle_mdd_event() local
1678 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1684 u8 pf_num = (reg & GL_MDET_RX_PF_NUM_M) >> in ice_handle_mdd_event() local
1695 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
A Dice_lan_tx_rx.h621 u8 pf_num; member
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed.h670 u8 pf_num; member
A Dqed_mfw_hsi.h2423 u32 pf_num; member
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_cmd.h502 u8 pf_num; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch_offloads.c2851 u32 pf_num; in mlx5_esw_match_metadata_alloc() local
2855 pf_num = mlx5_get_dev_index(esw->dev); in mlx5_esw_match_metadata_alloc()
2856 if (pf_num > max_pf_num) in mlx5_esw_match_metadata_alloc()
2864 id = (pf_num << ESW_VPORT_BITS) | id; in mlx5_esw_match_metadata_alloc()

Completed in 179 milliseconds

12