Home
last modified time | relevance | path

Searched refs:vf_info (Results 1 – 12 of 12) sorted by relevance

/dpdk/drivers/net/fm10k/base/
H A Dfm10k_pf.c873 if (!vf_info || vf_info->vf_idx >= hw->iov.num_vfs) in fm10k_iov_assign_default_mac_vlan_pf()
890 if (vf_info->pf_vid) in fm10k_iov_assign_default_mac_vlan_pf()
914 err = vf_info->mbx.ops.enqueue_tx(hw, &vf_info->mbx, msg); in fm10k_iov_assign_default_mac_vlan_pf()
998 vf_info->mbx.ops.disconnect(hw, &vf_info->mbx); in fm10k_iov_reset_resources_pf()
1157 vf_info->mbx.ops.enqueue_tx(hw, &vf_info->mbx, msg); in fm10k_iov_reset_lport_pf()
1162 vf_info->glort = 0; in fm10k_iov_reset_lport_pf()
1218 return vf_info->pf_vid ? vf_info->pf_vid : vf_info->sw_vid; in fm10k_iov_select_vid()
1219 else if (vf_info->pf_vid && vid != vf_info->pf_vid) in fm10k_iov_select_vid()
1440 vf_info->vf_flags = FM10K_VF_FLAG_CAPABLE(vf_info); in fm10k_iov_msg_lport_state_pf()
1443 hw->iov.ops.configure_tc(hw, vf_info->vf_idx, vf_info->rate); in fm10k_iov_msg_lport_state_pf()
[all …]
H A Dfm10k_type.h672 #define FM10K_VF_FLAG_CAPABLE(vf_info) ((vf_info)->vf_flags & (u8)0xF) argument
673 #define FM10K_VF_FLAG_ENABLED(vf_info) ((vf_info)->vf_flags >> 4) argument
/dpdk/drivers/net/bnxt/
H A Drte_pmd_bnxt.c284 bp->pf->vf_info[vf].mac_spoof_en = on; in rte_pmd_bnxt_set_vf_mac_anti_spoof()
328 bp->pf->vf_info[vf].vlan_spoof_en = on; in rte_pmd_bnxt_set_vf_vlan_anti_spoof()
332 bp->pf->vf_info[vf].vlan_count, in rte_pmd_bnxt_set_vf_vlan_anti_spoof()
333 bp->pf->vf_info[vf].vlan_as_table)) in rte_pmd_bnxt_set_vf_vlan_anti_spoof()
418 if (!bp->pf->vf_info) in rte_pmd_bnxt_set_vf_rxmode()
445 &bp->pf->vf_info[vf].l2_rx_mask, in rte_pmd_bnxt_set_vf_rxmode()
480 bp->pf->vf_info[vf].vlan_count, in bnxt_set_vf_table()
481 bp->pf->vf_info[vf].vlan_table)) in bnxt_set_vf_table()
509 if (!bp->pf->vf_info) in rte_pmd_bnxt_set_vf_vlan_filter()
513 cnt = bp->pf->vf_info[i].vlan_count; in rte_pmd_bnxt_set_vf_vlan_filter()
[all …]
H A Dbnxt_filter.c58 STAILQ_INSERT_TAIL(&bp->pf->vf_info[vf].filter, filter, next); in bnxt_alloc_vf_filter()
85 STAILQ_FOREACH(filter, &bp->pf->vf_info[i].filter, next) { in bnxt_free_all_filters()
154 STAILQ_FOREACH(filter, &bp->pf->vf_info[i].filter, next) { in bnxt_free_filter_mem()
156 STAILQ_REMOVE(&bp->pf->vf_info[i].filter, filter, in bnxt_free_filter_mem()
H A Dbnxt_hwrm.c802 if (bp->pf->vf_info == NULL) in bnxt_free_vf_info()
811 rte_free(bp->pf->vf_info); in bnxt_free_vf_info()
812 bp->pf->vf_info = NULL; in bnxt_free_vf_info()
817 struct bnxt_child_vf_info *vf_info = bp->pf->vf_info; in bnxt_alloc_vf_info() local
820 if (vf_info) in bnxt_alloc_vf_info()
823 vf_info = rte_zmalloc("bnxt_vf_info", sizeof(*vf_info) * max_vfs, 0); in bnxt_alloc_vf_info()
824 if (vf_info == NULL) { in bnxt_alloc_vf_info()
834 if (vf_info[i].vlan_table == NULL) { in bnxt_alloc_vf_info()
848 STAILQ_INIT(&vf_info[i].filter); in bnxt_alloc_vf_info()
851 bp->pf->vf_info = vf_info; in bnxt_alloc_vf_info()
[all …]
H A Dbnxt_cpr.c295 fwd_cmd = (struct input *)bp->pf->vf_info[vf_id].req_buf; in bnxt_handle_fwd_req()
H A Dbnxt.h263 struct bnxt_child_vf_info *vf_info; member
/dpdk/drivers/net/netvsc/
H A Dhn_vf.c356 struct rte_eth_dev_info vf_info; in hn_vf_info_merge() local
359 ret = rte_eth_dev_info_get(vf_dev->data->port_id, &vf_info); in hn_vf_info_merge()
363 info->speed_capa = vf_info.speed_capa; in hn_vf_info_merge()
364 info->default_rxportconf = vf_info.default_rxportconf; in hn_vf_info_merge()
365 info->default_txportconf = vf_info.default_txportconf; in hn_vf_info_merge()
367 info->max_rx_queues = RTE_MIN(vf_info.max_rx_queues, in hn_vf_info_merge()
369 info->rx_offload_capa &= vf_info.rx_offload_capa; in hn_vf_info_merge()
373 info->max_tx_queues = RTE_MIN(vf_info.max_tx_queues, in hn_vf_info_merge()
375 info->tx_offload_capa &= vf_info.tx_offload_capa; in hn_vf_info_merge()
379 info->min_rx_bufsize = RTE_MAX(vf_info.min_rx_bufsize, in hn_vf_info_merge()
[all …]
/dpdk/drivers/net/qede/base/
H A Decore_sriov.c2175 if (!vf_info) { in ecore_iov_vf_mbx_start_vport()
4498 if (!vf_info) in ecore_iov_copy_vf_msg()
4526 if (!vf_info) { in ecore_iov_bulletin_set_forced_mac()
4566 if (!vf_info) { in ecore_iov_bulletin_set_mac()
4648 if (!vf_info) in ecore_iov_get_vfs_opaque_fid()
4735 if (!vf_info) in ecore_iov_spoofchk_get()
4788 if (!vf_info) in ecore_iov_get_vf_req_virt_mbx_params()
4806 if (!vf_info) in ecore_iov_get_vf_reply_virt_mbx_params()
4823 if (!vf_info) in ecore_iov_get_vf_sw_mbx()
5051 if (!vf_info) in ecore_iov_get_vf_min_rate()
[all …]
/dpdk/drivers/net/ngbe/
H A Dngbe_pf.c596 struct ngbe_vf_info *vf_info = *(NGBE_DEV_VFDATA(dev)); in ngbe_set_vf_macvlan_msg() local
608 vf_info[vf].mac_count++; in ngbe_set_vf_macvlan_msg()
610 hw->mac.set_rar(hw, vf_info[vf].mac_count, in ngbe_set_vf_macvlan_msg()
613 if (vf_info[vf].mac_count) { in ngbe_set_vf_macvlan_msg()
614 hw->mac.clear_rar(hw, vf_info[vf].mac_count); in ngbe_set_vf_macvlan_msg()
615 vf_info[vf].mac_count = 0; in ngbe_set_vf_macvlan_msg()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_pf.c736 struct txgbe_vf_info *vf_info = *(TXGBE_DEV_VFDATA(dev)); in txgbe_set_vf_macvlan_msg() local
748 vf_info[vf].mac_count++; in txgbe_set_vf_macvlan_msg()
750 hw->mac.set_rar(hw, vf_info[vf].mac_count, in txgbe_set_vf_macvlan_msg()
753 if (vf_info[vf].mac_count) { in txgbe_set_vf_macvlan_msg()
754 hw->mac.clear_rar(hw, vf_info[vf].mac_count); in txgbe_set_vf_macvlan_msg()
755 vf_info[vf].mac_count = 0; in txgbe_set_vf_macvlan_msg()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_pf.c798 struct ixgbe_vf_info *vf_info = in ixgbe_set_vf_macvlan_msg() local
811 vf_info[vf].mac_count++; in ixgbe_set_vf_macvlan_msg()
813 hw->mac.ops.set_rar(hw, vf_info[vf].mac_count, in ixgbe_set_vf_macvlan_msg()
816 if (vf_info[vf].mac_count) { in ixgbe_set_vf_macvlan_msg()
817 hw->mac.ops.clear_rar(hw, vf_info[vf].mac_count); in ixgbe_set_vf_macvlan_msg()
818 vf_info[vf].mac_count = 0; in ixgbe_set_vf_macvlan_msg()