Re: [PATCH v2 bpf-next] bpf: allow BPF programs access skb_shared_info->gso_segs field

2019-01-23 Thread Eric Dumazet
On Wed, Jan 23, 2019 at 3:55 AM Daniel Borkmann wrote: > > On 01/18/2019 07:42 PM, Martin Lau wrote: > > On Thu, Jan 17, 2019 at 03:31:57PM -0800, Eric Dumazet wrote: > >> This adds the ability to read gso_segs from a BPF program. > >> > >> v2: refined Eddie Hao patch to address Alexei feedback. >

Re: [PATCH v2 bpf-next] bpf: allow BPF programs access skb_shared_info->gso_segs field

2019-01-23 Thread Daniel Borkmann
On 01/18/2019 07:42 PM, Martin Lau wrote: > On Thu, Jan 17, 2019 at 03:31:57PM -0800, Eric Dumazet wrote: >> This adds the ability to read gso_segs from a BPF program. >> >> v2: refined Eddie Hao patch to address Alexei feedback. >> >> Signed-off-by: Eric Dumazet >> Cc: Eddie Hao >> Cc: Vlad Dumi

Re: [PATCH v2 bpf-next] bpf: allow BPF programs access skb_shared_info->gso_segs field

2019-01-18 Thread Martin Lau
On Thu, Jan 17, 2019 at 03:31:57PM -0800, Eric Dumazet wrote: > This adds the ability to read gso_segs from a BPF program. > > v2: refined Eddie Hao patch to address Alexei feedback. > > Signed-off-by: Eric Dumazet > Cc: Eddie Hao > Cc: Vlad Dumitrescu > Cc: Xiaotian Pei > Cc: Yuchung Cheng

[PATCH v2 bpf-next] bpf: allow BPF programs access skb_shared_info->gso_segs field

2019-01-17 Thread Eric Dumazet
This adds the ability to read gso_segs from a BPF program. v2: refined Eddie Hao patch to address Alexei feedback. Signed-off-by: Eric Dumazet Cc: Eddie Hao Cc: Vlad Dumitrescu Cc: Xiaotian Pei Cc: Yuchung Cheng --- include/uapi/linux/bpf.h| 1 + net/core/filter.c