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 008F642FED for ; Sun, 6 Aug 2023 17:33:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63F7C4068E; Sun, 6 Aug 2023 17:33:57 +0200 (CEST) Received: from mail-oo1-f44.google.com (mail-oo1-f44.google.com [209.85.161.44]) by mails.dpdk.org (Postfix) with ESMTP id 4EC3D40151 for ; Sun, 6 Aug 2023 17:33:56 +0200 (CEST) Received: by mail-oo1-f44.google.com with SMTP id 006d021491bc7-56cc3453e31so2431147eaf.1 for ; Sun, 06 Aug 2023 08:33:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691336035; x=1691940835; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=4QzDJw6Ix2tCQOYhW+nufjwDEuqpXhtfZVRWhe2j2LU=; b=rL+mp4fEnb/M2gNGZt6Fio3ZBWilcxv3zgskxmslXdZTzy/99Od9dwN1IAZeQRhPFG nWPifMHKbBjTHKPxApRZvxkVhulUlFHy5pxfYKcCQ3410MwCgf6KdQy32epe36Ovhcl1 f2sgF0zhlFzHlL2pbA/qVWdG5DsI0PEBacjyvs5UjSlTm02GhQC/WI2YLsi6aAB/tLNt KCJXJBMdeGuq/MB20UpYXYHsqFJ1ZmejO4rGVo2CQVP5ZFkPYROJ9sDYSL7K5eiKIc4E RpNc0x1gSbFZoziZKQlLkgQ29GzDxFbFgTq1GxkTWCb9W7erHvd+VC5QcjFNeeNr59fp s5vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691336035; x=1691940835; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4QzDJw6Ix2tCQOYhW+nufjwDEuqpXhtfZVRWhe2j2LU=; b=L9/koOvkONyI8tAHGiOmu7VBVc6Hku6Pb4TDo75WebmXEqE6OYm5o4lvZJvt5jRKi+ TC842NQQzPDjVqdczot3WdiySHy1tRKdfy1SnKjjfQoD0JK4mcympP9qX5jyyz9ZYuSz vD+xmfnk7/XMdGBDvkpdJKvfb59cCKttlpqA+axWGWtHrIN6RaqkPFrW/QhhqO+I5Rgi i5bPjyLQ1b2WQSmB2zXtFVWAVEmRb9HaDdLu+C/nlKtkM1oS1Z4l+HWBg2m/fLjia/5B /E3w7qH94QDYPE+XQRGkHEcHSujuMExAkU8hVHQuqPVf/KF7klL8mG+v5hYD/OWU/m6V d5oQ== X-Gm-Message-State: AOJu0Yyj5fpY/maJFc7WddcPi5rYCfhb9ysHaxsAWeoRKCEoQTE6MAUx AO8aNIkoM0kxc8neILEHHVbtArp/7XrfAKs7m4bjnyF+xKWk4A== X-Google-Smtp-Source: AGHT+IG3+aLm5wO3sjlnqSuW+acsMbtDjIbBePGN+AAmJWDmGqn9iY5SKfMs8/vx7SztiSUVVu3/Ye0zDAGvt2D620M= X-Received: by 2002:a4a:3050:0:b0:569:ac56:ca98 with SMTP id z16-20020a4a3050000000b00569ac56ca98mr6198633ooz.3.1691336035224; Sun, 06 Aug 2023 08:33:55 -0700 (PDT) MIME-Version: 1.0 From: Alan Beadle Date: Sun, 6 Aug 2023 11:33:43 -0400 Message-ID: Subject: Help Running Example To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" 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 Hi, I need some help getting DPDK working. I am running Ubuntu 20.04 with a modified Linux 5.4 kernel, but I have also tried the stock Ubuntu 5.15 kernel with the same results. Here is my NIC info from lspci: 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (3) I219-LM (rev 09) I built and installed DPDK from source, and applied the following boot flags: "intel_iommu=on iommu=pt" After booting I did the following as root: echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages ifconfig enp0s31f6 down dpdk-devbind.py --bind=vfio-pci 0000:00:1f.6 All of this appeared to work. I tried running the "skeleton" example program and got the following output: sudo ./build/basicfwd EAL: Detected CPU lcores: 16 EAL: Detected NUMA nodes: 1 EAL: Detected shared linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: VFIO support initialized EAL: 0000:00:1f.6 VFIO group is not viable! Not all devices in IOMMU group bound to VFIO or unbound EAL: Requested device 0000:00:1f.6 cannot be used TELEMETRY: No legacy callbacks, legacy socket not created EAL: Error - exiting with code: 1 Cause: Error: number of ports must be even I'm not at all familiar with DPDK or VFIO. What might the problem be? -Alan