DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 713] Failure in latest DPDK build: Cannot init any port in AWS ENA
Date: Tue, 18 May 2021 09:43:55 +0000	[thread overview]
Message-ID: <bug-713-3@http.bugs.dpdk.org/> (raw)

https://bugs.dpdk.org/show_bug.cgi?id=713

            Bug ID: 713
           Summary: Failure in latest DPDK build: Cannot init any port in
                    AWS ENA
           Product: DPDK
           Version: 20.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: kaprakashr@gmail.com
  Target Milestone: ---

Created attachment 156
  --> https://bugs.dpdk.org/attachment.cgi?id=156&action=edit
Snapshot of issue

Issue Description
-----------------
With AWS running Ubuntu 20.04 agains latest DPDK version. We are not able to
init the ports
(More info: testpmd is able to detect and load all ports, but
dpdk_skeleton(basic packet forwarding) always fails to init ports)

Steps to reproduce
------------------
Below is the issue we are facing, while trying to start the basic dpdk packet
forwarding,
(1) The core allocation was successful
(2) The interface binding was successful
(3) Port init is failing

__SnapShot__of__issue__
=======================

ubuntu@ip-172-31-23-251:~/dpdk-21.02/build/examples$ sudo ./dpdk-skeleton -l1
-n4
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available 1048576 kB hugepages reported
EAL: Probing VFIO support...
EAL:   Invalid NUMA socket, default to 0
EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:06.0 (socket 0)
EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_ena (1d0f:ec20) device: 0000:00:07.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Port 0 MAC: 06 66 dc 11 e8 30
EAL: Error - exiting with code: 1
  Cause: Cannot init port 0

ubuntu@ip-172-31-23-251:~/dpdk-21.02/build/examples$ cd ../..

Network devices using DPDK-compatible driver
============================================
0000:00:06.0 'Elastic Network Adapter (ENA) ec20' drv=igb_uio unused=ena
0000:00:07.0 'Elastic Network Adapter (ENA) ec20' drv=igb_uio unused=ena

Network devices using kernel driver
===================================
0000:00:05.0 'Elastic Network Adapter (ENA) ec20' if=ens5 drv=ena
unused=igb_uio *Active*

-- 
You are receiving this mail because:
You are the assignee for the bug.

             reply	other threads:[~2021-05-18  9:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18  9:43 bugzilla [this message]
2021-05-18 10:54 ` [dpdk-dev] [Bug 713] Cannot init ENA port in skeleton example bugzilla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-713-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).