On Thu, 25 Jan 2018 23:15:17 +0100
Post by Toke HÃ¸iland-JÃ¸rgensen Post by Dave Taht
Neat! The packet tapping part could probably be implemented in XDP to
avoid the DPDK space heater... ;)
I was thinking the exact same thing ;-)
It should be fairly simple to write a XDP/eBPF program, that timestamp
via bpf_ktime_get_ns() and queue the events via a perf ring-buffer via
bpf_perf_event_output() (the only kernel example is ). And a
userspace side tool that reads these perf_event's.
Cc. email@example.com hoping someone want to give it a go?
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat