Re: [bpf-next PATCH 04/16] net: generalize sk_alloc_sg to work with scatterlist rings

2018-03-05 Thread David Miller
From: John Fastabend Date: Mon, 05 Mar 2018 11:51:17 -0800 > The current implementation of sk_alloc_sg expects scatterlist to always > start at entry 0 and complete at entry MAX_SKB_FRAGS. > > Future patches will want to support starting at arbitrary offset into >

[bpf-next PATCH 04/16] net: generalize sk_alloc_sg to work with scatterlist rings

2018-03-05 Thread John Fastabend
The current implementation of sk_alloc_sg expects scatterlist to always start at entry 0 and complete at entry MAX_SKB_FRAGS. Future patches will want to support starting at arbitrary offset into scatterlist so add an additional sg_start parameters and then default to the current values in TLS