Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | samples/bpf: Add xdp_sample_pkts example | Toke Høiland-Jørgensen | 2018-06-27 | 1 | -0/+66 |
Add an example program showing how to sample packets from XDP using the perf event buffer. The example userspace program just prints the ethernet header for every packet sampled. Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> |