cloud-hypervisor/virtio-devices
Bo Chen bfa37f89c4 virtio-devices: net: Refactor 'handle_tx_event'
This patch moves out the actual processing on the TX queue from the
`handle_tx_event()` function into a separate function,
e.g. `process_tx()`. This allows us to resume the TX queue processing
without reading from the TX queue EventFd, which is needed for rate
limiting support.

No functional change.

Signed-off-by: Bo Chen <chen.bo@intel.com>
2021-03-30 19:47:43 +02:00
..
src virtio-devices: net: Refactor 'handle_tx_event' 2021-03-30 19:47:43 +02:00
Cargo.toml virtio-devices: Move the 'rate_limiter' module to its own crate 2021-03-30 19:47:43 +02:00