mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices: fix documentation formatting
Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
//! virtio queue:
|
||||
//! - the packet header; and
|
||||
//! - the packet data/buffer.
|
||||
//!
|
||||
//! There is a 1:1 relation between descriptor chains and packets: the first (chain head) holds
|
||||
//! the header, and an optional second descriptor holds the data. The second descriptor is only
|
||||
//! present for data packets (VSOCK_OP_RW).
|
||||
|
||||
@@ -71,6 +71,7 @@ impl MuxerRxQ {
|
||||
/// A push will fail when:
|
||||
/// - trying to push a connection key onto an out-of-sync, or full queue; or
|
||||
/// - trying to push an RST onto a queue already full of RSTs.
|
||||
///
|
||||
/// RSTs take precedence over connections, because connections can always be queried for
|
||||
/// pending RX data later. Aside from this queue, there is no other storage for RSTs, so
|
||||
/// failing to push one means that we have to drop the packet.
|
||||
|
||||
Reference in New Issue
Block a user