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 76794A04FD for ; Fri, 8 Apr 2022 17:12:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D7C74067E; Fri, 8 Apr 2022 17:12:02 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTP id A0CC94003F for ; Fri, 8 Apr 2022 17:12:00 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id md4so615293pjb.4 for ; Fri, 08 Apr 2022 08:12:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=in7mdFH8IYYNLqUf66HGw0953kxNm2fJExSwXkw40oI=; b=lpSgnaIfvAnnjucogVumh1ezXZOKB2JjiecFH9sJ+CEHovyzVRu7OLL+ELOpolFv37 OTC5n5JnzuAOy003SAhPru9rhwwSnxpbjs9KzGN3j08nyS8of43CyPF15Z5IZkDcQRln epLTfd0x2iRvW0qotEIXU85FUz25L1ROs8bWC+IQfyMBeSiRS7zCQb7B/Jz//1C36BYd eMPsZXJYEm5+nWbWkXAworKEvP4wDpVMcQpDa3Ag8lRy98w9JRqOeOA7aU5hvh/kfEUM +lBy8DoVoWyby7VHkqNzLAmFGrOKOtf1B/jnw741R1fyoJGanBs6HHmBwW8bfWrx9dG+ vl7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=in7mdFH8IYYNLqUf66HGw0953kxNm2fJExSwXkw40oI=; b=vfF+BudHsoFjipqku/xbpm/pWgNFWhw7VJsRy2BlQ7QsG5Ls9n2+fia7uVq2qlQunI lGCU1Ws7EILQ5dFZ4cxfe0uCEGm3kk/rXW3C4fUgyqvPUPHL+8bUWFOw9KO/wu1mXrfl NjDR+a9AX2okZtttVWJsDpVctTr1bTXaxrBbNQp6Cf3d9c1RdgutDggZVeAZHv3qA6Ee pwqb2xSevLM4aOrUD/WjRu8jiAZbQbLBkJ67ltWvSTxzsuga0cfoHlyypE6dQTpKxSfn ksPpykmiI1cMsJdLAtrNlaeJMW/LKNQ71ul/hEKQcgsFFydWzS6NmpA6yWc+p0w1vru2 mtOQ== X-Gm-Message-State: AOAM532ryf+MF/M5YPKhzSCITH+jL+QNT6wM+RbNB19ZmCIoQXIypZnn 0ooEtlF40jpIeOxHEtTfjdjKMQ== X-Google-Smtp-Source: ABdhPJxYp7Dgwv5LmG/bEp3+cwm8K50wTnT4AsXpM+yrPVxg+sblzTMnDk5UunN9yzvzhfHoAMEL2g== X-Received: by 2002:a17:90b:4b42:b0:1c7:3f6a:5d97 with SMTP id mi2-20020a17090b4b4200b001c73f6a5d97mr21956776pjb.27.1649430719677; Fri, 08 Apr 2022 08:11:59 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id n4-20020a637204000000b00398522203a2sm22350454pgc.80.2022.04.08.08.11.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Apr 2022 08:11:59 -0700 (PDT) Date: Fri, 8 Apr 2022 08:11:55 -0700 From: Stephen Hemminger To: "sakaia@fujitsu.com" Cc: "'users@dpdk.org'" Subject: Re: Question about dpdk-pdump ring buffer Message-ID: <20220408081155.6ff15aac@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Fri, 8 Apr 2022 06:50:36 +0000 "sakaia@fujitsu.com" wrote: > Question about dpdk-pdump ring buffer > > With updating from 21.08 to 21.11, The packet capture is failed. > Previously(21.08) it works fine. > > I want to know 2 things > a)the difference of dpdk-pdump between 21.08 and 21.11 (seems bpf changes) > b)where pcap capture the ring buffer for secondary process? > > The output is coming from print_pdump_stats function is zero for 3 parameters.(N.B.1) > Above parameters are counted on pdump_rxtx function.(it is zero on this function also) > The ring seems copied under mp_handle (process_msg) or mp_pdump. > > P.S. > I understand dpdk-pdump seems to be deprecated by introducing dpdk-dumpcap. > > Reference > https://doc.dpdk.org/guides/prog_guide/pdump_lib.html > https://doc.dpdk.org/guides/prog_guide/multi_proc_support.html > > N.B.1 > > ##### PDUMP DEBUG STATS ##### > -packets dequeued: 0 > -packets transmitted to vdev: 0 > -packets freed: 0 > > Thanks in advance > > Atsushi SAKAI What is the application, is it built wit 21.11? Note: You can't mix DPDK versions. The ring is internal structure so both application and pdump must be built from same version.