xdp-trafficgen not generating traffic to another interface in skb mode
RogerioFSR opened this issue · comments
Hello I am currently trying to generate traffic from an interface that is linked to another by the ip link tool (veth1-veth2)
They are in different namespaces. The trafficgenerator works if the receiving interface is running:
xdp-bench pass veth1
while I am doing this in the generating interface:
xdp-trafficgen udp veth2
Now if I run:
xdp-bench pass -m skb veth1
and generate traffic with the same command as above, there are no packets being transmitted. Why is this?
For reference I am running ubuntu 22.04 LTS
Additionally, in any of the modes, my trafficgenerator seems to reduce performance if I increase the threads used, what could possibly explain this behaviour?
With 1 thread:
I will give it a go once I am able to sit down in front of this again.
As for the RX/TX suggestion, it's weird, because this behavior only happens on the PASS, while on the DROP the threading scales just fine.
An update: It was indeed GRO that was disabled on both interfaces. I had assumed it would be on by default as it does for real interfaces, however seems like it is not the case.
Thank you very much.