Skip to content

Commit

Permalink
net/gve: Update TX queue state
Browse files Browse the repository at this point in the history
Fixing Typo in updating the TX queue state

Signed-off-by: Tathagat Priyadarshi <tathagat.dpdk@gmail.com>
Signed-off-by: 0-day Robot <robot@bytheb.org>
  • Loading branch information
priyadarshitathagat authored and ovsrobot committed Jul 22, 2024
1 parent fa8d2f7 commit 33a357c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/net/gve/gve_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ gve_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)

rte_write32(rte_cpu_to_be_32(GVE_IRQ_MASK), txq->ntfy_addr);

dev->data->rx_queue_state[tx_queue_id] = RTE_ETH_QUEUE_STATE_STARTED;
dev->data->tx_queue_state[tx_queue_id] = RTE_ETH_QUEUE_STATE_STARTED;

return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/gve/gve_tx_dqo.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ gve_tx_queue_start_dqo(struct rte_eth_dev *dev, uint16_t tx_queue_id)

rte_write32(rte_cpu_to_be_32(GVE_IRQ_MASK), txq->ntfy_addr);

dev->data->rx_queue_state[tx_queue_id] = RTE_ETH_QUEUE_STATE_STARTED;
dev->data->tx_queue_state[tx_queue_id] = RTE_ETH_QUEUE_STATE_STARTED;

return 0;
}
Expand Down

0 comments on commit 33a357c

Please sign in to comment.