From 467f83c6edf747479994ec46495b9aedd6647727 Mon Sep 17 00:00:00 2001 From: "Chen Jing D(Mark)" Date: Tue, 4 Nov 2014 18:01:25 +0800 Subject: [PATCH] igb: new VMDQ argument Assign new VMDQ arguments with correct values. Signed-off-by: Chen Jing D(Mark) Acked-by: Konstantin Ananyev --- lib/librte_pmd_e1000/igb_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_pmd_e1000/igb_ethdev.c b/lib/librte_pmd_e1000/igb_ethdev.c index 9e5665feb0..c13ea050d0 100644 --- a/lib/librte_pmd_e1000/igb_ethdev.c +++ b/lib/librte_pmd_e1000/igb_ethdev.c @@ -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: -- 2.20.1