Closed jeff-2 closed 4 years ago
Hi @jeff-2 ,
I haven't experienced your issue, I will try to reproduce ASAP. Meanwhile, can you try adding another interface to the instance (eth1) and try running the XDP pass program their. This will prevent you from getting disconnected while attempting to run it.
Hi @jeff-2 ,
Sorry for not updating earlier. This patch should fix your issue. It would be part of the next driver release in a few weeks.
The patch can be applied by running git am 0001-Bug-Fix-account-for-XDP-headroom-in-packet-s-page-of.patch.txt
in the git repository of this driver.
Please update if it solves your issue
Thanks @ShayAgros - I can confirm that patch resolves the issue for me.
Hi @jeff-2,
We've just released driver version 2.2.8g with the fix for this issue. Closing this issue.
Cheers, Arthur
Hi, I have been testing out the recently added XDP support but have had issues trying to use XDP_PASS. Skimming over the driver code it seems like it should be supported, and perhaps the issue is in my configuration. I couldn't find any ENA specific examples/recommendations for XDP configuration, so maybe I'm missing something. This is my test example:
Steps to reproduce:
Expected result: All packets are passed up to normal network stack for processing Actual result: Connectivity to instance is lost, instance reachability check fails
I have had success loading an XDP program and using XDP_TX. Is XDP_PASS indeed a supported action, and if so can you provide any recommendations for configuring XDP on ec2 instances?