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 <p...@google.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!

Reply via email to