- Newest
- Most votes
- Most comments
Based on the information provided, it appears you're encountering an issue with identifying the Elastic Network Interface (ENI) on your AWS EC2 instance while trying to set up DPDK (Data Plane Development Kit) for a virtual Ethernet application.
The fact that you can't see the expected device ID (1d0f:ec20) in the lspci output suggests that either the ENI is not properly attached to your instance, or the instance type you're using may not support the specific network interface you're looking for.
To troubleshoot this issue:
-
Verify that you have indeed attached an additional network interface to your EC2 instance as mentioned in the guide.
-
Check if your instance type supports Enhanced Networking. Not all instance types support this feature, which is required for certain advanced networking capabilities.
-
Ensure that Enhanced Network Adapter (ENA) is enabled on your instance. ENA is required for advanced networking features on many modern EC2 instance types.
-
If ENA is supported but not enabled, you may need to enable it. This typically involves stopping the instance, enabling the ENA attribute, and then starting the instance again.
-
After confirming ENA is enabled, reboot your instance and check the lspci output again.
-
If you still don't see the expected device, consider checking the EC2 console to verify the status of your network interfaces and ensure they are correctly attached to your instance.
If these steps don't resolve the issue, you may need to consult AWS support or the DPDK community forums for more specific guidance related to your instance type and configuration.
Sources
Can Not Enable ENA | AWS re:Post
How to MAP ENI with ETH | AWS re:Post
answered 2 years ago
The virtual ethernet examples were tested on an f2.6xlarge instance for the Virtual Ethernet instance and a m5.2xlarge instance for the packet generator. Both of these instance types support Enhanced Networking. The bot post brings up good questions about verifying the instance type supports ENI and it is actually attached and enabled.
I noticed on some Ubuntu releases, lspci does not output the VendorID and DeviceID of the devices so the grep will not work. On these distributions, running the following will show the attached ENIs.
lspci -d 1d0f:ec20
Relevant content
asked 3 years ago
- AWS OFFICIALUpdated 9 months ago
