| /dpdk/drivers/net/thunderx/base/ |
| H A D | nicvf_mbox.c | 105 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 D | nicvf_mbox.h | 51 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
|
| /dpdk/drivers/net/i40e/ |
| H A D | rte_pmd_i40e.h | 365 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 D | i40e_vf_representor.c | 179 uint16_t vf_id, in rte_pmd_i40e_get_vf_native_stats() argument 200 vsi = pf->vfs[vf_id].vsi; in rte_pmd_i40e_get_vf_native_stats() 292 representor->vf_id, 1); in i40e_vf_representor_promiscuous_enable() 302 representor->vf_id, 0); in i40e_vf_representor_promiscuous_disable() 312 representor->vf_id, 1); in i40e_vf_representor_allmulticast_enable() 322 representor->vf_id, 0); in i40e_vf_representor_allmulticast_disable() 343 representor->vf_id, mac_addr); in i40e_vf_representor_mac_addr_set() 369 vfid = representor->vf_id; in i40e_vf_representor_vlan_offload_set() 419 representor->vf_id, on); in i40e_vf_representor_vlan_strip_queue_set() 430 representor->vf_id, vlan_id); in i40e_vf_representor_vlan_pvid_set() [all …]
|
| H A D | rte_pmd_i40e.c | 65 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 D | i40e_pf.c | 68 uint16_t vf_id = vf->vf_idx; in i40e_pf_vf_queues_mapping() local 121 uint16_t vf_id, abs_vf_id, vf_msix_num; in i40e_pf_host_vf_reset() local 130 vf_id = vf->vf_idx; in i40e_pf_host_vf_reset() 179 val = I40E_VFINT_DYN_CTL0(vf_id); in i40e_pf_host_vf_reset() 182 (vf_id)) + (i - 1)); in i40e_pf_host_vf_reset() 1203 uint16_t vf_id = vf->vf_idx; in i40e_notify_vf_link_status() local 1259 uint16_t vf_id = vf->vf_idx; in i40e_vc_notify_vf_reset() local 1366 vf = &pf->vfs[vf_id]; in i40e_pf_host_handle_vf_msg() 1399 vf_id, opcode, msglen); in i40e_pf_host_handle_vf_msg() 1410 ret_param.vfid = vf_id; in i40e_pf_host_handle_vf_msg() [all …]
|
| /dpdk/drivers/net/bnxt/ |
| H A D | rte_pmd_bnxt.c | 28 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 D | rte_pmd_bnxt.h | 36 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 D | bnxt_reps.c | 181 vf_rep_bp->vf_id = rep_params->vf_id; in bnxt_representor_init() 261 uint16_t vf_id; in bnxt_representor_uninit() local 277 vf_id = rep->vf_id; in bnxt_representor_uninit() 333 vfr->vf_id); in bnxt_tf_vfr_alloc() 341 vfr->vf_id); in bnxt_tf_vfr_alloc() 389 vfr->vf_id); in bnxt_vfr_alloc() 393 vfr->vf_id); in bnxt_vfr_alloc() 495 vfr->vf_id); in bnxt_vfr_free() 499 vfr->vf_id); in bnxt_vfr_free() 846 uint16_t vf_id; in bnxt_rep_stop_all() local [all …]
|
| H A D | bnxt_cpr.c | 53 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(bp); 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() 275 uint16_t vf_id; in bnxt_handle_fwd_req() local 286 vf_id = fw_vf_id - bp->pf->first_vf_id; in bnxt_handle_fwd_req() 295 fwd_cmd = (struct input *)bp->pf->vf_info[vf_id].req_buf; in bnxt_handle_fwd_req() 307 if (bnxt_rcv_msg_from_vf(bp, vf_id, fwd_cmd)) { in bnxt_handle_fwd_req() 318 bnxt_hwrm_func_vf_mac(bp, vf_id, in bnxt_handle_fwd_req()
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_dcf_parent.c | 21 uint16_t vf_id; /* The reset VF ID */ member 82 uint16_t vf_id; in ice_dcf_update_vf_vsi_map() local 84 for (vf_id = 0; vf_id < num_vfs; vf_id++) in ice_dcf_update_vf_vsi_map() 85 ice_dcf_update_vsi_ctx(hw, vf_id, vf_vsi_map[vf_id]); in ice_dcf_update_vf_vsi_map() 141 adapter->repr_infos[reset_param->vf_id].vf_rep_eth_dev; in ice_dcf_vsi_update_service_handler() 144 reset_param->vf_id); in ice_dcf_vsi_update_service_handler() 150 ice_dcf_replay_vf_bw(hw, reset_param->vf_id); in ice_dcf_vsi_update_service_handler() 176 param->vf_id = vf_id; in start_vsi_reset_thread() 178 snprintf(name, sizeof(name), "ice-reset-%u", vf_id); in start_vsi_reset_thread() 265 pf_msg->event_data.vf_vsi_map.vf_id, in ice_dcf_handle_pf_event_msg() [all …]
|
| H A D | ice_dcf_vf_representor.c | 205 dev_info->switch_info.port_id = repr->vf_id; in ice_dcf_vf_repr_dev_info_get() 271 vlan_offload.vf_id = repr->vf_id; in ice_dcf_vf_repr_vlan_offload_set() 319 vlan_offload.vf_id = repr->vf_id; in ice_dcf_vf_repr_vlan_pvid_set() 416 repr->vf_id = param->vf_id; in ice_dcf_vf_repr_init() 427 vf_rep_eth_dev->data->representor_id = repr->vf_id; in ice_dcf_vf_repr_init() 474 uint16_t vf_id; in ice_dcf_vf_repr_stop_all() local 480 for (vf_id = 0; vf_id < dcf_adapter->real_hw.num_vfs; vf_id++) { in ice_dcf_vf_repr_stop_all() 482 dcf_adapter->repr_infos[vf_id].vf_rep_eth_dev; in ice_dcf_vf_repr_stop_all()
|
| H A D | ice_dcf_sched.c | 708 PMD_DRV_LOG(DEBUG, "VF %u BW replay failed", vf_id); in ice_dcf_replay_vf_bw() 718 uint16_t vf_id; in ice_dcf_clear_bw() local 726 for (vf_id = 0; vf_id < hw->num_vfs; vf_id++) { in ice_dcf_clear_bw() 728 hw->qos_bw_cfg[vf_id]->cfg[tc].shaper.peak = 0; in ice_dcf_clear_bw() 733 PMD_DRV_LOG(DEBUG, "VF %u BW clear failed", vf_id); in ice_dcf_clear_bw() 753 uint16_t size, vf_id; in ice_dcf_hierarchy_commit() local 787 tc_bw->vf_id = ICE_DCF_SCHED_TC_NODE; in ice_dcf_hierarchy_commit() 800 for (vf_id = 1; vf_id < hw->num_vfs; vf_id++) { in ice_dcf_hierarchy_commit() 802 vf_bw->vf_id = vf_id; in ice_dcf_hierarchy_commit() 838 if (!hw->qos_bw_cfg[vf_id]) { in ice_dcf_hierarchy_commit() [all …]
|
| H A D | ice_dcf_ethdev.h | 47 uint16_t vf_id; member 62 uint16_t vf_id; member
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_vf_representor.c | 35 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() 220 vf_data[representor->vf_id].vf_mac_addresses; in ixgbe_vf_representor_init()
|
| /dpdk/drivers/mempool/octeontx/ |
| H A D | octeontx_fpavf.c | 95 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 …]
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_vfpf.c | 165 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 D | bnx2x_vfpf.h | 77 uint8_t vf_id; member 240 uint16_t vf_id; /* for debug */ member 247 uint16_t vf_id; /* for debug */ member
|
| /dpdk/drivers/event/dlb2/pf/base/ |
| H A D | dlb2_resource.h | 1048 unsigned int vf_id, 1068 unsigned int vf_id, 1088 unsigned int vf_id, 1108 unsigned int vf_id, 1477 unsigned int vf_id, 1724 unsigned int vf_id);
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_vf_representor.c | 480 device_info->switch_info.port_id = vf->vf_id; in enic_vf_dev_infos_get() 621 vf->vf_id = params->vf_id; in enic_vf_representor_init() 647 vf->vf_id, vf->pf_wq_idx, vf->pf_rq_sop_idx, vf->pf_rq_data_idx, in enic_vf_representor_init() 658 if (vf->vf_id >= pdev->max_vfs) { in enic_vf_representor_init() 660 vf->vf_id, pdev->max_vfs); in enic_vf_representor_init() 667 eth_dev->data->representor_id = vf->vf_id; in enic_vf_representor_init() 682 vf->enic.vdev = vnic_vf_rep_register(&vf->enic, pf->vdev, vf->vf_id); in enic_vf_representor_init() 698 vf->bdf.function += vf->vf_id + 1; in enic_vf_representor_init()
|
| H A D | enic.h | 221 uint16_t vf_id; member 332 return vf->pf->conf_rq_count - (vf->pf->max_vf_id + vf->vf_id + 2); in vf_wq_cq_idx() 337 return vf->pf->conf_wq_count - vf->vf_id - 1; in vf_wq_idx() 342 return vf->pf->conf_rq_count - vf->vf_id - 1; in vf_rq_sop_idx() 347 return vf->pf->conf_rq_count - (vf->pf->max_vf_id + vf->vf_id + 2); in vf_rq_data_idx()
|
| /dpdk/drivers/net/qede/base/ |
| H A D | ecore_iro.h | 21 #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))
|
| /dpdk/drivers/baseband/fpga_5gnr_fec/ |
| H A D | rte_fpga_5gnr_fec.c | 1972 uint16_t q_id, vf_id, total_q_id, total_ul_q_id, total_dl_q_id; in rte_fpga_5gnr_fec_configure() local 2071 for (vf_id = 0; vf_id < FPGA_5GNR_FEC_NUM_VFS; ++vf_id) { in rte_fpga_5gnr_fec_configure() 2072 total_ul_q_id += conf->vf_ul_queues_number[vf_id]; in rte_fpga_5gnr_fec_configure() 2073 total_dl_q_id += conf->vf_dl_queues_number[vf_id]; in rte_fpga_5gnr_fec_configure() 2090 for (vf_id = 0; vf_id < FPGA_5GNR_FEC_NUM_VFS; ++vf_id) { in rte_fpga_5gnr_fec_configure() 2091 for (q_id = 0; q_id < conf->vf_ul_queues_number[vf_id]; in rte_fpga_5gnr_fec_configure() 2095 payload_32 = ((0x80 + vf_id) << 16) | 0x1; in rte_fpga_5gnr_fec_configure() 2101 for (vf_id = 0; vf_id < FPGA_5GNR_FEC_NUM_VFS; ++vf_id) { in rte_fpga_5gnr_fec_configure() 2102 for (q_id = 0; q_id < conf->vf_dl_queues_number[vf_id]; in rte_fpga_5gnr_fec_configure() 2106 payload_32 = ((0x80 + vf_id) << 16) | 0x1; in rte_fpga_5gnr_fec_configure()
|
| /dpdk/drivers/net/liquidio/ |
| H A D | lio_ethdev.h | 125 uint64_t vf_id : 8; member 127 uint64_t vf_id : 8;
|
| /dpdk/drivers/net/thunderx/ |
| H A D | nicvf_ethdev.c | 735 nic->vf_id, qidx, ret); in nicvf_vf_start_tx_queue() 764 nic->vf_id, qidx, ret); in nicvf_vf_stop_tx_queue() 1095 nic->vf_id, qidx, ret); in nicvf_vf_start_rx_queue() 1101 nic->vf_id, qidx, ret); in nicvf_vf_start_rx_queue() 1543 "VF%d", nic->vf_id); in nicvf_vf_start() 1551 nic->vf_id); in nicvf_vf_start() 1560 "VF%d", nic->vf_id); in nicvf_vf_start() 1568 nic->vf_id); in nicvf_vf_start() 1577 nic->vf_id); in nicvf_vf_start() 1880 nic->vf_id); in nicvf_request_sqs() [all …]
|