You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// * `data` - A mutable reference to a `Vec<u8>` containing the raw bytes that will be
154
-
/// sent to the driver when the `process_receiveq_chain` method is called.
157
+
///
158
+
/// * `data` - A mutable reference to a `Vec<u8>` containing the raw bytes that will be sent to the driver when the `process_receiveq_chain` method is called.
/// Read data from a `desc_chain` of the transmit queue and write it to the output sink.
190
194
///
191
195
/// # Arguments
192
-
/// * `desc_chain` - A mutable reference to the descriptor chain that should point to the
193
-
/// buffers that the virtio console driver has sent to the device.
196
+
///
197
+
/// * `desc_chain` - A mutable reference to the descriptor chain that should point to the buffers that the virtio console driver has sent to the device.
194
198
pubfnprocess_transmitq_chain<M>(
195
199
&mutself,
196
200
desc_chain:&mutDescriptorChain<M>,
@@ -224,9 +228,11 @@ where
224
228
/// add more.
225
229
///
226
230
/// # Arguments
227
-
/// * `desc_chain` - A mutable reference to the descriptor chain that should point to the
228
-
/// empty buffers that the virtio driver has offered the device.
231
+
///
232
+
/// * `desc_chain` - A mutable reference to the descriptor chain that should point to the empty buffers that the virtio driver has offered the device.
233
+
///
229
234
/// # Returns
235
+
///
230
236
/// The number of raw bytes written to guest memory.
/// * `max_data_size` - the maximum size allowed for the packet payload, that was negotiated between the device and the driver. Tracking issue for defining this feature in virtio-spec [here](https://github.com/oasis-tcs/virtio-spec/issues/140).
/// * `max_data_size` - the maximum size allowed for the packet payload, that was negotiated between the device and the driver. Tracking issue for defining this feature in virtio-spec [here](https://github.com/oasis-tcs/virtio-spec/issues/140).
0 commit comments