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 37975A00C4 for ; Thu, 4 Jun 2020 17:18:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 625751D5DA; Thu, 4 Jun 2020 17:18:01 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by dpdk.org (Postfix) with ESMTP id 4A0191D5D8 for ; Thu, 4 Jun 2020 17:18:00 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id h95so1308308pje.4 for ; Thu, 04 Jun 2020 08:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=6i6Yoq53B5UOYx+EZWHAdyS/cbs3ayQYH1vdMVTf7fs=; b=jP7W9K3ReOBKsOnMK29witSVIIDQmI+CcDvj0xFJDuBWpaCDsySKjRPU543NvuEYvZ ITJlIrDfJ7wyR4C1ljYOJiQvemlanvIm/KQGKWesEn5/rIoifhFdQUrla5YPJefLxEsZ PH2yLaJP+PWqro+t3tQxWwpZNT9K6CRHOCUmJmQbgz7v+snNV/AylnPD1ViPioRjLycF oeP5p1EZm66QIVQKZtqpQVwfymI+QKev75dJQeu8THFS1aGd2F6uTxo38peHrw7GS9yK 5WnQTfQlTN87LkhcgLcWcp+Wc1Adp6efhXU1DnzV8ijeWxsqTb76jJIn1RHc+2zZ/wMZ tjjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=6i6Yoq53B5UOYx+EZWHAdyS/cbs3ayQYH1vdMVTf7fs=; b=T3Ps1dcXjmdivdLJ8Rw9mRs9i6tsMB4zWPZSSnVipdKcjgDwjlfKOqACS+Sxugg10X B0FcsvjABkPMszTadVQIaRDn8pkfeDsgWx8oMPhWBmYMVE3l8DW9Rc/SiKpoWlf9q32L 0h55p824GTNF2sPw07U1L8HAryB4hBoMtavevUo3CrzNsQ6CzWOg5X0eEqF7p4ZRn46w dJIBCqg/+8BzBSQ7QW91dtdsd5PV+CQFp3+le5ImUI+K5Rfvin4ubfjJx8otBBwknr5G vyK59ffjPXB7wQDbg3eAvQxqV/q4BsqOc1o+Pb1az3YH+Hurr1nUXmKFcEtegr9VxAfD TU/w== X-Gm-Message-State: AOAM533CoAVMR8gPWSrPDRd2kgVWQ+5EVoFzFgTb1NM/7AUEKQB5IHJ7 zvJ4h8kurkjsx4BK62naTIsvzUSYIsk= X-Google-Smtp-Source: ABdhPJzHBSj35gqunas+1lfy8+TMGGQRAI70viygiie3hi+5CYc6jrBSM9sC5olMhYo2HVTLWoaIcw== X-Received: by 2002:a17:90a:2686:: with SMTP id m6mr6728882pje.11.1591283878627; Thu, 04 Jun 2020 08:17:58 -0700 (PDT) Received: from sea-l-00003662.olympus.f5net.com (c-71-231-121-172.hsd1.wa.comcast.net. [71.231.121.172]) by smtp.gmail.com with ESMTPSA id 145sm4882473pfa.53.2020.06.04.08.17.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jun 2020 08:17:57 -0700 (PDT) From: Vincent Li X-Google-Original-From: Vincent Li Date: Thu, 4 Jun 2020 08:17:56 -0700 (PDT) X-X-Sender: vli@sea-ml-00029224.olympus.f5net.com To: David Aldrich cc: users@dpdk.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (OSX 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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.