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 A4918A052A for ; Tue, 2 Feb 2021 08:51:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 183902402A2; Tue, 2 Feb 2021 08:51:33 +0100 (CET) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mails.dpdk.org (Postfix) with ESMTP id 48131240291 for ; Tue, 2 Feb 2021 08:51:31 +0100 (CET) Received: by mail-lf1-f41.google.com with SMTP id d3so626836lfg.10 for ; Mon, 01 Feb 2021 23:51:31 -0800 (PST) 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=h1FTUhzOdRWLc6d80tVu4RPz++N/bkwhebKfF9355yk=; b=kj0w+xAVL6JscAI7IBh+KnZJ3D1rVtwWb0zkLFVedkk4r9cSyR0IMLmPPoHHP3/0KT 6zpHqzcOlLm/r0GpfUEQPX4uPwc/VLv3A4S1ITev5St3Nk8RzkbJdSiois52xdzMmC87 fYJhXL1rGXFl86uLmAovXZl8deoANsottJHJ0D//oj7Uxy6HfVICMLT6qn1+3CrUi7RZ f/mJ7ec5kHHM0FZEAZnmZ891T9poMknyypXb+3eiXxLuXjv51wWYYDEZ4Zruc+DMVLHW cq1f/NVurVV6bwDm5R12j9Ev1XV5XJ4hxsy/AsPGAdP1QoRatlBhQPC3nOt+nV9GCaep c4Uw== 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=h1FTUhzOdRWLc6d80tVu4RPz++N/bkwhebKfF9355yk=; b=NGxPVfdyAg3gG/5VuKfktkpkkYiTNi0c5kWf8vwIXJruLzqbNehniO1hQIURbW24P7 q2caapVBDD8hcSNSzFbsj/CtuuU/IIvshxrNcBgtFibfmcOjC/g/5nDQr4qK1i5iY5+1 E5s7aUgf/y+XjX3VJXbEyokQj0DWSmoyDL1Jiof4oPDcnrU3kLiJx20pjKgTvSvIS+VH +tTaZYpl4oRQlPNRFaleR0NpqbVFDhOPo9tDSU/aHNajcR1XAe/6J+v6VsuYFKkwVvMs gkTh5O3XC/vXHw9Phb3DRdstowZYGRV01ZEba0zqNfOHznyFtP6Q6pVSIi/1OmS60Yon R/8Q== X-Gm-Message-State: AOAM530mE4l+liKhPITvg9d/vC1Ppk6x8gzKLpPDsHLWOFm/+vRV3RlA +N3cRfpb31XWDJrl0FORlflnl2vipcjOVs8bm58= X-Google-Smtp-Source: ABdhPJzXDz8ICGd9DJZmx0LBaIUdMnuqFfY9kJ/ygx0t3bnl4yZ1aOeLV/GXFgak1Q+TzFh+/H7YAlcxsIdALqNJCiM= X-Received: by 2002:a05:6512:1181:: with SMTP id g1mr6935262lfr.351.1612252290785; Mon, 01 Feb 2021 23:51:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pravein GK Date: Tue, 2 Feb 2021 13:20:54 +0530 Message-ID: To: Raslan Darawsheh Cc: "users@dpdk.org" Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-users] common_mlx5: Failed to load driver = net_mlx5 Error 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 Sender: "users" I am still facing this issue, and stuck without knowing how to proceed. Appreciate any help available. Thanks, Pravein On Thu, Jan 28, 2021 at 2:32 PM Pravein GK wrote: > I did not happen to see any errors in dmesg. > > Please find the dmesg, and ibdev2netdev attached. > > Thanks, > Pravein > > On Thu, Jan 28, 2021 at 2:09 PM Raslan Darawsheh > wrote: > >> Hi Pravein, >> >> >> >> Do you happen to have any errors in dmesg output ? >> >> Also, can you post the output of ibdev2netdev ? >> >> >> >> Kindest regards, >> >> Raslan Darawsheh >> >> >> >> *From:* Pravein GK >> *Sent:* Thursday, January 28, 2021 10:36 AM >> *To:* Raslan Darawsheh >> *Cc:* users@dpdk.org >> *Subject:* Re: [dpdk-users] common_mlx5: Failed to load driver = >> net_mlx5 Error >> >> >> >> Hi Raslan, >> >> >> >> Thanks for your reply. >> >> >> >> The lsmod o/p is below : >> >> >> >> $ lsmod | grep mlx5_ >> mlx5_ib 364544 0 >> ib_uverbs 131072 2 rdma_ucm,mlx5_ib >> mlx5_core 1294336 1 mlx5_ib >> mlxfw 24576 1 mlx5_core >> psample 20480 1 mlx5_core >> devlink 45056 1 mlx5_core >> ib_core 311296 8 >> rdma_cm,ib_ipoib,iw_cm,ib_umad,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm >> mlx_compat 45056 10 >> rdma_cm,ib_ipoib,iw_cm,ib_umad,ib_core,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm,mlx5_core >> ptp 20480 1 mlx5_core >> >> >> >> I had tried the force restart, and even after that , I get the same error. >> >> >> >> Thanks, >> >> Pravein >> >> >> >> >> >> >> >> On Thu, Jan 28, 2021 at 1:52 PM Raslan Darawsheh >> wrote: >> >> Hi Parvein, >> >> Can you kindly confirm that the kernel drivers (mlx5_ib, mlx5_core) are >> loaded? >> (lsmod | grep mlx5_) >> >> If not please try to restart the kernel driver: >> >> /etc/init.d/openibd force-restart >> >> Kindest regards, >> Raslan Darawsheh >> >> > -----Original Message----- >> > From: users On Behalf Of Pravein GK >> > Sent: Thursday, January 28, 2021 7:49 AM >> > To: users@dpdk.org >> > Subject: [dpdk-users] common_mlx5: Failed to load driver = net_mlx5 >> Error >> > >> > Hello All, >> > >> > I am using DPDK 20.08 with Mellanox Connect X 5 NICs. >> > I have installed the latest OFED drivers with "--dpdk --upstream-libs". >> > However, while launching a dpdk application, I get the below error : >> > >> > EAL: Detected 24 lcore(s) >> > > EAL: Detected 2 NUMA nodes >> > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket >> > > EAL: Selected IOVA mode 'PA' >> > > EAL: No available hugepages reported in hugepages-1048576kB >> > > EAL: Probing VFIO support... >> > > EAL: Invalid NUMA socket, default to 0 >> > > >> > > >> > > *EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:1f:00.0 >> (socket >> > > 0)net_mlx5: no Verbs device matches PCI device 0000:1f:00.0, are >> kernel >> > > drivers loaded?common_mlx5: Failed to load driver = net_mlx5.* >> > > EAL: Requested device 0000:1f:00.0 cannot be used >> > > EAL: Invalid NUMA socket, default to 0 >> > > >> > > >> > > *EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:1f:00.1 >> (socket >> > > 0)net_mlx5: no Verbs device matches PCI device 0000:1f:00.1, are >> kernel >> > > drivers loaded?common_mlx5: Failed to load driver = net_mlx5.* >> > > EAL: Requested device 0000:1f:00.1 cannot be used >> > > EAL: No legacy callbacks, legacy socket not created >> > > EAL: Error - exiting with code: 1 >> > > Cause: Cannot create mbuf pool , error=Invalid argument >> > >> > >> > I am stuck with this error, and unable to proceed for a long time >> despite >> > trying most of the things suggested in forums. Please help. >> > >> > Thanks, >> > Pravein >> >>