On Thu, May 30, 2019 at 05:40 AM, Mauricio Vasquez wrote:
Why should I attach xdp in SKB mode when using veth interface, is
there any docs for that? Is it because I use DEVMAP?
You're using veth interfaces, in this case you have to attach
the program in SKB mode, to do it set flags = 1 << 1.
In my test, I can attach my xdp program in driver mode using veth
and just works as my expect when I just return XDP_DROP or
My kerner version is "5.0.0-15"(ubuntu/disco64) which support veth
xdp in driver mode. https://github.com/xdp-project/xdp-project/issues/23
And when I test my program in SKB mode, the connection also can't
I am sorry, I was not clear enough. If you attach the program in
SKB mode you won't need to attach any XDP program on vbox1 and
vbox2, on the other hand, if you use DRV mode you need to have an
XDP pass program attached to vbox1 and vbox2 (as indicated by