johanfirdi
johanfirdi
Firstly, you should use XDP_PASS to pass the packet to higher stack. After that, using tc mirred, and use sub module pedit to change "correct" destination mac address, unless you...
working in two interfaces (untagged packet/physical interface), I can ping from host to another host between router not working if first interface non vlan/physical int, another is vlan interface), i...
I think in xdp_router secion, need to check packet comes in is vlan protocol or not. If so, strip off / pop of vlan header first, and then doing fib...
Dear tohojo, I look at in xdp samples in github.com/torvalds/linux/blob/master/samples/bpf/xdp_router_ipv4_kern.c . there's vlan parsing packet (begin line 129), and continue to process the inner packet (begin line 140), and finally...