On Mon, Jan 06, 2020 at 02:17:13PM +1100, Duncan Roe wrote: > This patch offers a faster alternative / replacement function to pktb_alloc(). > > pktb_make() is a copy of the first part of pktb_alloc() modified to use a > supplied buffer rather than calloc() one. It then calls the second part of > pktb_alloc() which is modified to be a static function. > > Can't think of a use case where one would choose to use pktb_alloc over > pktb_make. > In a furure documentation update, might relegate pktb_alloc and pktb_free to > "other functions". This is very useful. Would you explore something looking similar to what I'm attaching? Warning: Compile tested only :-) Thanks.