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

2019-01-24 Thread Daniel Borkmann
On 01/23/2019 06:22 PM, Eric Dumazet wrote: > This adds the ability to read gso_segs from a BPF program. > > v3: Use BPF_REG_AX instead of BPF_REG_TMP for the temporary register, > as suggested by Martin. > > v2: refined Eddie Hao patch to address Alexei feedback. > > Signed-off-by: Eric Dum

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

2019-01-23 Thread Martin Lau
On Wed, Jan 23, 2019 at 09:22:27AM -0800, Eric Dumazet wrote: > This adds the ability to read gso_segs from a BPF program. Acked-by: Martin KaFai Lau

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

2019-01-23 Thread Eric Dumazet
This adds the ability to read gso_segs from a BPF program. v3: Use BPF_REG_AX instead of BPF_REG_TMP for the temporary register, as suggested by Martin. v2: refined Eddie Hao patch to address Alexei feedback. Signed-off-by: Eric Dumazet Cc: Eddie Hao Cc: Martin KaFai Lau --- include/uapi