Skip to content

Commit

Permalink
net/e1000: fix queue number initialization
Browse files Browse the repository at this point in the history
[ upstream commit c1a42d646472fd3477429bf016f682e0865b77f0 ]

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

Fixes: 8058034 ("e1000: support EM devices (also known as e1000/e1000e)")

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
  • Loading branch information
qimingya authored and kevintraynor committed Jul 12, 2023
1 parent ce8b351 commit b36c26a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/e1000/em_ethdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,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() |
Expand Down

0 comments on commit b36c26a

Please sign in to comment.