From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CE83DA04A2 for ; Sat, 18 Dec 2021 00:13:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5619C4013F; Sat, 18 Dec 2021 00:13:48 +0100 (CET) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mails.dpdk.org (Postfix) with ESMTP id DA2EE40040 for ; Sat, 18 Dec 2021 00:13:46 +0100 (CET) Received: by mail-wr1-f49.google.com with SMTP id j9so6881587wrc.0 for ; Fri, 17 Dec 2021 15:13:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=oWtdAL/PX4G6PR/QvCJ52u6BHHeMgHM+adGqE7ClbCw=; b=nkMMgfvIzN/9IN0f5iOFeTFET/Q1BVx9A3x3aIMVq3Me+uRtG3LWSs1tvrctZbCyqn SsloepAWPUgvsOwxf0EQxR8zgl1OfcM+fnmuSBnLV6BPw+8pctpdlr9qp5kuDYX0+HI1 LMubiS5gcDqYT0ygnR4YtTSxhqDYW87cKdC+NvZtZiQJ2y9B+reMLcGr7x/Hm5bT/T/p dTzvtPxEEFGWaxyvV5HLHrgyYBFVx/OdfGE8nhj2yWEJClZSWkblYVdbd0YdbujzoXju 2LILU1Z99GT5FlpwVS+jZ8f2o6W8wUZO2HZc2w+v93GSSyZHsgauQnfzXMmnvp/dQmze 91bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=oWtdAL/PX4G6PR/QvCJ52u6BHHeMgHM+adGqE7ClbCw=; b=74U0BF1A0gZTuaFMMT2vuJUM6nl0/vaX4YPU2aU6qugLAjLkJdGFJVIfvpyDmiGxyA R7gnktolniLI+sbU5M+og7YWp9KjejOSRkGMpWpszdVwtPi/60RAxIAsX7jc+WfoPhlH 0JfHL06Igjy3oDjwd4KfneIpr35gxuNg2ScSo8ENut7rO0Pio2X79C+GfKx8jsz1EXPF waCb1U9Bz+AFjAA600+N8mVTATdSPHGAiCf3Ub2QssYCYxukiEE4Cz+D8tPLeqM8E58A KeoYvfxKY5vtvwFYn8wa9Mcl+DiXYisnmGKLPmf2B4L6zOtWLylqduryTVKHE/Gskkbn Liqg== X-Gm-Message-State: AOAM532hDllaD86S1N4pVSD13BPZ2x54nZkn0ymZxAAOn2uTUsRxGstA YZkgc4ldXIdLeDIyHFjS/Z3uZTbXODvG7Cmwqb5lJpMeBfg= X-Google-Smtp-Source: ABdhPJwLO9Wv3d+mVFxXbx4CzTdrMqS2mqLe4OG4m2MhmafUdLk3aJK1YMhBHdNqYZ93OyZBuNjimka/OI+E6QJy7TY= X-Received: by 2002:adf:d1e2:: with SMTP id g2mr4315471wrd.179.1639782826252; Fri, 17 Dec 2021 15:13:46 -0800 (PST) MIME-Version: 1.0 From: fwefew 4t4tg <7532yahoo@gmail.com> Date: Fri, 17 Dec 2021 18:13:35 -0500 Message-ID: Subject: solved: dpdk-devbind.py fail on AWS c5n.metal instance running 'Amazon Linux 2 Kernel 5.10 To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000de1b2b05d35fb003" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --000000000000de1b2b05d35fb003 Content-Type: text/plain; charset="UTF-8" An earlier email sent today to this distribution incorrectly claimed that dpdk-devbind.py was not working on Amazon Linux 2 Kernel 5.10. This was my error. IOMMU was not turned on. I thought it default ON; it does not even for c5n.metal instances. The correct steps are: * follow https://doc.dpdk.org/guides/nics/ena.html under "On AWS, the metal instances are supporting IOMMU for both arm64 and x86_64 hosts" to enable IOMMU by modifying grub boot file. * follow instructions at https://github.com/amzn/amzn-drivers/blob/master/userspace/dpdk/README.md to update the vfio-pci driver. dpdk-bind will then work: Network devices using DPDK-compatible driver ============================================ 0000:7f:00.0 'Elastic Network Adapter (ENA) ec20' drv=vfio-pci unused=ena --000000000000de1b2b05d35fb003 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
An earlier email sent today to this distribution incorrect= ly claimed that=C2=A0dpdk-devbind.py was not working on=C2=A0Amazon Linux 2= Kernel 5.10.

This was my error. IOMMU was not turned on. I thought = it default ON; it does not even for c5n.metal instances.

The correct= steps are:

* follow https://doc.dpdk.org/guides/nics/ena.html under "On AWS, th= e metal instances are supporting IOMMU for both arm64 and x86_64 hosts"= ; to enable=C2=A0IOMMU by modifying grub boot file.

* follow instruc= tions at=C2=A0https://github.com/amzn/amzn-drivers/blob/master/u= serspace/dpdk/README.md

to update the vfio-pci driver.

<= /div>
dpdk-bind will then work:

= Network devices using DPDK-compatible driver

= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

= 0000:7f:00.0 'Elastic Network Adapter (ENA) ec20' drv=3Dvfio-pci un= used=3Dena

--000000000000de1b2b05d35fb003--