Skip to content

Commit

Permalink
Add tx_provide to virtio eth driver
Browse files Browse the repository at this point in the history
Signed-off-by: Courtney Darville <courtneydarville94@outlook.com>
  • Loading branch information
Courtney3141 committed Sep 24, 2024
1 parent b33cef8 commit 08f0537
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/network/virtio/ethernet.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ static void handle_irq()
// or TX queue, so we check both.
rx_return();
tx_return();
tx_provide();
// We have handled the used buffer notification
regs->InterruptACK = VIRTIO_MMIO_IRQ_VQUEUE;
}
Expand Down

0 comments on commit 08f0537

Please sign in to comment.