igb: new VMDQ argument
authorChen Jing D(Mark) <jing.d.chen@intel.com>
Tue, 4 Nov 2014 10:01:25 +0000 (18:01 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 4 Nov 2014 23:21:34 +0000 (00:21 +0100)
Assign new VMDQ arguments with correct values.

Signed-off-by: Chen Jing D(Mark) <jing.d.chen@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_pmd_e1000/igb_ethdev.c

index 9e5665f..c13ea05 100644 (file)
@@ -1299,18 +1299,21 @@ eth_igb_infos_get(struct rte_eth_dev *dev,
                dev_info->max_rx_queues = 16;
                dev_info->max_tx_queues = 16;
                dev_info->max_vmdq_pools = ETH_8_POOLS;
+               dev_info->vmdq_queue_num = 16;
                break;
 
        case e1000_82580:
                dev_info->max_rx_queues = 8;
                dev_info->max_tx_queues = 8;
                dev_info->max_vmdq_pools = ETH_8_POOLS;
+               dev_info->vmdq_queue_num = 8;
                break;
 
        case e1000_i350:
                dev_info->max_rx_queues = 8;
                dev_info->max_tx_queues = 8;
                dev_info->max_vmdq_pools = ETH_8_POOLS;
+               dev_info->vmdq_queue_num = 8;
                break;
 
        case e1000_i354: