Revert "net/e1000: fix queue number initialization"
PATCH 1/1 Revert "net/e1000: fix queue number initialization"
This reverts commit c1a42d646472fd3477429bf016f682e0865b77f0.
Although the hardware supported by the driver supports 2 queues, as explained by the comment in the code, in practice only one queue per port is usable. Therefore, revert the change upping the queue count, and aligning the code with the comments in it.
Bugzilla ID: 2147
--- drivers/net/intel/e1000/em_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/intel/e1000/em_ethdev.c +2 -2
@@ -1220,8 +1220,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 =2 ; - dev_info->max_tx_queues =2 ; + dev_info->max_rx_queues =1 ; + dev_info->max_tx_queues =1 ; 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.55.0
Quoted 9 lines
Subject: [PATCH] Revert "net/e1000: fix queue number initialization"
This reverts commit
c1a42d646472fd3477429bf016f682e0865b77f0.Although the hardware supported by the driver supports 2 queues, as explained by the comment in the code, in practice only one queue per port is usable. Therefore, revert the change upping the queue count, and aligning the code with the comments in it.
Quoted 5 lines
Bugzilla ID: 2147
Fixes c1a42d646472 ("net/e1000: fix queue number initialization")Signed-off-by Bruce Richardson <[email protected]>
Quoted 24 lines
--- drivers/net/intel/e1000/em_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/intel/e1000/em_ethdev.c +2
-2@@ -1220,8 +1220,8 @@ eth_em_infos_get(struct rte_eth_dev *dev, structrte_eth_dev_info *dev_info) * To avoid it we support just one RX queue for now (no RSS). */ - dev_info->max_rx_queues =2 ; - dev_info->max_tx_queues =2 ; + dev_info->max_rx_queues =1 ; + dev_info->max_tx_queues =1 ; dev_info->rx_queue_offload_capa =
em_get_rx_queue_offloads_capa();
dev_info->rx_offload_capa=em_get_rx_port_offloads_capa()|
--
2.55.0
Quoted 36 lines · Ciara
Quoted 9 lines
Subject: [PATCH] Revert "net/e1000: fix queue number initialization"
This reverts commit
c1a42d646472fd3477429bf016f682e0865b77f0.Although the hardware supported by the driver supports 2 queues, as explained by the comment in the code, in practice only one queue per port is usable. Therefore, revert the change upping the queue count, and aligning the code with the comments in it.
Quoted 5 lines
Bugzilla ID: 2147
Fixes c1a42d646472 ("net/e1000: fix queue number initialization")Signed-off-by Bruce Richardson <[email protected]>Acked-by Ciara Loftus <[email protected]>Quoted 19 lines
--- drivers/net/intel/e1000/em_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/intel/e1000/em_ethdev.c +2
-2@@ -1220,8 +1220,8 @@ eth_em_infos_get(struct rte_eth_dev *dev, structrte_eth_dev_info *dev_info) * To avoid it we support just one RX queue for now (no RSS). */ - dev_info->max_rx_queues =2 ; - dev_info->max_tx_queues =2 ; + dev_info->max_rx_queues =1 ; + dev_info->max_tx_queues =1 ;
Quoted 4 lines
Quoted 4 lines
drivers/net/intel/e1000/em_ethdev.c +0
-0dev_info->rx_queue_offload_capa =
em_get_rx_queue_offloads_capa();
dev_info->rx_offload_capa=em_get_rx_port_offloads_capa()|
--
Trivial change, so patch applied to dpdk-next-net-intel for RC4 inclusion.
/Bruce