From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com [209.85.210.54]) by dpdk.org (Postfix) with ESMTP id 591454CA5 for ; Sat, 20 Oct 2018 14:55:21 +0200 (CEST) Received: by mail-ot1-f54.google.com with SMTP id o21so35767196otb.13 for ; Sat, 20 Oct 2018 05:55:21 -0700 (PDT) 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=WMlBv82gr3Oucjj8zJ0Fh/Zv/PAP7tc63IV5O0Q5j6Q=; b=ACgjA7lh4XD8OJ9mSMcQDu7QhRgnt8+tS+UTXvSjgoRWjarZo330cSrx3PxlKiGFUw 1CLQQktpXesyqY/bLS0CLN/VdUleRgb4ONa1gesnCqsBgXZXvTObUMqL45lhZ8q28InQ FDaEFhRe/DoyfDYcTDq7tqWmVi/HtadQdoBAj1mtnb7QDPAU1IY02EL/3aVcME2tDhit GlOv0CY/fKydtUC/lj1LbLWCl+cShrnUX9JFGuc6p4/tA6sThSrIdEZnRb3sRfs7JvoO RrncxZhQCY17byZ4bEi3UtsmMQ+zqfIsWnsfQyfmAqEwMjADnZzTdOgAqBAr3iRQjvAF 8R8Q== 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=WMlBv82gr3Oucjj8zJ0Fh/Zv/PAP7tc63IV5O0Q5j6Q=; b=r82UxfVyoyP6vPcANOH/vrkum6RKKpWxF7rosCr9l1Kd1kdC02wTpshx58oGcmp3Kx YhKTu7G8RJ5yVmEXHeQa/qftdVCCjYorwKPhrczrASrMuGQITtfSRlf4VRwKefddzYKw xcWoUA5GW4YIFD2+7V9F/uBWbt1yS6bz8rc4fJZsBk31wl2HAkUx2j2aHHagnZUjxyCd 6W/eirs/LoysN71Tmyopah42vzEM04OLLLcf5j8iGnXgIPhqWc2y8dvVvuLgjwgJd1kj qG1+8IR7wWKgHaY48XVZDZI6/BNQdLUXagFzrLlL0TIGyZ0JqrBU/QL8xv7Zr+ZfhJ0K 8tAQ== X-Gm-Message-State: ABuFfoidBwzMdiYuCl1HTo0QwoZ8hYMv0pYIxxwTRuOkN80e1D+I8Ck9 eY/OiT6WYGyCJuzZtV3j14tMOVu5ZCvsrjoJiFzXZsnn X-Google-Smtp-Source: ACcGV63jOgG0Rs7TIXD50StAgpT99zs9iBQMaiJfDo4s3+0sr9GPW03YotB+codzwXWcWDnjTAveFBrbNuSgH1uixCc= X-Received: by 2002:a9d:7285:: with SMTP id t5mr24305489otj.345.1540040120664; Sat, 20 Oct 2018 05:55:20 -0700 (PDT) MIME-Version: 1.0 References: <8A47B1032B7A634D8DEF55F102DE2C9BC089363F@MBX021-E5-VA-2.exch021.domain.local> In-Reply-To: <8A47B1032B7A634D8DEF55F102DE2C9BC089363F@MBX021-E5-VA-2.exch021.domain.local> From: Rami Rosen Date: Sat, 20 Oct 2018 15:55:09 +0300 Message-ID: To: srinivas_kotamarti@affirmednetworks.com Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-users] issues with dpdk-pdump 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: Sat, 20 Oct 2018 12:55:21 -0000 Hi Srinivas, Can you do a simple test to make sure your setup is ok ? The suggested test is: instead od running you app, simply do the following: First, bind a port to DPDK. Then, run testpmd app (build/app/testpmd; as testpmd calls rte_pdump_init() if RTE_LIBRTE_PDUMP is defined). Then run again the dpdk-pdump, and post the result. For me this works with dpdk-18.08, I am aware that you are using an older version, but it should work also for you I believe. Please note that I had to remove the while spaces in the command, but anyhow these whitespaces did not cause the error about rte_eal_config_attach() you had, but a parsing error; after I removed these whitespaces, everything was fine, no errors; what I actually ran is; ./build/app/dpdk-pdump -- --pdump 'port=0,queue=*,rx-dev=/work/rc.pcapng,tx-dev=/work/tc.pcapng' and the log shows: EAL: Detected 4 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_15023_7a49f061eb1 EAL: Probing VFIO support... EAL: PCI device 0000:01:00.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:1584 net_i40e EAL: PCI device 0000:02:00.0 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:1528 net_ixgbe EAL: PCI device 0000:02:00.1 on NUMA socket -1 EAL: Invalid NUMA socket, default to 0 EAL: probe driver: 8086:1528 net_ixgbe Port 2 MAC: 00 00 00 01 02 03 Port 3 MAC: 00 00 00 01 02 03 Regards, Rami Rosen http://ramirose.wixsite.com/ramirosen