mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 04:25:21 +00:00
bfa37f89c4
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>