| /f-stack/dpdk/drivers/net/fm10k/base/ |
| H A D | fm10k_pf.c | 873 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 D | fm10k_type.h | 672 #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
|
| /f-stack/dpdk/drivers/net/bnxt/ |
| H A D | rte_pmd_bnxt.c | 284 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 D | bnxt_filter.c | 58 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() 152 STAILQ_FOREACH(filter, &bp->pf->vf_info[i].filter, next) { in bnxt_free_filter_mem() 154 STAILQ_REMOVE(&bp->pf->vf_info[i].filter, filter, in bnxt_free_filter_mem()
|
| H A D | bnxt_hwrm.c | 682 bp->pf->vf_info[i].vlan_table = NULL; in bnxt_hwrm_free_vf_info() 686 rte_free(bp->pf->vf_info); in bnxt_hwrm_free_vf_info() 687 bp->pf->vf_info = NULL; in bnxt_hwrm_free_vf_info() 715 if (bp->pf->vf_info) in __bnxt_hwrm_func_qcaps() 719 if (bp->pf->vf_info == NULL) { in __bnxt_hwrm_func_qcaps() 725 bp->pf->vf_info[i].fid = in __bnxt_hwrm_func_qcaps() 727 bp->pf->vf_info[i].vlan_table = in __bnxt_hwrm_func_qcaps() 737 bp->pf->vf_info[i].vlan_table); in __bnxt_hwrm_func_qcaps() 738 bp->pf->vf_info[i].vlan_as_table = in __bnxt_hwrm_func_qcaps() 2333 bp->pf->vf_info[vf].random_mac = false; in bnxt_hwrm_func_vf_mac() [all …]
|
| H A D | bnxt_cpr.c | 233 fwd_cmd = (struct input *)bp->pf->vf_info[vf_id].req_buf; in bnxt_handle_fwd_req()
|
| H A D | bnxt.h | 266 struct bnxt_child_vf_info *vf_info; member
|
| /f-stack/dpdk/drivers/net/netvsc/ |
| H A D | hn_vf.c | 174 struct rte_eth_dev_info vf_info; in hn_vf_info_merge() local 177 ret = rte_eth_dev_info_get(vf_dev->data->port_id, &vf_info); in hn_vf_info_merge() 181 info->speed_capa = vf_info.speed_capa; in hn_vf_info_merge() 182 info->default_rxportconf = vf_info.default_rxportconf; in hn_vf_info_merge() 183 info->default_txportconf = vf_info.default_txportconf; in hn_vf_info_merge() 185 info->max_rx_queues = RTE_MIN(vf_info.max_rx_queues, in hn_vf_info_merge() 187 info->rx_offload_capa &= vf_info.rx_offload_capa; in hn_vf_info_merge() 191 info->max_tx_queues = RTE_MIN(vf_info.max_tx_queues, in hn_vf_info_merge() 193 info->tx_offload_capa &= vf_info.tx_offload_capa; in hn_vf_info_merge() 197 info->min_rx_bufsize = RTE_MAX(vf_info.min_rx_bufsize, in hn_vf_info_merge() [all …]
|
| /f-stack/dpdk/drivers/net/qede/base/ |
| H A D | ecore_sriov.c | 2175 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 …]
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_pf.c | 737 struct txgbe_vf_info *vf_info = *(TXGBE_DEV_VFDATA(dev)); in txgbe_set_vf_macvlan_msg() local 749 vf_info[vf].mac_count++; in txgbe_set_vf_macvlan_msg() 751 hw->mac.set_rar(hw, vf_info[vf].mac_count, in txgbe_set_vf_macvlan_msg() 754 if (vf_info[vf].mac_count) { in txgbe_set_vf_macvlan_msg() 755 hw->mac.clear_rar(hw, vf_info[vf].mac_count); in txgbe_set_vf_macvlan_msg() 756 vf_info[vf].mac_count = 0; in txgbe_set_vf_macvlan_msg()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_pf.c | 781 struct ixgbe_vf_info *vf_info = in ixgbe_set_vf_macvlan_msg() local 794 vf_info[vf].mac_count++; in ixgbe_set_vf_macvlan_msg() 796 hw->mac.ops.set_rar(hw, vf_info[vf].mac_count, in ixgbe_set_vf_macvlan_msg() 799 if (vf_info[vf].mac_count) { in ixgbe_set_vf_macvlan_msg() 800 hw->mac.ops.clear_rar(hw, vf_info[vf].mac_count); in ixgbe_set_vf_macvlan_msg() 801 vf_info[vf].mac_count = 0; in ixgbe_set_vf_macvlan_msg()
|