Thanks for the classification.
On Tue, Oct 3, 2017 at 11:30 PM, Alexei Starovoitov <
alexei.starovoi...@gmail.com> wrote:
> On Tue, Oct 3, 2017 at 9:26 PM, zhiting zhu via iovisor-dev
> wrote:
> > Hi,
> >
> > What's the use case for backward jump of ebpf? The
On Tue, Oct 3, 2017 at 9:26 PM, zhiting zhu via iovisor-dev
wrote:
> Hi,
>
> What's the use case for backward jump of ebpf? The verifier will reject the
> backward edge which makes the backward jump not useful. Am I missing
> something?
>
> Also, from what I read
Hi,
What's the use case for backward jump of ebpf? The verifier will reject the
backward edge which makes the backward jump not useful. Am I missing
something?
Also, from what I read online, some slides said ebpf allows backward jump
and some said doesn't. From the bytecode, it seems it allows
Hi, Linux 4.11 has LPM trie support exactly for this [1]. I'm using
regular hashmaps for now with a fixed subnet length step (e.g. for
IPv4, I'm looking up /24, /16) for steering purposes. This however
might not work in your use case, especially if you're not in control
of the block subdivision.