diff options
author | Vladislav Grishenko <themiron@yandex-team.ru> | 2024-03-02 21:04:14 +0500 |
---|---|---|
committer | Mohammed HAWARI <momohawari@gmail.com> | 2024-03-04 09:29:12 +0000 |
commit | 5be4b869a450530052f31e3325dfcfee49ac2178 (patch) | |
tree | 22b30d0a8bd39412bbd005b9be776a3cffdb2be2 /src/vnet/ip/punt.api | |
parent | 4b6614030f384f7c8d847360cacf5c7f7560c6be (diff) |
bpf_trace_filter: support bpf filter optimization and dump
BPF filter w/o optimization can take x2 - x3 more instructions,
causing significant slow down in fast path.
Enable pcap optimization by default via cli and introduce api v2
with pcap optimization control, keep v1 for a while as it exists
in previous release already.
Intriduce bpf filter cli dump, similar to tcpdump -d.
Also fix memleak, function name typo, cli pcap format hint and
add related tests.
Type: improvement
Signed-off-by: Vladislav Grishenko <themiron@yandex-team.ru>
Change-Id: I92b2b519e92326f1b8e1a4dda6a3e3edc52f87ad
Diffstat (limited to 'src/vnet/ip/punt.api')
0 files changed, 0 insertions, 0 deletions