NetSys / NetBricks

NetBricks: A new network function framework based on Rust.
ISC License
464 stars 75 forks source link

tcp window creation_test fails, cannot alloc > 1024MB #61

Closed ncarter100 closed 7 years ago

ncarter100 commented 7 years ago

dpdk requires 1024MB Hugepages to run. But when the host has allocated exactly that amount, tcp_window.rs creation_test fails as when i == 1073741824, ReorderedBuffer::new(i + 1) asks for more bytes than we have in Hugepages.

Change the test to ask for i - 1 and then i.