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 06B65A0C4A for ; Tue, 13 Jul 2021 08:48:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A710A40DDE; Tue, 13 Jul 2021 08:48:42 +0200 (CEST) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by mails.dpdk.org (Postfix) with ESMTP id A132C4069E for ; Tue, 13 Jul 2021 08:48:41 +0200 (CEST) Received: by mail-wr1-f42.google.com with SMTP id p8so28987899wrr.1 for ; Mon, 12 Jul 2021 23:48:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mvista-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Two0QmtyaOHNFU0rM4WpqsKTairQHPqW7UrDLtVBt6s=; b=Fkdbo2cWrq6gm7akAqRxh/VsBbb4K+XN2+Al+YgdR3MrpL9up5Io4ZluuNK386WWk5 bfuTWzLIaMOZ2mAWmbUcSBeSWErS/RyATG4OVx8rIr4wsZMA1Db7Jilzy62xpRAKZGx8 FTMhonr5m9ROjAwJ/UkPkGq6eXZQK8qmaMHyLkpcEZjXwP1U/pasJh+wl3VSDEpqiHIf 8bp/9mnV56PimRtP9OLwRYeFrbizvG47W0L6cpuSV0l0E2bLKwkd0zO3xCnT1UYhpGLC cizc/rH85Jt71MYL4Kv+UVG3U/TVnw3KGLXn9X1B+vqYxRLdjoekSLOnomO8EmWfocge +oWw== 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=Two0QmtyaOHNFU0rM4WpqsKTairQHPqW7UrDLtVBt6s=; b=nXnX7dzSa3GM/I7l79clF0trYp2+Zni5F5NMBMldGwzwTsGfyxHERsR0oFXZR+7cuS zrOQ7cytl63Ubi96GLX37Zu1JfHLxYxL36ymB/C5KwrxCTrDCnMqgXoa46mfnnUgW9rq rIAXy/Y9NQC9WLzAY9D7EYnepk9Ud43qb/d5TuQe52nUx8Xy3CpWVXRjBqj3V7BL0NOm UC7wjliPJT39t4rlAX2KY0yItMwgUQ1MHZ4321GzXYsXbTi5aJXzCCcNBYrlCc3x4RKK MxEhajrEei3yASPEZFJqdLGrGZmtpO8ROgq1Yjp+1+J4sbMVUivgsAI/Q0pVgHdmgxS6 vyRQ== X-Gm-Message-State: AOAM530aDjySfItCmRncIibYeS0BU9S0hIZxZB/kxIJQLKw/frsHJf5j 3i/8QjyS/mJNAlZ+pMeJ4fYwco5IIpIpH5rhxKiJoMG0Pv4w4Q== X-Google-Smtp-Source: ABdhPJxHCxa7XUyUPQ3v6hpsGRXHNdUSvk8HPWNe6vS0UR0A6tqxFs+QBdPk0+s66JJdXt9/bk6nDObj1tpnZKnk/74= X-Received: by 2002:a5d:4e08:: with SMTP id p8mr3546464wrt.425.1626158920772; Mon, 12 Jul 2021 23:48:40 -0700 (PDT) MIME-Version: 1.0 From: Ashish Mishra Date: Tue, 13 Jul 2021 12:18:29 +0530 Message-ID: To: users Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-users] [ TX-ONLY mode ] No packet count with Testpmd application 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 Members , I am trying to run the testpmd command on a x86_64 machine . Have shared the log's of - Command testpmd - Command devbind - Steps i followed to get the dpdk source code compiled on host ~ : sudo dpdk-testpmd -l 0-3 -n 4 -- -i --nb-cores=2 EAL: Detected 32 lcore(s) EAL: Detected 1 NUMA nodes EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: No available 1048576 kB hugepages reported EAL: VFIO support initialized EAL: Probe PCI driver: net_bnxt (14e4:16d8) device: 0000:c6:00.1 (socket 0) bnxt_hwrm_send_message(): Error(timeout) sending msg 0x0000, seq_id 0 bnxt_hwrm_ver_get(): failed rc:-110 ethdev initialisation failed EAL: Requested device 0000:c6:00.1 cannot be used TELEMETRY: No legacy callbacks, legacy socket not created testpmd: No probed ethernet devices Interactive-mode selected testpmd: create a new mbuf pool : n=171456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc Done testpmd> set fwd txonly Set txonly packet forwarding mode testpmd> start txonly packet forwarding - ports=0 - cores=0 - streams=0 - NUMA support enabled, MP allocation mode: native txonly packet forwarding packets/burst=32 packet len=64 - nb packet segments=1 nb forwarding cores=2 - nb forwarding ports=0 testpmd> testpmd> stop Telling cores to stop... Waiting for lcores to finish... +++++++++++++++ Accumulated forward statistics for all ports+++++++++++++++ RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Done. B) I have the the device binding # dpdk-devbind.py -s Network devices using DPDK-compatible driver ============================================ 0000:c6:00.1 'BCM57416 NetXtreme-E Dual-Media 10G RDMA Ethernet Controller 16d8' drv=uio_pci_generic unused=bnxt_en,vfio-pci C) The dpdk was compiled using below step: git clone https://dpdk.org/git/dpdk cd dpdk/ pip3 install meson pip3 install pyelftools pip3 install ninja meson -Dexamples=all build ninja -C build cd build ninja install ldconfig mkdir -p /dev/hugepages mountpoint -q /dev/hugepages || mount -t hugetlbfs nodev /dev/hugepages bash -c 'echo 2048 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages' Can a senior member please help me as I am learning things here . And getting working setup is very important for someone like me who is starting new here Thanks , Ashish