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 66AF1A09E4 for ; Thu, 28 Jan 2021 09:37:00 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E54424067A; Thu, 28 Jan 2021 09:36:59 +0100 (CET) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by mails.dpdk.org (Postfix) with ESMTP id 673AC40395 for ; Thu, 28 Jan 2021 09:36:59 +0100 (CET) Received: by mail-lf1-f48.google.com with SMTP id m22so6522563lfg.5 for ; Thu, 28 Jan 2021 00:36:59 -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=1+rLvxlScKwCz8rGrljSNjYLFezypXElHRoXgoHy9KE=; b=dFkqTt8kXfnMfM7q8s0OZ3SDgG0WQC0zw/JeLF1/uNmtrv2L+GARON38+pYuv+EE+G FcBfzc9Udv9AdNtItEWBwqOqu6lWwvHMy81OTbjt89bGrxmGOTGk/YOAhn79GE6gSINg gI5pC1mHJey867ydFOyzhR65ukUI5kMQqin9+DPtgV8wvga7cQislsCiy4raMoRRjDFT URGG63QMgrlMOPl+NAYwh/dKXatzIWii7qvpZnReEDMcVhb1BaOPIN9xkc2WRPFw6X2r wciPOkTSdDUXFfwWhiSzMAtVqde2KfzeMp9BBP6+46U/pVurpmKpcvI+4lveI20ZtwJk r5ag== 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=1+rLvxlScKwCz8rGrljSNjYLFezypXElHRoXgoHy9KE=; b=V84MFu55wf7G98BdeeDONe4VGLUpi7YTlJMqJdJzNYZi9jDo3DJToTkOxmVQpV5s6E 7fP/oAEDI10r0gZyJIZc7yldUkr7XRVWbEI/vba41J8aHDQWgQWavfZGcv4CoHXmKEXa nWLtDzA6yyFS2Qtoqz/6nEr/2c85c/CF+pRctQKsEkRyhQJqOkHGAWQsf8F++PQgVz2l AINOdyWyJDnyUcbjy2xAAJyxW/vDdUk8a6DiVJ1oMXmLm0T8p6J5BMSLX/uYGlOc4z9K pM7hzFdOGqXoOYAh7ssDNpnt9p+zGvHxIqBlNR4B2ssJw/zG48nLsPLfDA7zhzgxSQjy wKkw== X-Gm-Message-State: AOAM530WVQUwWCKP7SseSnj3rwsoYmDnzs3EXpVCVtZYbj3lsTu4hv80 /6w6+pcL2Q4vA5qxC+F76t5FdxK+JGVto0FQeBs= X-Google-Smtp-Source: ABdhPJx0kOJZwluoOsW4mXeCVpmvmtyDWJyrwDPq1fsiSjowzCluQ8AkPwBLmMK/oOBkc+7r4jczksyxrJZ+Lu71GxE= X-Received: by 2002:a19:7109:: with SMTP id m9mr6811700lfc.351.1611823018859; Thu, 28 Jan 2021 00:36:58 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Pravein GK Date: Thu, 28 Jan 2021 14:06:22 +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" 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 >