Skip to content

Commit 88167c7

Browse files
committed
feat: always parse RX descriptors
Signed-off-by: Egor Lazarchuk <[email protected]>
1 parent 35b9fa7 commit 88167c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/vmm/src/devices/virtio/net/device.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,7 @@ impl Net {
467467
return Ok(());
468468
}
469469

470-
if self.rx_buffer.is_empty() {
471-
self.parse_rx_descriptors();
472-
}
470+
self.parse_rx_descriptors();
473471

474472
loop {
475473
match self.read_from_mmds_or_tap() {

0 commit comments

Comments
 (0)