Hi all, I attach an XDP prog(SKB mode) to host net device(enp0s9) and the prog will redirect packet to veth device. If there's only veth device, I can redirect packet into netns through veth device in host, but if the veth device is attached in a bridge device, the redirect will fail(bpf_redirect_map return XDP_REDIRECT but no packet found in netns).
My sample code is here ( https://gist.github.com/ChenLingPeng/dcb8d03eabaf10c8458da76e73496c2b ) The network topo shows below note that if a remove br1, I can redirect successfully. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1772): https://lists.iovisor.org/g/iovisor-dev/message/1772 Mute This Topic: https://lists.iovisor.org/mt/32778941/21656 Group Owner: [email protected] Unsubscribe: https://lists.iovisor.org/g/iovisor-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
