> 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.
> 
> Bugzilla ID: 2147
> Fixes: c1a42d646472 ("net/e1000: fix queue number initialization")
> Cc: [email protected]
> 
> Signed-off-by: Bruce Richardson <[email protected]>

Acked-by: Ciara Loftus <[email protected]>

> ---
>  drivers/net/intel/e1000/em_ethdev.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/intel/e1000/em_ethdev.c
> b/drivers/net/intel/e1000/em_ethdev.c
> index be830881db..80029aa87b 100644
> --- a/drivers/net/intel/e1000/em_ethdev.c
> +++ b/drivers/net/intel/e1000/em_ethdev.c
> @@ -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() |
> --
> 2.55.0

Reply via email to