tcpdump mailing list archives
Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle
From: Denis Ovsienko <denis () ovsienko info>
Date: Tue, 8 Jul 2025 15:58:58 +0100
On Mon, 7 Jul 2025 13:26:25 -0700 Guy Harris <gharris () sonic net> wrote:
There could probably be a bunch of optimizations done to programs in that IR.
The parse tree, as a means of data handover between layers, would be an
encoding. To make it possible to test the algorithms that
produce/consume this encoding, it would be necessary to have means of
serializing/deserializing the parse tree using some text form, then the
following test types would become possible:
1. Does this filter expression translate to this parse tree?
2. Does this parse tree become that parse tree after this optimisation?
3. Does this parse tree become this BPF program after this translation?
A possible way to approach this could be to write some parse trees down
first, and then to see what algorithms could prop it on both sides, and
how much work it would mean.
Also it would be very helpful to finish a major piece of work before
starting this.
--
Denis Ovsienko
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org
To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Current thread:
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle, (continued)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Denis Ovsienko (Jul 07)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Guy Harris (Jul 07)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Denis Ovsienko (Jul 08)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Guy Harris (Jul 08)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Denis Ovsienko (Jul 07)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Stephen Hemminger via tcpdump-workers (Jul 08)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Guy Harris (Jul 04)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Michael Richardson (Jul 04)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Denis Ovsienko (Jul 07)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Guy Harris (Jul 07)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Denis Ovsienko (Jul 08)
- Re: Setting BPF_SPECIAL_VLAN_HANDLING on a "dead" handle Guy Harris (Jul 08)
