Home
last modified time | relevance | path

Searched refs:vf_id (Results 1 – 25 of 72) sorted by relevance

123

/f-stack/dpdk/drivers/net/thunderx/base/
H A Dnicvf_mbox.c105 nic->vf_id, i, retry); in nicvf_mbox_send_msg_to_pf()
133 nic->vf_id = mbx.nic_cfg.vf_id & 0x7F; in nicvf_handle_mbx_intr()
208 mbx.mac.vf_id = nic->vf_id; in nicvf_mbox_set_mac_addr()
221 mbx.cpi_cfg.vf_id = nic->vf_id; in nicvf_mbox_config_cpi()
234 mbx.rss_size.vf_id = nic->vf_id; in nicvf_mbox_get_rss_size()
250 mbx.rss_cfg.vf_id = nic->vf_id; in nicvf_mbox_config_rss()
279 mbx.rq.qs_num = nic->vf_id; in nicvf_mbox_rq_config()
308 mbx.qs.num = nic->vf_id; in nicvf_mbox_qset_config()
361 mbx.frs.vf_id = nic->vf_id; in nicvf_mbox_update_hw_max_frs()
396 mbx.lbk.vf_id = nic->vf_id; in nicvf_mbox_loopback_config()
[all …]
H A Dnicvf_mbox.h51 uint8_t vf_id; member
87 uint8_t vf_id; member
94 uint8_t vf_id; member
101 uint8_t vf_id; member
109 uint8_t vf_id; member
116 uint8_t vf_id; member
144 uint8_t vf_id; member
176 uint8_t vf_id; member
/f-stack/dpdk/drivers/net/i40e/
H A Drte_pmd_i40e.h365 uint16_t vf_id,
384 uint16_t vf_id,
419 uint16_t vf_id,
438 uint16_t vf_id,
461 int rte_pmd_i40e_set_vf_mac_addr(uint16_t port, uint16_t vf_id,
479 rte_pmd_i40e_remove_vf_mac_addr(uint16_t port, uint16_t vf_id,
602 uint16_t vf_id,
618 uint16_t vf_id);
643 uint16_t vf_id,
668 uint16_t vf_id,
[all …]
H A Di40e_vf_representor.c174 uint16_t vf_id, in rte_pmd_i40e_get_vf_native_stats() argument
195 vsi = pf->vfs[vf_id].vsi; in rte_pmd_i40e_get_vf_native_stats()
287 representor->vf_id, 1); in i40e_vf_representor_promiscuous_enable()
297 representor->vf_id, 0); in i40e_vf_representor_promiscuous_disable()
307 representor->vf_id, 1); in i40e_vf_representor_allmulticast_enable()
317 representor->vf_id, 0); in i40e_vf_representor_allmulticast_disable()
338 representor->vf_id, mac_addr); in i40e_vf_representor_mac_addr_set()
364 vfid = representor->vf_id; in i40e_vf_representor_vlan_offload_set()
414 representor->vf_id, on); in i40e_vf_representor_vlan_strip_queue_set()
425 representor->vf_id, vlan_id); in i40e_vf_representor_vlan_pvid_set()
[all …]
H A Drte_pmd_i40e.c65 vsi = pf->vfs[vf_id].vsi; in rte_pmd_i40e_set_vf_mac_anti_spoof()
412 uint16_t vf_id; in rte_pmd_i40e_set_tx_loopback() local
436 for (vf_id = 0; vf_id < pf->vf_num; vf_id++) { in rte_pmd_i40e_set_tx_loopback()
556 vf = &pf->vfs[vf_id]; in rte_pmd_i40e_set_vf_mac_addr()
965 uint16_t vf_id, in rte_pmd_i40e_get_vf_stats() argument
1120 vf_id, ret); in rte_pmd_i40e_set_vf_max_bw()
1229 vf_id, ret); in rte_pmd_i40e_set_vf_tc_bw_alloc()
1325 vf_id, ret); in rte_pmd_i40e_set_vf_tc_max_bw()
2506 int vf_id; in rte_pmd_i40e_query_vfid_by_mac() local
2519 for (vf_id = 0; vf_id < vf_num; vf_id++) { in rte_pmd_i40e_query_vfid_by_mac()
[all …]
H A Di40e_pf.c46 uint16_t vf_id = vf->vf_idx; in i40e_pf_vf_queues_mapping() local
99 uint16_t vf_id, abs_vf_id, vf_msix_num; in i40e_pf_host_vf_reset() local
108 vf_id = vf->vf_idx; in i40e_pf_host_vf_reset()
157 val = I40E_VFINT_DYN_CTL0(vf_id); in i40e_pf_host_vf_reset()
160 (vf_id)) + (i - 1)); in i40e_pf_host_vf_reset()
1177 uint16_t vf_id = vf->vf_idx; in i40e_notify_vf_link_status() local
1233 uint16_t vf_id = vf->vf_idx; in i40e_vc_notify_vf_reset() local
1309 vf = &pf->vfs[vf_id]; in i40e_pf_host_handle_vf_msg()
1342 vf_id, opcode, msglen); in i40e_pf_host_handle_vf_msg()
1353 ret_param.vfid = vf_id; in i40e_pf_host_handle_vf_msg()
[all …]
/f-stack/dpdk/drivers/net/bnxt/
H A Drte_pmd_bnxt.c28 ret_param.vf_id = vf_id; in bnxt_rcv_msg_from_vf()
587 uint16_t vf_id, in rte_pmd_bnxt_get_vf_stats() argument
609 if (vf_id >= dev_info.max_vfs) in rte_pmd_bnxt_get_vf_stats()
615 vf_id, port); in rte_pmd_bnxt_get_vf_stats()
624 uint16_t vf_id) in rte_pmd_bnxt_reset_vf_stats() argument
645 if (vf_id >= dev_info.max_vfs) in rte_pmd_bnxt_reset_vf_stats()
651 vf_id, port); in rte_pmd_bnxt_reset_vf_stats()
685 vf_id, port); in rte_pmd_bnxt_get_vf_rx_status()
720 vf_id, port); in rte_pmd_bnxt_get_vf_tx_drop_count()
729 uint32_t vf_id) in rte_pmd_bnxt_mac_addr_add() argument
[all …]
H A Drte_pmd_bnxt.h36 uint16_t vf_id; /* Virtual Function number */ member
206 uint16_t vf_id,
222 uint16_t vf_id);
276 int rte_pmd_bnxt_get_vf_rx_status(uint16_t port, uint16_t vf_id);
292 int rte_pmd_bnxt_get_vf_tx_drop_count(uint16_t port, uint16_t vf_id,
311 uint32_t vf_id);
H A Dbnxt_reps.c177 vf_rep_bp->vf_id = rep_params->vf_id; in bnxt_representor_init()
257 uint16_t vf_id; in bnxt_representor_uninit() local
273 vf_id = rep->vf_id; in bnxt_representor_uninit()
323 vfr->vf_id); in bnxt_tf_vfr_alloc()
331 vfr->vf_id); in bnxt_tf_vfr_alloc()
379 vfr->vf_id); in bnxt_vfr_alloc()
383 vfr->vf_id); in bnxt_vfr_alloc()
465 vfr->vf_id); in bnxt_vfr_free()
469 vfr->vf_id); in bnxt_vfr_free()
813 uint16_t vf_id; in bnxt_rep_stop_all() local
[all …]
H A Dbnxt_cpr.c53 uint16_t vnic_state, vf_fid, vf_id; in bnxt_process_default_vnic_change() local
77 for (vf_id = 0; vf_id < BNXT_MAX_VF_REPS; vf_id++) { in bnxt_process_default_vnic_change()
78 eth_dev = bp->rep_info[vf_id].vfr_eth_dev; in bnxt_process_default_vnic_change()
213 uint16_t vf_id; in bnxt_handle_fwd_req() local
224 vf_id = fw_vf_id - bp->pf->first_vf_id; in bnxt_handle_fwd_req()
233 fwd_cmd = (struct input *)bp->pf->vf_info[vf_id].req_buf; in bnxt_handle_fwd_req()
245 if (bnxt_rcv_msg_from_vf(bp, vf_id, fwd_cmd)) { in bnxt_handle_fwd_req()
256 bnxt_hwrm_func_vf_mac(bp, vf_id, in bnxt_handle_fwd_req()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_vf_representor.c35 representor->vf_id, mac_addr); in ixgbe_vf_representor_mac_addr_set()
79 dev_info->switch_info.port_id = representor->vf_id; in ixgbe_vf_representor_dev_infos_get()
126 uint64_t vf_mask = 1ULL << representor->vf_id; in ixgbe_vf_representor_vlan_filter_set()
139 representor->vf_id, on); in ixgbe_vf_representor_vlan_strip_queue_set()
186 representor->vf_id = in ixgbe_vf_representor_init()
187 ((struct ixgbe_vf_representor *)init_params)->vf_id; in ixgbe_vf_representor_init()
195 if (representor->vf_id >= pci_dev->max_vfs) in ixgbe_vf_representor_init()
199 ethdev->data->representor_id = representor->vf_id; in ixgbe_vf_representor_init()
219 vf_data[representor->vf_id].vf_mac_addresses; in ixgbe_vf_representor_init()
/f-stack/dpdk/drivers/mempool/octeontx/
H A Docteontx_fpavf.c95 uint16_t vf_id; /* gpool_id */ member
132 RTE_ASSERT(res->vf_id != (uint16_t)~0); in octeontx_fpa_gpool_alloc()
137 fpavf_log_dbg("gpool %d blk_sz %d\n", res->vf_id, in octeontx_fpa_gpool_alloc()
140 return res->vf_id; in octeontx_fpa_gpool_alloc()
156 if (fpadev.pool[i].vf_id != gpool) in octeontx_get_fpavf()
200 if (gpool != fpadev.pool[i].vf_id) in octeontx_fpa_handle_valid()
254 hdr.vfid = fpa->vf_id; in octeontx_fpapf_pool_setup()
305 hdr.vfid = fpa->vf_id; in octeontx_fpapf_pool_destroy()
747 uint16_t vf_id; in octeontx_fpavf_identify() local
755 vf_id = (val >> 24) & 0xffff; in octeontx_fpavf_identify()
[all …]
/f-stack/dpdk/drivers/net/bnx2x/
H A Dbnx2x_vfpf.c165 static inline int bnx2x_read_vf_id(struct bnx2x_softc *sc, uint32_t *vf_id) in bnx2x_read_vf_id() argument
175 *vf_id = VF_ID(val); in bnx2x_read_vf_id()
249 uint32_t vf_id; in bnx2x_vf_get_resources() local
255 if (bnx2x_read_vf_id(sc, &vf_id)) { in bnx2x_vf_get_resources()
260 acq->vf_id = vf_id; in bnx2x_vf_get_resources()
326 uint32_t vf_id; in bnx2x_vf_close() local
333 if (bnx2x_read_vf_id(sc, &vf_id)) { in bnx2x_vf_close()
338 query->vf_id = vf_id; in bnx2x_vf_close()
398 uint32_t vf_id; in bnx2x_vf_unload() local
412 if (bnx2x_read_vf_id(sc, &vf_id)) { in bnx2x_vf_unload()
[all …]
H A Dbnx2x_vfpf.h79 uint8_t vf_id; member
242 uint16_t vf_id; /* for debug */ member
249 uint16_t vf_id; /* for debug */ member
/f-stack/dpdk/drivers/net/ice/
H A Dice_dcf_parent.c75 uint16_t vf_id; in ice_dcf_update_vf_vsi_map() local
77 for (vf_id = 0; vf_id < num_vfs; vf_id++) in ice_dcf_update_vf_vsi_map()
78 ice_dcf_update_vsi_ctx(hw, vf_id, vf_vsi_map[vf_id]); in ice_dcf_update_vf_vsi_map()
158 pf_msg->event_data.vf_vsi_map.vf_id, in ice_dcf_handle_pf_event_msg()
/f-stack/dpdk/drivers/raw/octeontx2_ep/
H A Dotx2_ep_rawdev.c267 uint16_t vf_id; in otx2_sdp_rawdev_probe() local
307 vf_id = ((pci_dev->addr.devid & 0x1F) << 3) | in otx2_sdp_rawdev_probe()
310 vf_id -= 1; in otx2_sdp_rawdev_probe()
311 sdpvf->vf_num = vf_id; in otx2_sdp_rawdev_probe()
313 otx2_info("SDP_EP VF[%d] probe done", vf_id); in otx2_sdp_rawdev_probe()
/f-stack/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_resource.h1039 unsigned int vf_id,
1059 unsigned int vf_id,
1079 unsigned int vf_id,
1099 unsigned int vf_id,
1468 unsigned int vf_id,
1724 unsigned int vf_id);
H A Ddlb2_regs.h11 #define DLB2_FUNC_PF_VF2PF_MAILBOX(vf_id, x) \ argument
12 (0x1000 + 0x4 * (x) + (vf_id) * 0x10000)
21 #define DLB2_FUNC_PF_VF2PF_MAILBOX_ISR(vf_id) \ argument
22 (0x1f00 + (vf_id) * 0x10000)
47 #define DLB2_FUNC_PF_VF2PF_FLR_ISR(vf_id) \ argument
48 (0x1f04 + (vf_id) * 0x10000)
73 #define DLB2_FUNC_PF_VF2PF_ISR_PEND(vf_id) \ argument
74 (0x1f10 + (vf_id) * 0x10000)
86 (0x2000 + 0x4 * (x) + (vf_id) * 0x10000)
96 (0x2f00 + (vf_id) * 0x10000)
[all …]
/f-stack/dpdk/drivers/net/enic/
H A Denic_vf_representor.c489 device_info->switch_info.port_id = vf->vf_id; in enic_vf_dev_infos_get()
630 vf->vf_id = params->vf_id; in enic_vf_representor_init()
656 vf->vf_id, vf->pf_wq_idx, vf->pf_rq_sop_idx, vf->pf_rq_data_idx, in enic_vf_representor_init()
667 if (vf->vf_id >= pdev->max_vfs) { in enic_vf_representor_init()
669 vf->vf_id, pdev->max_vfs); in enic_vf_representor_init()
677 eth_dev->data->representor_id = vf->vf_id; in enic_vf_representor_init()
691 vf->enic.vdev = vnic_vf_rep_register(&vf->enic, pf->vdev, vf->vf_id); in enic_vf_representor_init()
707 vf->bdf.function += vf->vf_id + 1; in enic_vf_representor_init()
H A Denic.h238 uint16_t vf_id; member
349 return vf->pf->conf_rq_count - (vf->pf->max_vf_id + vf->vf_id + 2); in vf_wq_cq_idx()
354 return vf->pf->conf_wq_count - vf->vf_id - 1; in vf_wq_idx()
359 return vf->pf->conf_rq_count - vf->vf_id - 1; in vf_rq_sop_idx()
364 return vf->pf->conf_rq_count - (vf->pf->max_vf_id + vf->vf_id + 2); in vf_rq_data_idx()
/f-stack/dpdk/drivers/raw/octeontx2_dma/
H A Dotx2_dpi_rawdev.c327 otx2_err("Unable to open DPI VF %d", dpivf->vf_id); in otx2_dpi_rawdev_configure()
354 uint16_t vf_id; in otx2_dpi_rawdev_probe() local
389 vf_id = ((pci_dev->addr.devid & 0x1F) << 3) | in otx2_dpi_rawdev_probe()
391 vf_id -= 1; in otx2_dpi_rawdev_probe()
393 dpivf->vf_id = vf_id; in otx2_dpi_rawdev_probe()
H A Dotx2_dpi_msg.c72 mbox_msg.s.vfid = dpivf->vf_id; in otx2_dpi_queue_open()
94 mbox_msg.s.vfid = dpivf->vf_id; in otx2_dpi_queue_close()
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_iro.h21 #define USTORM_VF_PF_CHANNEL_READY_OFFSET(vf_id) (IRO[3].base + \ argument
22 ((vf_id) * IRO[3].m1))
103 #define MSTORM_ETH_VF_PRODS_OFFSET(vf_id, vf_queue_id) (IRO[27].base + \ argument
104 ((vf_id) * IRO[27].m1) + ((vf_queue_id) * IRO[27].m2))
/f-stack/dpdk/drivers/net/liquidio/
H A Dlio_ethdev.h122 uint64_t vf_id : 8; member
124 uint64_t vf_id : 8;
/f-stack/dpdk/drivers/baseband/fpga_5gnr_fec/
H A Drte_fpga_5gnr_fec.c1971 uint16_t q_id, vf_id, total_q_id, total_ul_q_id, total_dl_q_id; in rte_fpga_5gnr_fec_configure() local
2070 for (vf_id = 0; vf_id < FPGA_5GNR_FEC_NUM_VFS; ++vf_id) { in rte_fpga_5gnr_fec_configure()
2071 total_ul_q_id += conf->vf_ul_queues_number[vf_id]; in rte_fpga_5gnr_fec_configure()
2072 total_dl_q_id += conf->vf_dl_queues_number[vf_id]; in rte_fpga_5gnr_fec_configure()
2089 for (vf_id = 0; vf_id < FPGA_5GNR_FEC_NUM_VFS; ++vf_id) { in rte_fpga_5gnr_fec_configure()
2090 for (q_id = 0; q_id < conf->vf_ul_queues_number[vf_id]; in rte_fpga_5gnr_fec_configure()
2094 payload_32 = ((0x80 + vf_id) << 16) | 0x1; in rte_fpga_5gnr_fec_configure()
2100 for (vf_id = 0; vf_id < FPGA_5GNR_FEC_NUM_VFS; ++vf_id) { in rte_fpga_5gnr_fec_configure()
2101 for (q_id = 0; q_id < conf->vf_dl_queues_number[vf_id]; in rte_fpga_5gnr_fec_configure()
2105 payload_32 = ((0x80 + vf_id) << 16) | 0x1; in rte_fpga_5gnr_fec_configure()

123