bpf_redirect and xdpgeneric

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


Weird question:

Should there be a reason for me to expect bpf_redirect to fail when
redirecting, in XDP, to the egress of an xdpgeneric device?

I'm redirecting from an XDP program on a tap device, out the igb eno1
to the Internet (and fixing MAC addresses). I can redirect to other
tap devices, but not to eno1.

I was going to try with bpf_redirect_map, but I'm having tooling
trouble there (I can't get iproute2 to load a BPF object file with a
pinned DEVMAP; it complains that the flags don't match). But for my
purposes, bpf_redirect would be fine.

(My testbed is 5.6, for whatever that's worth).

This mailing list is fantastic and you are all excellent. Thanks
whether or not anyone has any thoughts.

Thomas H. Ptacek

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

  Powered by Linux