Skip to content

0.6.0

Latest
Compare
Choose a tag to compare
@Jake-Shadle Jake-Shadle released this 04 Mar 09:38
· 3 commits to main since this release

Changed

  • PR#16 changed RxRing and TxRing to use the new slab::Slab trait.
  • PR#16 moved HeapSlab to the new slab module, and made it implement slab::Slab, changing it so that items are always pushed to the front and popped from the back, unlike the previous implementation which allowed both.
  • PR#17 changed CsumOffload::Request(xdp::libc::xdp::xsk_tx_request) -> CsumOffload::Request { start: u16, offset: u16 }

Added

  • PR#16 added a new slab::StackSlab<N> fixed size ring buffer that implements slab::Slab.
  • PR#17 added various doc examples.

Fixed

  • PR#16 fixed some undefined behavior in the netlink code used to query NIC capabilities.
  • PR#16 fixed a bug where TX metadata would not be added and would return an error if the packet headroom was not large enough for the metadata, this is irrelevant.
  • PR#17 fixed the exceptional case where a UDP checksum is calculated to be 0, in which case it is set to 0xffff instead.