OSDN Git Service

bpf: sockmap sample, report bytes/sec
authorJohn Fastabend <john.fastabend@gmail.com>
Mon, 22 Jan 2018 18:36:19 +0000 (10:36 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 24 Jan 2018 09:46:59 +0000 (10:46 +0100)
commit66fdd1a3cdf9bcee9790bc6b6322f0cafaf0d3f2
treec8e415febc82b0fb5f39f8ee1da1d979b04b828e
parentd7d6437acf9b4ddbbebe0a9029a30c23be141683
bpf: sockmap sample, report bytes/sec

Report bytes/sec sent as well as total bytes. Useful to get rough
idea how different configurations and usage patterns perform with
sockmap.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
samples/sockmap/sockmap_user.c