/linux-6.3-rc2/drivers/net/ethernet/cavium/liquidio/ |
A D | cn23xx_pf_device.c | 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 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 D | lio_vf_rep.c | 234 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 D | lio_ethtool.c | 1016 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 …]
|
A D | octeon_nic.c | 168 __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval); in octnet_send_nic_ctrl_pkt()
|
A D | octeon_device.h | 455 u16 pf_num; member
|
A D | lio_core.c | 1091 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 D | lio_main.c | 938 rc, oct->pf_num); in octeon_pci_flr() 3401 gmx_port_id = octeon_dev->pf_num; in setup_nic_devices() 3402 ifidx_or_pfnum = octeon_dev->pf_num; in setup_nic_devices() 3859 oct->pf_num); in lio_pci_sriov_disable() 3872 oct->pf_num, num_vfs); in liquidio_enable_sriov() 3888 oct->pf_num, num_vfs); in liquidio_enable_sriov()
|
A D | cn23xx_vf_device.c | 628 oct->pf_num = (reg_val >> CN23XX_PKT_INPUT_CTL_PF_NUM_POS) & in cn23xx_setup_octeon_vf_device()
|
/linux-6.3-rc2/drivers/net/ethernet/emulex/benet/ |
A D | be_cmds.c | 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 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 D | be.h | 647 u8 pf_num; /* Numbering used by FW, starts at 0 */ member
|
A D | be_cmds.h | 2168 u8 pf_num; member 2188 u8 pf_num; member
|
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_hw_dev.h | 403 u32 pf_num; member
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_cmn.h | 1053 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 D | bnx2x.h | 1357 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 D | bnx2x_main.c | 4519 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() 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-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_cmd.h | 168 u8 pf_num; member
|
/linux-6.3-rc2/drivers/net/ethernet/intel/i40e/ |
A D | i40e_client.c | 684 ctxt.pf_num = pf->hw.pf_id; in i40e_client_update_vsi_ctxt()
|
A D | i40e_main.c | 5715 ctxt.pf_num = hw->pf_id; in i40e_update_adq_vsi_queues() 5822 ctxt.pf_num = vsi->back->hw.pf_id; in i40e_vsi_config_tc() 6254 ctxt.pf_num = hw->pf_id; in i40e_add_channel() 10263 ctxt.pf_num = pf->hw.pf_id; in i40e_enable_pf_switch_lb() 10299 ctxt.pf_num = pf->hw.pf_id; in i40e_disable_pf_switch_lb() 13948 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi() 13975 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi() 13998 ctxt.pf_num = pf->hw.pf_id; in i40e_add_vsi() 14037 ctxt.pf_num = hw->pf_id; in i40e_add_vsi() 14053 ctxt.pf_num = hw->pf_id; in i40e_add_vsi() [all …]
|
A D | i40e_type.h | 1145 u8 pf_num; member
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed.h | 670 u8 pf_num; member
|
A D | qed_mfw_hsi.h | 2424 u32 pf_num; member
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_base.c | 294 tlan_ctx->pf_num = hw->pf_id; in ice_setup_tx_ctx()
|
A D | ice_lan_tx_rx.h | 624 u8 pf_num; member
|
A D | ice_main.c | 1727 u8 pf_num = (reg & GL_MDET_TX_PQM_PF_NUM_M) >> in ice_handle_mdd_event() local 1738 event, queue, pf_num, vf_num); in ice_handle_mdd_event() 1744 u8 pf_num = (reg & GL_MDET_TX_TCLAN_PF_NUM_M) >> in ice_handle_mdd_event() local 1755 event, queue, pf_num, vf_num); in ice_handle_mdd_event() 1761 u8 pf_num = (reg & GL_MDET_RX_PF_NUM_M) >> in ice_handle_mdd_event() local 1772 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | eswitch_offloads.c | 2858 u32 pf_num; in mlx5_esw_match_metadata_alloc() local 2862 pf_num = mlx5_get_dev_index(esw->dev); in mlx5_esw_match_metadata_alloc() 2863 if (pf_num > max_pf_num) in mlx5_esw_match_metadata_alloc() 2873 id = (pf_num << ESW_VPORT_BITS) | id; in mlx5_esw_match_metadata_alloc()
|