Home
last modified time | relevance | path

Searched refs:vf_num (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/drivers/misc/genwqe/
Dcard_debugfs.c175 unsigned int vf_num; in jtimer_show() local
182 for (vf_num = 0; vf_num < cd->num_vfs; vf_num++) { in jtimer_show()
184 vf_num + 1); in jtimer_show()
185 seq_printf(s, " VF%-2d 0x%016llx %d msec\n", vf_num, jtimer, in jtimer_show()
186 cd->vf_jobtimeout_msec[vf_num]); in jtimer_show()
196 unsigned int vf_num; in queue_working_time_show() local
202 for (vf_num = 0; vf_num < cd->num_vfs; vf_num++) { in queue_working_time_show()
203 t = genwqe_read_vreg(cd, IO_SLC_VF_QUEUE_WTIME, vf_num + 1); in queue_working_time_show()
204 seq_printf(s, " VF%-2d 0x%016llx\n", vf_num, t); in queue_working_time_show()
/linux-6.6.21/include/linux/mlx5/
Dvport.h81 u8 port_num, u16 vf_num, u16 gid_index,
84 u8 port_num, u16 vf_num, u16 pkey_index,
88 u16 vf_num,
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dvport.c518 u8 port_num, u16 vf_num, u16 gid_index, in mlx5_query_hca_vport_gid() argument
534 vf_num, gid_index, tbsz); in mlx5_query_hca_vport_gid()
556 MLX5_SET(query_hca_vport_gid_in, in, vport_number, vf_num); in mlx5_query_hca_vport_gid()
584 u8 port_num, u16 vf_num, u16 pkey_index, in mlx5_query_hca_vport_pkey() argument
621 MLX5_SET(query_hca_vport_pkey_in, in, vport_number, vf_num); in mlx5_query_hca_vport_pkey()
650 u16 vf_num, in mlx5_query_hca_vport_context() argument
671 MLX5_SET(query_hca_vport_context_in, in, vport_number, vf_num); in mlx5_query_hca_vport_context()
/linux-6.6.21/drivers/vdpa/solidrun/
Dsnet_vdpa.h116 u32 vf_num; member
Dsnet_main.c700 cfg->vf_num = psnet_read32(psnet, off); in psnet_read_cfg()
931 SNET_DBG(pdev, "Enable %u virtual functions\n", psnet->cfg.vf_num); in snet_vdpa_probe_pf()
932 ret = pci_enable_sriov(pdev, psnet->cfg.vf_num); in snet_vdpa_probe_pf()
/linux-6.6.21/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_pf_device.c407 u64 vf_num; in cn23xx_pf_setup_global_input_regs() local
427 vf_num = q_no / oct->sriov_info.rings_per_vf; in cn23xx_pf_setup_global_input_regs()
428 vf_num += 1; /* VF1, VF2,........ */ in cn23xx_pf_setup_global_input_regs()
430 vf_num = 0; in cn23xx_pf_setup_global_input_regs()
433 reg_val |= vf_num << CN23XX_PKT_INPUT_CTL_VF_NUM_POS; in cn23xx_pf_setup_global_input_regs()
Docteon_device.h457 u16 vf_num; member
Dcn23xx_vf_device.c630 oct->vf_num = (reg_val >> CN23XX_PKT_INPUT_CTL_VF_NUM_POS) & in cn23xx_setup_octeon_vf_device()
Dlio_core.c1127 oct->octeon_id, oct->vf_num, i); in octeon_setup_interrupt()
1189 oct->octeon_id, oct->vf_num, 0); in octeon_setup_interrupt()
Dlio_main.c4001 u64 *data, vf_num; in octeon_recv_vf_drv_notice() local
4007 vf_num = data[0]; in octeon_recv_vf_drv_notice()
4008 octeon_swap_8B_data(&vf_num, 1); in octeon_recv_vf_drv_notice()
4009 vf_idx = (int)vf_num - 1; in octeon_recv_vf_drv_notice()
Dlio_vf_main.c1053 nctrl.ncmd.s.param1 = oct->vf_num; in liquidio_set_uc_list()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_switch.h44 u8 vf_num; member
Dice_lib.c300 ctxt->vf_num = vsi->vf->vf_id; in ice_vsi_delete_from_hw()
1278 ctxt->vf_num = vsi->vf->vf_id + hw->func_caps.vf_base_id; in ice_vsi_init()
3448 ctx->vf_num = 0; in ice_vsi_cfg_tc()
Dice_main.c1749 u16 vf_num = (reg & GL_MDET_TX_PQM_VF_NUM_M) >> in ice_handle_mdd_event() local
1758 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1766 u16 vf_num = (reg & GL_MDET_TX_TCLAN_VF_NUM_M) >> in ice_handle_mdd_event() local
1775 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
1783 u16 vf_num = (reg & GL_MDET_RX_VF_NUM_M) >> in ice_handle_mdd_event() local
1792 event, queue, pf_num, vf_num); in ice_handle_mdd_event()
Dice_switch.c1481 cmd->vf_id = vsi_ctx->vf_num; in ice_aq_add_vsi()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/
Dhns_ae_adapt.c57 int vf_num = rcb_comm->max_vfn; in hns_ae_get_base_ring_pair() local
59 return &rcb_comm->ring_pair_cb[port * q_num * vf_num]; in hns_ae_get_base_ring_pair()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_flows.c1091 u64 vf_num; in otx2_add_flow() local
1116 vf_num = ethtool_get_flow_spec_ring_vf(fsp->ring_cookie); in otx2_add_flow()
1117 if (!is_otx2_vf(pfvf->pcifunc) && !vf_num && in otx2_add_flow()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_cmd.h169 u8 vf_num; member
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h2186 u8 vf_num; member
2465 u32 vf_num);
2501 int vf_num);
Dbe_cmds.c4396 adapter->vf_num = desc->vf_num; in be_cmd_get_func_config()
4609 nic_desc.vf_num = domain; in be_cmd_config_qos()
4656 desc.nic_vft.vf_num = 0; in be_cmd_set_sriov_config()
4731 int vf_num) in be_cmd_get_if_id() argument
4750 req->hdr.domain = vf_num + 1; in be_cmd_get_if_id()
Dbe.h648 u8 vf_num; /* Numbering used by FW, starts at 1 */ member
/linux-6.6.21/drivers/crypto/hisilicon/
Dqm.c1456 u32 reg_val, type, vf_num; in qm_log_hw_error() local
1471 vf_num = reg_val & QM_DB_TIMEOUT_VF; in qm_log_hw_error()
1473 qm_db_timeout[type], vf_num); in qm_log_hw_error()
1478 vf_num = reg_val & QM_FIFO_OVERFLOW_VF; in qm_log_hw_error()
1482 qm_fifo_overflow[type], vf_num); in qm_log_hw_error()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_main.c5740 ctxt.vf_num = vsi->vf_id + hw->func_caps.vf_base_id + vsi_offset; in i40e_update_adq_vsi_queues()
5847 ctxt.vf_num = 0; in i40e_vsi_config_tc()
6279 ctxt.vf_num = 0; in i40e_add_channel()
7905 ctxt.vf_num = 0; in i40e_setup_macvlans()
10288 ctxt.vf_num = 0; in i40e_enable_pf_switch_lb()
10324 ctxt.vf_num = 0; in i40e_disable_pf_switch_lb()
11195 u16 vf_num = (reg & I40E_GL_MDET_TX_VF_NUM_MASK) >> in i40e_handle_mdd_event() local
11204 event, queue, pf_num, vf_num); in i40e_handle_mdd_event()
13978 ctxt.vf_num = 0; in i40e_add_vsi()
14005 ctxt.vf_num = 0; in i40e_add_vsi()
[all …]
Di40e_type.h1145 u8 vf_num; member
Di40e_virtchnl_pf.c2878 #define I40E_VC_MAX_MACVLAN_PER_TRUSTED_VF(vf_num, num_ports) \ argument
2879 ({ typeof(vf_num) vf_num_ = (vf_num); \

12