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 4D66A42E26 for ; Sun, 9 Jul 2023 06:37:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B860940DF8; Sun, 9 Jul 2023 06:37:04 +0200 (CEST) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mails.dpdk.org (Postfix) with ESMTP id 09BFF40A8A for ; Sun, 9 Jul 2023 06:37:03 +0200 (CEST) Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-4fba1288bbdso4693479e87.1 for ; Sat, 08 Jul 2023 21:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688877422; x=1691469422; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=mCtEMOzBYlH1m0lGaxqZ4sD7XSd7PEQXqCqezp/rqI0=; b=cypkG684PVJaKmWBJ6A3Y8XGQhv0ll+BbfCH+Yjj2BoYfx/5+u2EmGsClL8TMgJ/CT IygxidgAEqT3Yan7KMJ15Uxh+yZDXsOrJZZskmzQwCtcPv5m29skgQr3+NJqW2vfy8PL dxjcDTuKp/VLbRussQzA8dQsrF7YNpf4DnwRjHQ29095ajvrEeEHGtjLc90jXJ7ihzDE /o9NT95hVdKa/OJ0niRaS46NabNuwGC1Xf855/Cj6v5VTAjnZP9ecQaPfOLJ45RfOTay W7TpjKQC1Y0Yb3cGvjJe+OgGnIlnq8KXjyw4wMx+BVtgE74O7zExUzITDTwHSNuDx4Sr 0vwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688877422; x=1691469422; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mCtEMOzBYlH1m0lGaxqZ4sD7XSd7PEQXqCqezp/rqI0=; b=RSF7QtxL5JQvMfQWxW0LVTOPWTMClD/zSsO45cjeKuUlbtIYGFv0QLJ4Dc/8atIlI4 8Tiv4bckCFI2pRFp4HMjhJFOmyyeg8ef4HpzH+EYFUwXE9uSz0CfvTI8p6aq5mfx+IYX 2F+5vMDUzqRiF4c/t73TzY7UwoTyTcuPjTJr8qQcbARiRJCtrMjOMBwLjq0c4kZCKF2d kS7bvxo5VNAwJC5kzK5aY7LDelqMBYDoytYECmccoo+V05/EvTn9CAUirGit663o5lHy d0MKfVYBPyAlTIkYn2D5PWbwrKIIhAXC1ITvTR1o0/famS636zl2SVgcvE0NBPKIJVVF m7MQ== X-Gm-Message-State: ABy/qLYZI+3qgVrC6Pt7kZO2GU5x43WdOZCazMcOU9FPyCAR8N78p40d 3uSZvyuwsWhcer0rHVgRWUvKmsZDJlS0ibgvKUVqMeo+rQHJrwbv X-Google-Smtp-Source: APBJJlEwG+H17tUdfC0xTkXXSN4VNd+NnccbeAdFGo1pssCFDO3FCz70DH5bA3TSc+wCFxufP85R963LrUYwaDovGM4= X-Received: by 2002:ac2:4c52:0:b0:4fb:85b2:cf78 with SMTP id o18-20020ac24c52000000b004fb85b2cf78mr8366743lfk.37.1688877421974; Sat, 08 Jul 2023 21:37:01 -0700 (PDT) MIME-Version: 1.0 From: Fuji Nafiul Date: Sun, 9 Jul 2023 10:36:53 +0600 Message-ID: Subject: How to add packet capture framework to a custom simple dpdk app To: "users@dpdk.org" Content-Type: multipart/alternative; boundary="000000000000ce59200600066a50" 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 --000000000000ce59200600066a50 Content-Type: text/plain; charset="UTF-8" Hi, I am using dpdk_v22.11.1 on ubuntu_v22.04.2. I have a simple app derived from skeleton and icmpecho which can reply to proper arp requests and also can reply to appropriate pings. Now whats the proper steps to add a packet capture framework like dpdk-dumpcap here as the doc didnt clearly said it, rather pointed out to check the testpmd.c I simply added pdump header files, then initialized rte_pdump_init(), then I tried to run dpdk-dumpcap separately that was successful after running testpmd app but with my custom app it failed.to run Then I noticed configure_rxtx_dump_callbacks() in port initialization and tried to add it properly in my app but failed. I am just not sure whether I am on the right way or not. so please help if you have already passed this. thanks in advance..! --000000000000ce59200600066a50 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
I am using=C2=A0dpdk_v22.11.1 on ubuntu_v22.04.2. I= have a simple app derived from skeleton and icmpecho which can reply to pr= oper arp requests and also can reply to appropriate pings. Now whats the pr= oper steps to add a packet capture framework like dpdk-dumpcap here as the = doc didnt=C2=A0clearly said it, rather pointed out to check the testpmd.c
I simply=C2=A0added pdump header files, then initialized rte_pdump_in= it(), then I tried to run dpdk-dumpcap separately that was successful after= running testpmd app but with my custom app it=C2=A0 failed.to run Then I noticed=C2=A0configure_rxtx_dump_callbacks(= ) in port initialization and tried to add it properly in my app but failed.= I am just not sure whether I am on the right way or not. so please help if= you have already passed this. thanks in advance..!
--000000000000ce59200600066a50--