@@ -134,15 +134,15 @@ pub enum CsumOffload {
134134/// ```
135135///
136136/// 1. The first ([`libc::xdp::XDP_PACKET_HEADROOM`]) segment of the buffer is
137- /// reserved for kernel usage
137+ /// reserved for kernel usage
138138/// 1. `headroom` is an optional segment that can be configured on the [`crate::umem::UmemCfgBuilder::head_room`]
139- /// the packet is allocated from which the kernel will not fill with data,
140- /// allowing the packet to grow downwards (eg. IPv4 -> IPv6) without copying
141- /// bytes
139+ /// the packet is allocated from which the kernel will not fill with data,
140+ /// allowing the packet to grow downwards (eg. IPv4 -> IPv6) without copying
141+ /// bytes
142142/// 1. The next segment is the actual packet contents as received by the NIC or
143- /// sent by userspace
143+ /// sent by userspace
144144/// 1. The last segment is the uninitialized portion of the chunk occupied by this
145- /// packet, up to the size configured on the owning [`crate::Umem`].
145+ /// packet, up to the size configured on the owning [`crate::Umem`].
146146///
147147/// The packet portion of the packet is then composed of the various layers/data,
148148/// for example an IPv4 UDP packet:
@@ -725,11 +725,11 @@ impl Packet {
725725 /// and/or [`crate::umem::UmemCfgBuilder::tx_timestamp`] were true
726726 ///
727727 /// - If `csum` is `CsumOffload::Request`, this will request that the Layer 4
728- /// checksum computation be offload to the NIC before transmission. Note that
729- /// this requires that the IP pseudo header checksum be calculated and stored
730- /// in the same location.
728+ /// checksum computation be offload to the NIC before transmission. Note that
729+ /// this requires that the IP pseudo header checksum be calculated and stored
730+ /// in the same location.
731731 /// - If `request_timestamp` is true, requests that the NIC write the timestamp
732- /// the packet was transmitted. This can be retrieved using [`crate::CompletionRing::dequeue_with_timestamps`]
732+ /// the packet was transmitted. This can be retrieved using [`crate::CompletionRing::dequeue_with_timestamps`]
733733 #[ inline]
734734 pub fn set_tx_metadata (
735735 & mut self ,
0 commit comments