mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 00:43:24 +00:00
Reuse Rxbuffer and update qemu_args.sh
for vsock
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
878e8a88f4
commit
9f67fcdc58
@ -127,6 +127,11 @@ impl DmaPool {
|
||||
fn num_pages(&self) -> usize {
|
||||
self.all_pages.lock_irq_disabled().len()
|
||||
}
|
||||
|
||||
/// Return segment size in pool
|
||||
pub fn segment_size(&self) -> usize {
|
||||
self.segment_size
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
Reference in New Issue
Block a user