From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D03D5A00C4 for ; Thu, 4 Jun 2020 18:43:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 209581D5D1; Thu, 4 Jun 2020 18:43:13 +0200 (CEST) Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) by dpdk.org (Postfix) with ESMTP id 4623A1D5C6 for ; Thu, 4 Jun 2020 18:43:11 +0200 (CEST) Received: by mail-il1-f177.google.com with SMTP id i1so5508426ils.11 for ; Thu, 04 Jun 2020 09:43:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0S+pXg/CFcF3BB51yFK4vG6wq0lQaylIXlQ9zvyIgLo=; b=TAfyGkF4T5BBLaphKxZXDIlblsUx+uKBWLd56BHVLyaGrdSvE8dowV5cu0YuwJRatr 9bif0dJ1t5pvv+JfJn6LJ0p0mQ7cyjfY3jsNCbagQOIjMKhqZcY/2zg3ekjpxlzpFz02 DYaifVBQ0MpYifW5Xitlzo8qtIRhHAqh7i88uYElY91kJyLAPKL2mwQTsjksCGOmJRZu ZtTt5eE5yClUtKc0l/qdl1FMfcTqzMX5GNa0xrJZAgr3zmlzOBzomMwq6j8qM0zd9N5E pssulpw8ZS1YyzlQINvJag/LwWvCO3GX33JdWUQ9iErx8lCQ5SktEEX+l+w46cvDVea9 3nnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0S+pXg/CFcF3BB51yFK4vG6wq0lQaylIXlQ9zvyIgLo=; b=oC4wCqVV6lnIDE1aYwP9fnx6pPGHP8XBs/UViuUpSBD9vM0Ccon2/wcYAqLiT0hxTH OFsFrY0UJtjRZkPV2mCtIygxGqCuYgDNhZW4NvTjSK/9avJiJTq/JoE7wBIanpmqw2j/ /s/jELGoZG1slknFmG/kBkzlr78Z/gD9boXoWSH+32mqEk4ogfMCxTRn+m3+myCejvXd M3HfKUHyyyao/enOKC1W6RuyzowkVbteNefxFIL7s9+J4jrtqltm0VFrtyapx6uTgX6x BXTr8NxwPXAcmjnh9dAUJ3tuEeoaLZIUSzkmtIYwvd0ufo29U7K6SU74lSzqJb7CwiGb aG+g== X-Gm-Message-State: AOAM532vCuKL/CufaOThsjrclMS3Oes8qCA2L92ucj6uzn80odJDEOJg OSFE24BLC0WpEkyAy9kiN7J6DgvQNjvGRLwHyt0= X-Google-Smtp-Source: ABdhPJweZKHCuDp4lcWNeO6Aytby/aHeGCsfOUbkHkUNqxaYdcFVHufVg8GjNDaDBR4f81SxTZUtQsIt+uwd3NMyEOA= X-Received: by 2002:a92:4852:: with SMTP id v79mr954355ila.172.1591288990568; Thu, 04 Jun 2020 09:43:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Aldrich Date: Thu, 4 Jun 2020 17:42:59 +0100 Message-ID: To: Vincent Li Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] How to install DPDK kernel module? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" > > On Thu, 4 Jun 2020, David Aldrich wrote: > > > I have installed dpdk 18.08 on a Centos 7 machine, which has the kernel > > source installed. > > > > I built dpdk using: > > > > $ make -j T=x86_64-native-linuxapp-gcc install > > > > Build complete [x86_64-native-linuxapp-gcc] > > Installation cannot run with T defined and DESTDIR undefined > > > > I want to interface dpdk to a HP NIC that uses the Intel X722 chipset. > So I > > then run: > > > > $ /opt/dpdk/dpdk-18.08/usertools/dpdk-devbind.py -b igb_uio `lspci | > > grep X722 | awk '{print $1}'` > > Error - no supported modules(DPDK driver) are loaded > > probably igb_uio kernel module is not loaded, run lsmod to check if > igb_uio is loaded > > > > > I think that this error means that the DPDK kernel module is not > installed. > > > > How can I fix this? > > > > I usually use dpdk-setup.sh script from the dpdk source to compile and > load igb_uio, and bind the NIC to igb_uio. otherwise, you may need to > setup proper environment varibles to find and load the igb_uio module > properly, I think distribution like Centos or Ubuntu has the proper DPDK > script to load and bind NIC to DPDK drivers. > Thanks for your answer. Identifying the igb_uio module as necessary really helped me. Module is loaded now. On Thu, Jun 4, 2020 at 4:17 PM Vincent Li wrote: > > > > > On Thu, 4 Jun 2020, David Aldrich wrote: > > > I have installed dpdk 18.08 on a Centos 7 machine, which has the kernel > > source installed. > > > > I built dpdk using: > > > > $ make -j T=x86_64-native-linuxapp-gcc install > > > > Build complete [x86_64-native-linuxapp-gcc] > > Installation cannot run with T defined and DESTDIR undefined > > > > I want to interface dpdk to a HP NIC that uses the Intel X722 chipset. > So I > > then run: > > > > $ /opt/dpdk/dpdk-18.08/usertools/dpdk-devbind.py -b igb_uio `lspci | > > grep X722 | awk '{print $1}'` > > Error - no supported modules(DPDK driver) are loaded > > probably igb_uio kernel module is not loaded, run lsmod to check if > igb_uio is loaded > > > > > I think that this error means that the DPDK kernel module is not > installed. > > > > How can I fix this? > > > > I usually use dpdk-setup.sh script from the dpdk source to compile and > load igb_uio, and bind the NIC to igb_uio. otherwise, you may need to > setup proper environment varibles to find and load the igb_uio module > properly, I think distribution like Centos or Ubuntu has the proper DPDK > script to load and bind NIC to DPDK drivers. >