[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQJMc6LVUGG-sgQ_i7VDhy7tcnS-SyuXmkwkpuEYT-thqg@mail.gmail.com>
Date: Fri, 13 Dec 2019 15:34:59 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Stanislav Fomichev <sdf@...gle.com>
Cc: Network Development <netdev@...r.kernel.org>,
bpf <bpf@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Martin KaFai Lau <kafai@...com>
Subject: Re: [PATCH bpf-next v2 1/2] bpf: expose __sk_buff wire_len/gso_segs
to BPF_PROG_TEST_RUN
On Fri, Dec 13, 2019 at 2:30 PM Stanislav Fomichev <sdf@...gle.com> wrote:
>
> wire_len should not be less than real len and is capped by GSO_MAX_SIZE.
> gso_segs is capped by GSO_MAX_SEGS.
>
> v2:
> * set wire_len to skb->len when passed wire_len is 0 (Alexei Starovoitov)
>
> Cc: Martin KaFai Lau <kafai@...com>
> Signed-off-by: Stanislav Fomichev <sdf@...gle.com>
Now works. Applied.
Powered by blists - more mailing lists