All of lore.kernel.org
 help / color / mirror / Atom feed
* bpf_redirect and xdpgeneric
@ 2020-09-18  5:04 Thomas Ptacek
  2020-09-18 10:21 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Ptacek @ 2020-09-18  5:04 UTC (permalink / raw)
  To: xdp-newbies

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-09-28 18:14 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-18  5:04 bpf_redirect and xdpgeneric Thomas Ptacek
2020-09-18 10:21 ` Toke Høiland-Jørgensen
2020-09-18 18:42   ` Thomas Ptacek
2020-09-18 20:27     ` David Ahern
2020-09-18 20:34       ` Thomas Ptacek
2020-09-28 15:24       ` Jesper Dangaard Brouer
2020-09-28 15:24         ` [Intel-wired-lan] " Jesper Dangaard Brouer
2020-09-28 16:20         ` Sven Auhagen
2020-09-28 16:20           ` [Intel-wired-lan] " Sven Auhagen
2020-09-28 18:04           ` Nguyen, Anthony L
2020-09-28 18:04             ` Nguyen, Anthony L
2020-09-28 18:14             ` Sven Auhagen
2020-09-28 18:14               ` Sven Auhagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.