HomeFreeBSD

LinuxKPI: skbuff: switch to using uma for the skb

Description

LinuxKPI: skbuff: switch to using uma for the skb

Split allocating the skb header and its payload data memory into skb
header from uma and the data to whatever we used to do for it.

This is a first step which should allow us to one day at least in the
RX path take the data, attach it to an mbuf and send it up the stack
and just free the skbuff header.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 43ffd0f5c0f91237a37736f1d40045b0052b775b)

Details

Provenance
bzAuthored on Apr 22 2025, 8:41 PM
Parents
rG7f4088f4286c: LinuxKPI: skbuff: remove _alloc_len field
Branches
Unknown
Tags
Unknown