[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8154bb99-4454-42a7-29b7-58ae8c9e57f0@gmail.com>
Date: Tue, 20 Nov 2018 16:49:36 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Vlad Dumitrescu <vladum@...gle.com>,
Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org
Cc: Eric Dumazet <edumazet@...gle.com>,
Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH bpf-next] bpf: add read/write access to skb->tstamp from
tc clsact progs
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 <vladum@...gle.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 <edumazet@...gle.com>
Powered by blists - more mailing lists