diff options
author | John Fastabend <john.fastabend@gmail.com> | 2018-03-18 12:57:05 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-03-19 21:14:38 +0100 |
commit | 8c05dbf04b2882c3c0bc43fe7668c720210877f3 (patch) | |
tree | b13d4d3116498ab38c1493cdeb21254313c2f94d /include/net/geneve.h | |
parent | 312fc2b4c82e96a48cb2d0da2bd4816eb253c499 (diff) | |
download | blackbird-obmc-linux-8c05dbf04b2882c3c0bc43fe7668c720210877f3.tar.gz blackbird-obmc-linux-8c05dbf04b2882c3c0bc43fe7668c720210877f3.zip |
net: generalize sk_alloc_sg to work with scatterlist rings
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 code paths.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'include/net/geneve.h')
0 files changed, 0 insertions, 0 deletions