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 D2B47A09F0 for ; Wed, 16 Dec 2020 22:48:36 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 52053C9E7; Wed, 16 Dec 2020 22:48:35 +0100 (CET) Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by dpdk.org (Postfix) with ESMTP id D12B24F90 for ; Mon, 14 Dec 2020 06:03:56 +0100 (CET) Received: by mail-wr1-f46.google.com with SMTP id q18so7562956wrn.1 for ; Sun, 13 Dec 2020 21:03:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=M7PBo8I1ot4Tx+rDl6AgDa31k2sYSKICgkD+pDl3aUY=; b=WQHJYDIRdZZC0Dubbu1AhHKx8MUjxQKJHd0gWjsuquwvcxIuikztZkxtj/CrvIMyGr 9L16UPP7jDVv4g7WpxQj37I4CvZd24kxWb5N7zgLM1wdwSqT40CVVUjSzNotjyFBnbI/ X+wpq51Dz7zjwOV0EyDv+Z4zLbGto7NTULm9pKcRW/4MSyWyBj6uSDcAAw1ojE0CSIIs OX8xWZO28Q4+KLIJeMBmC/DZH3ki/sZjtjuZ6lnAED0CERwt0sZk6PtGcGDqSA817Qo9 R0wdGSR9zYYqwGvUiFDqH8MJnrgMdnzNMOsaYaqX4wSKCcIeJt9t3efE/2mCg53Mb7rn 2smw== 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=M7PBo8I1ot4Tx+rDl6AgDa31k2sYSKICgkD+pDl3aUY=; b=TNwzhc6C2PcYhMdaDCXltEJQDnN8Aeu4J8VKIYb0U3buRNRPUh0+r4dxZrlpi9eByQ j3YWcbE9eTQrpc81K/Oo0PCcLlRm4vfS/dV21PBmR5GkaMqMSrHWeFHzaCNBOhLVDvdL NHAuW2LlBvbQ+wksaEt4LGPk1AYip8exSke5+GhJMw6K+uwD5fRQIG9zDBgatzf6Pte0 KHKz/8FhLcf+JCMeQnQ2nNNXj/mrynyOm3AjEirrmC9rmoRaT+5E3M8/0l0FkNpmCcH5 qxy8XfccpA/G1rbhIieoWVgt0Jq99bP0UX9SEbWGczGozdn8WrsR/+SVVF8d2O/VHPMZ noYQ== X-Gm-Message-State: AOAM533VF25BTTMGZfOg6AXAwVBD9oIDWEApDFcq6MygbMAkseA6YbyL FMBIVxiRbyC9meiBhzFCV/hOf+kK2czJ/hLBmUy+9Jvj3gA7pQ== X-Google-Smtp-Source: ABdhPJyPs2SOx3+wdeXPVdh00QgsuIbIKNLxbu/jts4cXPv+IBC3JUGEA5wVMLvczn9RxJfq1T18TQGyeyv1wDdEP3g= X-Received: by 2002:adf:f891:: with SMTP id u17mr5080627wrp.253.1607922236164; Sun, 13 Dec 2020 21:03:56 -0800 (PST) MIME-Version: 1.0 From: Krishnamurthy Srinivasan Date: Sun, 13 Dec 2020 22:03:44 -0700 Message-ID: To: users@dpdk.org X-Mailman-Approved-At: Wed, 16 Dec 2020 22:48:33 +0100 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Help with error: *** Did not find any ports to use *** 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" I have seen that this error has been brought up before. However, the solutions discussed did not help resolve the error. I would appreciate any help. I am running DPDK version 20.11 with Pktgen 3.7.2 on Ubuntu 20.04/K8s. My server has Intel Ethernet Controller X710 for 10GbE. My kubectl description shows the network config to be OK: Annotations: k8s.v1.cni.cncf.io/network-status: [{ "name": "cilium", "interface": "eth0", "ips": [ "172.16.1.76" ], "mac": "36:22:fd:9e:b7:37", "default": true, "dns": {} },{ "name": "igb-uio-network", "interface": "net1", "ips": [ "172.16.1.120" ], "dns": {} }] "dpdk-devbind -s" seems to list the interfaces correctly. However, when I run packetgen, I get the error: root@pktgen-68b4d77fdc-q67fk:/usr/src/pktgen/Builddir/app# ./pktgen -l 3,4,27,28 --socket-mem=1024 --master-lcore 3 -- -m [4/27-28].0 Copyright (c) <2010-2020>, Intel Corporation. All rights reserved. Powered by DPDK EAL: Detected 48 lcore(s) EAL: Detected 1 NUMA nodes Option --master-lcore is deprecated use main-lcore EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized EAL: No legacy callbacks, legacy socket not created *** Copyright (c) <2010-2020>, Intel Corporation. All rights reserved. *** Pktgen created by: Keith Wiles -- >>> Powered by DPDK <<< Port: Name IfIndex Alias NUMA PCI !PANIC!: *** Did not find any ports to use *** PANIC in pktgen_config_ports(): *** Did not find any ports to use *** 6: [./pktgen(+0xa7ee) [0x55ebeb9f97ee]] 5: [/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f37d11bf0b3]] 4: [./pktgen(+0xa355) [0x55ebeb9f9355]] 3: [./pktgen(+0x2f456) [0x55ebeba1e456]] 2: [/usr/local/lib/x86_64-linux-gnu/librte_eal.so.21(__rte_panic+0xcd) [0x7f37d1436d2f]] 1: [/usr/local/lib/x86_64-linux-gnu/librte_eal.so.21(rte_dump_stack+0x32) [0x7f37d145b182]] Aborted (core dumped) The behavior is the same if I try pci-vfio DPDK driver. I would appreciate your help with this. Thanks, Srini