Netronome / bpf-samples

Sample BPF offload apps.
Other
97 stars 32 forks source link

Could l4 load balance use XDP_REDIRECT? #2

Open kwjjyn opened 5 years ago

kwjjyn commented 5 years ago

I found that the xdp return code of l4lb_xdp.c finally is XDP_TX. However , The XDP_TX return code only support to send the packets to the same NIC card .

XDP_REDIRECT can send the received packets to another NIC . So if there any possibility to implement this load balance using XDP_REDIRECT ?

kuba-moo commented 5 years ago

Unfortunately our offload does not support XDP_REDIRECT and therefore we didn't have the motivation to implement it in the samples, but we will happily take patches :)

paglySalva commented 3 years ago

Hi everyone,

Has there been any news with this? I would like to know if your roadmap includes the XDP_REDIRECT offload implementation. BTW, is it possible to use it in XDP native mode (using the nfp driver)?

Thanks