Re: traffic redirection and tapping

David Ahern <[email protected]> Fri, 30 Sep 2022 08:35:10 -0600
Newsgroups org.kernel.vger.xdp-newbies
Message-ID <[email protected]>
On 9/29/22 7:56 AM, Henning Fehrmann wrote:
> Is there any chance to improve the ringbuffer output?
> Or could I get the packets onto disks in any other way using bpf helper
> functions? Do I need to gather more or other information?

you can't do any packet copies in the datapath, and right now there is
no other option - perf buffers and bpf ringbuffer both require copies.

To maintain data rate you need a second server and span the port at the
switch.