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 72569A09E9 for ; Mon, 14 Dec 2020 20:46:34 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 18CE3C8E6; Mon, 14 Dec 2020 20:46:33 +0100 (CET) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by dpdk.org (Postfix) with ESMTP id 9992DC876 for ; Mon, 14 Dec 2020 20:46:30 +0100 (CET) Received: by mail-wm1-f53.google.com with SMTP id e25so16359298wme.0 for ; Mon, 14 Dec 2020 11:46:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=k+r8v3FYvIiYw/pna02D3rFgzscnxzqNMteGjQf0/l0=; b=XKYnqeXc3wl1Gx4P9tqN97ZdhmEjtkUwWSo41jDSOmpdQyvunG2R4GdMRR/uuh2GhY CzYtVhi9p51Tet7bTvJefPuB2xaLL413wBT4ZbQ+QTZnWdTCi6AnJyz/vAywWmwle9O2 b/Fqzlw+MJDN58ona4fXxr+aqa9Qp2Zaz6wgHJFtm7Bpy4n2oZQJzOpSoojbyp5Dkxje 7Uf0Zvf3JzqfC1+0HZ2JLl+P4OYu4HcV2POfEbH8uHy/gylXOZfJk5mNVPNuIeyDu9cN 0TRS4/T7iF8O89pSQ7dZJDR0QtW+Sy//DyQheeBv8fbsD+hv7eMSTl+/Yi8Gcy7oOnFA qF8w== 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; bh=k+r8v3FYvIiYw/pna02D3rFgzscnxzqNMteGjQf0/l0=; b=mhGfnXN7XhyqwcmUURw36w8hp/D5mmxDH451mwBcPBSOjxy5b2sUA4G2c9fTkn1Fj3 497OAYXIERFNM8CIPQeHllFi9uzEveo0Z3U8DQc8DQYpK/N1kDO0+JYSVpRwGPAlpWF9 b1AeFjaPR2I3yGa1CekPMS9Tbs+cwtP6Y6AD+44/sCyOH0s4C/yCwQLbrsAVq0NjlC6j biBttFgRXntgHPHgnlralRLQ+eYC/OoVEjy6hw2/J5VYvEm+GbhDzcEheejKNASowXzb P07BA2S0gGR4nbin6veQjuNw5q9P6EJCmnaWG+auLjUWDAjf137TOkxQbLNtYktb/vbs fp6g== X-Gm-Message-State: AOAM531jmcnHe+tVeqcE9PPT1fPVjIK1k9kNVza7BQX0kElZTdBtabMH aEJzpvp2yLoyJu/wZAnkU1x6Seuq30H1xZsQ+D8YgblogS2D1g== X-Google-Smtp-Source: ABdhPJxg4u/gvrGITTCDZkU2in9BTVem6Y17y3uXWCNYXnzyV+q1B92yA6I7SlFLlhhysBCrqkmiF8F3P/ubrBELjTk= X-Received: by 2002:a1c:1dd4:: with SMTP id d203mr29949786wmd.118.1607975189862; Mon, 14 Dec 2020 11:46:29 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Krishnamurthy Srinivasan Date: Mon, 14 Dec 2020 12:46:18 -0700 Message-ID: To: users@dpdk.org, Maciej Skrocki 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. Here, I have configured the pod with one interface with igb-uio driver. The behavior is the same if I try pci-vfio DPDK driver. 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: root@master-01:~# /opt/dpdk-stable-19.11.3/usertools/dpdk-devbind.py -s | more Network devices using DPDK-compatible driver ============================================ 0000:41:0a.0 'Ethernet Virtual Function 700 Series 154c' drv=vfio-pci unused=iavf,igb_uio 0000:41:0a.1 'Ethernet Virtual Function 700 Series 154c' drv=vfio-pci unused=iavf,igb_uio 0000:41:0a.5 'Ethernet Virtual Function 700 Series 154c' drv=igb_uio unused=iavf,vfio-pci Network devices using kernel driver =================================== 0000:41:00.0 'Ethernet Controller X710 for 10GbE SFP+ 1572' if=enp65s0f0 drv=i40e unused=igb_uio,vfio-pci *Active* 0000:41:00.1 'Ethernet Controller X710 for 10GbE SFP+ 1572' if=enp65s0f1 drv=i40e unused=igb_uio,vfio-pci 0000:41:0b.2 'Ethernet Virtual Function 700 Series 154c' if=ens3f1v10 drv=iavf unused=igb_uio,vfio-pci .... 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) I would appreciate your help with this. Thanks, Srini