net/e1000: fixed initialize queue number
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)")
Signed-off-by Qiming Yang <[email protected]>
--- drivers/net/e1000/em_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/e1000/em_ethdev.c +2 -2
@@ -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
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 ase1000/e1000e)")
Cc: [email protected]Signed-off-by Qiming Yang <[email protected]>
Acked-by Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi