Skip to contentSkip to conversation

net/e1000: fixed initialize queue number

PATCH Applied Qiming Yang 2 participants 2 messages Jun 13, 2023 – Jun 15, 2023 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/e1000: fixed initialize queue number

The initialized queue number is not match the description in HW datasheet.

Fixes 805803445a02 ("e1000: support EM devices (also known as e1000/e1000e)")
---
 drivers/net/e1000/em_ethdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/e1000/em_ethdev.c +2 -2
index 0afedcd00c..c5a4dec693 100644
@@ -1088,8 +1088,8 @@ eth_em_infos_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
 	 * To avoid it we support just one RX queue for now (no RSS).
 	 */
 
-	dev_info->max_rx_queues = 1;
-	dev_info->max_tx_queues = 1;
+	dev_info->max_rx_queues = 2;
+	dev_info->max_tx_queues = 2;
 
 	dev_info->rx_queue_offload_capa = em_get_rx_queue_offloads_capa();
 	dev_info->rx_offload_capa = em_get_rx_port_offloads_capa() |
Signature · 1 line
2.25.1
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 10 lines

-----Original Message-----
From: Qiming Yang <[email protected]>
Sent: Tuesday, June 13, 2023 3:52 PM
To: [email protected]
Cc: Su, Simei <[email protected]>; Yang, Qiming <[email protected]>; [email protected]
Subject: [PATCH] net/e1000: fixed initialize queue number

Quoted 7 lines

The initialized queue number is not match the description in HW datasheet.

Fixes 805803445a02 ("e1000: support EM devices (also known as

e1000/e1000e)")
Cc: [email protected]

Applied to dpdk-next-net-intel.

Thanks
Qi