examples/l3fwd: share queue size variables
[dpdk.git] / drivers / net / iavf / iavf_ethdev.c
index 79397f1..d6190ac 100644 (file)
@@ -2278,6 +2278,9 @@ iavf_init_vf(struct rte_eth_dev *dev)
                }
        }
 
+       if (vf->vsi_res->num_queue_pairs > IAVF_MAX_NUM_QUEUES_DFLT)
+               vf->lv_enabled = true;
+
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) {
                if (iavf_get_supported_rxdid(adapter) != 0) {
                        PMD_INIT_LOG(ERR, "failed to do get supported rxdid");