Releases: Jake-Shadle/xdp
Releases · Jake-Shadle/xdp
0.6.0
Changed
- PR#16 changed
RxRing
andTxRing
to use the newslab::Slab
trait. - PR#16 moved
HeapSlab
to the newslab
module, and made it implementslab::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 implementsslab::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.
0.5.0
Changed
- PR#15 renamed
UdpPacket
->UdpHeaders
, and changed the contents to be the actual headers that can be de/serialized from/to the packet buffer. - PR#15 moved to edition 2024.
Added
- PR#15 added various utility methods to the types in
net_types
. - PR#15 added
Debug
impls for various types gated behind the__debug
feature since they are mainly only for internal testing. - PR#15 added
miri
checking to CI, resolving #13.
Fixed
- PR#15 fixed an issue where UDP checksum calculation could be incorrect depending on the input data.
Removed
0.4.0
Changed
- PR#11 fixed documentation, but also moved some types and constants around in the
libc
module. - PR#14 changed
Packet::array_at_offset
to take a&mut [u8; N]
rather than return it.
Fixed
- PR#14 fixed a bug where inserting past the end of the tail would not return an
Err
.
Added
- PR#14 ungated the
Debug
impls forXdpFeatures
,XdpRxMetadata
,XdpTxMetadata
,XdpZeroCopy
, andNetdevCapabilities
.