Re: XDP chain using tail calls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/17/2019 03:26 PM, Toke Høiland-Jørgensen wrote:
> Radu Stoenescu <radu.stoe@xxxxxxxxx> writes:
> 
>> Hello
>>
>> I was recently reading through the XDP documentation from Cilium[1]
>> and I couldn't really wrap my head around the tail cal section.
>>
>> Is there any tutorial/code example of using this feature with XDP?
> 
> Hmm, I'm not sure there are any current examples. But you make a good
> point, we should probably have one. We're building an interactive
> tutorial here: https://github.com/xdp-project/xdp-tutorial - please feel
> free to open an issue here requesting it to be added! :)

Wrt iproute2, there's some simple examples to start here:

  https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/tree/examples/bpf

If you need more elaborate ones, you might want to check out:

  https://github.com/cilium/cilium/tree/master/bpf

Cheers,
Daniel



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux