Re: AF_XDP fib lookup

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

 



Den mån 4 feb. 2019 kl 12:13 skrev Pavel Popa <pashinho1990@xxxxxxxxx>:
>
> Hi all,
>
> Is there any way to perform routing in user-space with AF_XDP without
> too much hassle? The only way I see at the moment is to replicate in
> user-space the kernel's FIB state via RTNL events, and performing
> afterwards the IP routing lookup using some LPM algorithm
> implementation. Is there an "easier" way for doing this?
>

Are you sure that AF_XDP is the right approach? If you'd like to use
internal kernel structures, like the FIB, XDP is probably the right
tool.

What is your use-case? Could it be that XDP is a better fit?

Thanks,
Björn


> Thank you




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

  Powered by Linux