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 AC674456E2 for ; Mon, 29 Jul 2024 13:27:35 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2318240261; Mon, 29 Jul 2024 13:27:35 +0200 (CEST) Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mails.dpdk.org (Postfix) with ESMTP id 5D2B54021D for ; Mon, 29 Jul 2024 13:27:33 +0200 (CEST) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-2cf13d7f5b9so4520482a91.0 for ; Mon, 29 Jul 2024 04:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interfacemasters.com; s=google; t=1722252452; x=1722857252; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9LK73beno9aNchO8Yfs0L/NXE2ug2h2uAZ68ODYmOdI=; b=SJtlt0Zly9dYl/vcgGRP9HECaHyBLUiJVrtIqohHfMDWXj/nIl27575ZsX4+yb6GdD VZVI/bIzMEzo8gzCpDKvQbQBTkvxkQF0clkTlSmoPhKkmKriFN4qv1JUIVQeEUicqnzJ QRHCNqKn6Uf3lwGga8MCVtVnq/KDnw68gtVNA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722252452; x=1722857252; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9LK73beno9aNchO8Yfs0L/NXE2ug2h2uAZ68ODYmOdI=; b=EVxfAQLKHu/yIb0Ae5tlK4rptI3aWjuawVQ995COJHhOsagDgFPwvzYD0fRPjQZYyC UOF0kn4oLzCA6YH3Br4XxIHIdsmqBq2OMBF5uQcQg4RHTvBBlsJVEf4prxWxpQGC8Hqu 85pB5FUtVxYyPz3AKIfFcMwZ3ozW9USMCluCVf2NonfnfvraB0B3K8dnsF6x9Oyzo4eQ SAGDk+FVjGdnNhDzFDadzKLIaZkD1Ss0QFGYfHq/w19tpySwxjH38K7OVkh9523UyzWb IYdHajBPTs8ICahKF2ZSKKHjxwoqUgFgZcU4ngnAyHIXO+jL1RaVoCFT32ZI1lDLTyIi w2+Q== X-Forwarded-Encrypted: i=1; AJvYcCXLO7+hanwggEx+KsxsE7CMw+GArbEnNKVD4wYqYB5E6Us4mDDnYC1Cv9dD6e0ghmRqN16sgkJny+TwdX0t4Q== X-Gm-Message-State: AOJu0Yxif5ZJC38ZG1q0zBtHmurmzMg8Ct/HwBeRsSQo1uszqd3I/hnD IIUSI9+AFqwPqGORo/rTD59ZpaDviqhKWLSYbqKDIA/F1WJXy5Rffm9tiHOVP/bH0zJ44bSTyQO C06SsNHDlx1w6/qM/okgOqwdlQ2t06uz9U5CxNA== X-Google-Smtp-Source: AGHT+IErxjBhDgj2TBYdJUW+lmf7NCgvsNEls2RSzy2svf5Dz4Bmc7LVbXgNtVU6qchpQyBGFZaCHcyTm9pgF+Wf4LA= X-Received: by 2002:a17:90a:6782:b0:2c9:75a4:cc71 with SMTP id 98e67ed59e1d1-2cf7e5c1a1bmr8392661a91.32.1722252452379; Mon, 29 Jul 2024 04:27:32 -0700 (PDT) MIME-Version: 1.0 References: <20240726103018.760819a9@hermes.local> In-Reply-To: From: Oleksandr Nahnybida Date: Mon, 29 Jul 2024 14:27:20 +0300 Message-ID: Subject: Re: Unable to build igb_uio To: David Aldrich Cc: Stephen Hemminger , users Content-Type: multipart/alternative; boundary="000000000000a35e5c061e6125ef" 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 --000000000000a35e5c061e6125ef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, it is required, replace igb_uio with vfio-pci, I'd recommend reading this doc https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html#linux-gsg-binding-= kernel On Mon, Jul 29, 2024 at 2:02=E2=80=AFPM David Aldrich wrote: > Hi Stephen and Oleksandr > > Thanks for your replies. > > I guess the documentation I'm looking at is out-of-date, but the > Broadcom app note I'm looking at suggests testing with testpmd, but > first binding with: > > usertools/dpdk-devbind.py -b igb_uio > > Given igb_uio is deprecated, is this binding step still required and, > if so, what parameters are now required? > > Best regards > David > > On Fri, Jul 26, 2024 at 6:30=E2=80=AFPM Stephen Hemminger > wrote: > > > > On Fri, 26 Jul 2024 16:04:07 +0100 > > David Aldrich wrote: > > > > > Hi > > > I am using DPDK 23.11.1. I need to build and install linux kernel > > > module igb_uio. > > > > Are you sure? igb_uio has been deprecated in favor of vfio_pci. > > Unless you are on a really old kernel, there is no longer a need for > igb_uio. > --000000000000a35e5c061e6125ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, it is required, replace igb_uio with vfio-pci,=C2=A0<= div>I'd recommend reading this doc=C2=A0https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html#linux-gsg-bi= nding-kernel

On Mon, Jul 29, 2024 at 2:02=E2=80=AFPM David Aldrich= <davi= d.aldrich.ntml@gmail.com> wrote:
Hi Stephen and Oleksandr

Thanks for your replies.

I guess the documentation I'm looking at is out-of-date, but the
Broadcom app note I'm looking at suggests testing with testpmd, but
first binding with:

usertools/dpdk-devbind.py -b igb_uio <PCI Device ID>

Given igb_uio is deprecated, is this binding step still required and,
if so, what parameters are now required?

Best regards
David

On Fri, Jul 26, 2024 at 6:30=E2=80=AFPM Stephen Hemminger
<stephen= @networkplumber.org> wrote:
>
> On Fri, 26 Jul 2024 16:04:07 +0100
> David Aldrich <david.aldrich.ntml@gmail.com> wrote:
>
> > Hi
> > I am using DPDK 23.11.1. I need to build and install linux kernel=
> > module igb_uio.
>
> Are you sure? igb_uio has been deprecated in favor of vfio_pci.
> Unless you are on a really old kernel, there is no longer a need for i= gb_uio.
--000000000000a35e5c061e6125ef--