pub const PACKET_BUF_ALIGN: usize = 1;Expand description
Alignment of the buffer in a PacketBuf, in bytes.
DMA engines often require the buffers they write to be aligned. Raising this
also rounds PACKET_BUF_SIZE up to a multiple of it, since such engines
write whole bus words past the end of the frame.
Can only be set with cargo features, not with an environment variable. If several are enabled, the highest wins.
Supported values: 1, 2, 4, 8, 16, 32.
Default: 1.