[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190323014313.ggcgnaq4fbsudxaw@ast-mbp.dhcp.thefacebook.com>
Date: Fri, 22 Mar 2019 18:43:15 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Peter Oskolkov <posk@...gle.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org,
bpf@...r.kernel.org, Peter Oskolkov <posk@...k.io>
Subject: Re: [PATCH bpf-next 2/2] selftests: bpf: tc-bpf flow shaping with EDT
On Fri, Mar 22, 2019 at 04:40:19PM -0700, Peter Oskolkov wrote:
> Add a small test that shows how to shape a TCP flow in tc-bpf
> with EDT and ECN.
>
> Signed-off-by: Peter Oskolkov <posk@...gle.com>
...
> +ip netns exec ${NS_SRC} bash -c "timeout ${TIMEOUT} dd if=/dev/zero \
> + bs=1000 count=1000000 > /dev/tcp/${IP_DST}/9000 2>/dev/null"
just noticed this trick here and in lwt. Didn't know bash can do it. Nice!
Applied to bpf-next. thanks!
Powered by blists - more mailing lists