From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f49.google.com (mail-pg0-f49.google.com [74.125.83.49]) by dpdk.org (Postfix) with ESMTP id 69499231E for ; Mon, 23 Apr 2018 12:03:51 +0200 (CEST) Received: by mail-pg0-f49.google.com with SMTP id p10so8067319pgn.1 for ; Mon, 23 Apr 2018 03:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=jX8i3xcwE3XJsYjJUR/EndGf16VWsZlOUoKKEwxPmSA=; b=FVRqS+fSct3uemAjOByMCajQbDDyXY2SFqR7NP7ufCrkxhr4KIs6EuirDLSgkAzQWB uLdKEB7ascWPN8wnozQQ7+rEkLnAXl873Y5lJBLoIakJZyHPyHz87jJJmAc6knQOIakh 0KuGOVN6CND28Ap/Z6LWDhrt8/T+JXEJsqkqYN1ZSmJaErRYib3OOWIkgqKUKGyMow6c TxYdEeZe+AjJdODU6McQSDIRMKPCCfWdWDQzYMOyvd1fsKMg2OpIN//xhsXply42Ovcz j5pzI+PWJ4CD9z8LAUHiG8AJ8o6vnu80YKu4MpeqrNluXwr+Nf2feBVeYfnK9Knwvoq7 9i/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jX8i3xcwE3XJsYjJUR/EndGf16VWsZlOUoKKEwxPmSA=; b=iGcnqrRLeAQeojdN7Y5pmj/mJmrzjxmoSdU/m3EurMPXp2kF3okNHwgNBrm0RRheTg NbZyBbthXTQsaeH6ud/ES/h8Ffl2OvW/C/fAyFJeOHtz9iAc77lkdyoJdYMxBFdJcW++ A+3yyVldMj9etEqRlYyx8LHSwVMiOfcelDYVQGT88x+Tz4M25gl3C1yVnrSYRwxD+mvl wF/WRqGpglW2JAzOEUT7KhMI60mBcpYAdHyQvafC9rFg0hFhwa7YFP270qgBD3sWT11w wHNRtyM5P8d8ICqGDr0quiDY5EYmHsheGHgleIzB9ttTzklrsVxf/Iqw7Kxys/rd6RVY nlUQ== X-Gm-Message-State: ALQs6tDYQfkywfL1UY66uylcP6CYGFe8FgyPDrqNpgEpQQgi9IhBoDrD b9WiTiVQhD9BXWHmsBhPPH9TiJhtWNQ6HiokbM2DAA== X-Google-Smtp-Source: AIpwx49At1RytVHtkOVUeacBc5OsYKSgSdVCJYhTpbBbg2zYhVjDC4LXMvmgwFsHGHcf26AD9hoFLhvnOU9at9c4ZzU= X-Received: by 2002:a17:902:6c4b:: with SMTP id h11-v6mr20771818pln.33.1524477830225; Mon, 23 Apr 2018 03:03:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.148.69 with HTTP; Mon, 23 Apr 2018 03:03:49 -0700 (PDT) From: Tao Peng Date: Mon, 23 Apr 2018 18:03:49 +0800 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] net_mlx5: priv allocation failure 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: , X-List-Received-Date: Mon, 23 Apr 2018 10:03:51 -0000 Hi , When I run the dpdk l2fwd , I encountered some errors, please help, thanks! :) $./build/l2fwd -c 0x1 -n 4 -- -p 0x1 EAL: Detected 64 lcore(s) EAL: No free hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: WARNING: Master core has no memory on local socket! EAL: PCI device 0000:01:00.0 on NUMA socket 0 EAL: probe driver: 15b3:1015 net_mlx5 PMD: net_mlx5: PCI information matches, using device "mlx5_0" (SR-IOV: false, MPS: true) PMD: net_mlx5: 1 port(s) detected PMD: net_mlx5: priv allocation failure EAL: Requested device 0000:01:00.0 cannot be used EAL: PCI device 0000:01:00.1 on NUMA socket 0 EAL: probe driver: 15b3:1015 net_mlx5 PMD: net_mlx5: PCI information matches, using device "mlx5_1" (SR-IOV: false, MPS: true) PMD: net_mlx5: 1 port(s) detected PMD: net_mlx5: priv allocation failure EAL: Requested device 0000:01:00.1 cannot be used EAL: PCI device 0000:02:00.0 on NUMA socket 0 EAL: probe driver: 8086:1521 net_e1000_igb EAL: PCI device 0000:02:00.1 on NUMA socket 0 EAL: probe driver: 8086:1521 net_e1000_igb EAL: PCI device 0000:81:00.0 on NUMA socket -1 EAL: probe driver: 15b3:1015 net_mlx5 PMD: net_mlx5: PCI information matches, using device "mlx5_2" (SR-IOV: false, MPS: true) PMD: net_mlx5: 1 port(s) detected PMD: net_mlx5: priv allocation failure EAL: Requested device 0000:81:00.0 cannot be used EAL: PCI device 0000:81:00.1 on NUMA socket -1 EAL: probe driver: 15b3:1015 net_mlx5 PMD: net_mlx5: PCI information matches, using device "mlx5_3" (SR-IOV: false, MPS: true) PMD: net_mlx5: 1 port(s) detected PMD: net_mlx5: priv allocation failure EAL: Requested device 0000:81:00.1 cannot be used EAL: PCI device 0000:82:00.0 on NUMA socket -1 EAL: probe driver: 8086:10fb net_ixgbe EAL: PCI device 0000:82:00.1 on NUMA socket -1 EAL: probe driver: 8086:10fb net_ixgbe MAC updating enabled MEMPOOL: Cannot allocate tailq entry! EAL: Error - exiting with code: 1 Cause: Cannot init mbuf pool *Hugepage info:* $cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages 8192 $cat /sys/kernel/mm/hugepages/hugepages-2048kB/free_hugepages 5120 But , If I run in the below command, it will run successful. $*sudo* ./build/l2fwd -c 0x1 -n 4 -- -p 0x1 But, I dont want to run l2fwd in sudo mode. Thanks!