On 11/20/2018 04:18 PM, Vlad Dumitrescu wrote: > This could be used to rate limit egress traffic in concert with a qdisc > which supports Earliest Departure Time, such as FQ. > > Signed-off-by: Vlad Dumitrescu <vla...@google.com> > --- > include/uapi/linux/bpf.h | 1 + > net/core/filter.c | 26 +++++++++++++++++++++ > tools/include/uapi/linux/bpf.h | 1 + > tools/testing/selftests/bpf/test_verifier.c | 4 ++++ > 4 files changed, 32 insertions(+) > Awesome, thanks Vlad Note that this also can be used to implement a delay (a la netem). Acked-by: Eric Dumazet <eduma...@google.com>
- [PATCH bpf-next] bpf: add read/write access to skb->... Vlad Dumitrescu
- Re: [PATCH bpf-next] bpf: add read/write access to... Eric Dumazet
- Re: [PATCH bpf-next] bpf: add read/write acces... Willem de Bruijn
- Re: [PATCH bpf-next] bpf: add read/write access to... Alexei Starovoitov
- Re: [PATCH bpf-next] bpf: add read/write acces... Eric Dumazet
- Re: [PATCH bpf-next] bpf: add read/write a... Vlad Dumitrescu
- Re: [PATCH bpf-next] bpf: add read/wri... Alexei Starovoitov
- Re: [PATCH bpf-next] bpf: add read/wri... Daniel Borkmann
- [PATCH v2 bpf-next] bpf: add skb->tstamp r/w ac... Vlad Dumitrescu
- Re: [PATCH v2 bpf-next] bpf: add skb->tstam... Alexei Starovoitov