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 811C5A00C3; Fri, 16 Sep 2022 18:42:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 295144021D; Fri, 16 Sep 2022 18:42:28 +0200 (CEST) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by mails.dpdk.org (Postfix) with ESMTP id EDF3B4021D for ; Fri, 16 Sep 2022 18:42:26 +0200 (CEST) Received: by mail-pf1-f181.google.com with SMTP id a80so13185381pfa.4 for ; Fri, 16 Sep 2022 09:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=DJZmKxqgu/1PemjQjsbU8DnYI3GARDxe7Z04lUMed8Q=; b=vU+7iKBDj1SmbmFhcSib8FipjesDHi+PPd0y5VzY57ldvt0RF4k7pdCZkSuLTg4L7y ssSMYY9cEpLlK5Xn9QbVJOLjW13exb6sMeaKTxXHofr6If2lTBzGDoTJ/k1M4eCrrg4z 6D0RZ4tz3y84d7XSKKSONwW+lG3n7HiTz/Q/AHeIleoGPHZzaIgXQ8U6efnT0DVrP2Dm ZvlRUkIS/pZYyGx530zX2QWsLnCex8QixugWGn0emmFvlUbFUda57QyizPel952yXWeH X3mNNWuSdU0h2gPJR1OFivqWjBwyvNmP8LOWxqstuI/TCZRTRXkjHiEVJ1kHARSbLy0q MsGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=DJZmKxqgu/1PemjQjsbU8DnYI3GARDxe7Z04lUMed8Q=; b=0qhAA1mgMCOLbmas7nx2iLbfvVrlIkfx+4eFDASZG2vOPtIxAuwZorj2bz43SqqdK5 +ZylzeMEX/dYnUqAG7p+XZeayU/PapaqS0CkvHB0pb9tkXFKBkOe2Bzka2yMQcmY2SYb HAes/SP+8x5XxHGC9rmfcpXPXhXvzEogmoAflDTksF3nK74nlVnJ1W3znEPXxPX0u7t2 KYdroyjIG141/2iJJNezxC21hWLgrHBZ2/7YNtbBbr3Ur7bnvHnXAAr6LUmfdCg7CNSP Av9rhmxUnRRxriMrZTzUm52H8MkpRps5hQKQZE6lNbjxTBXOAZyNQ3jWMD+yt5WR4DJ1 s21g== X-Gm-Message-State: ACrzQf0/3RgWpY2v0QSGoUkpRbfDpMMk0dW5O871T3TvMX/iHrzW6Pgw xb53gc3yYSx1+lmzgMUMXd07qA== X-Google-Smtp-Source: AMsMyM7vaWJzAp4weGJj/w/Ukx8OMNxaJjADOZ1+mxOBHiI8wDA9gnUdCvf+hn8voaBNP3tQ+9vDIw== X-Received: by 2002:a05:6a00:1342:b0:545:4d30:eecb with SMTP id k2-20020a056a00134200b005454d30eecbmr5942092pfu.69.1663346546043; Fri, 16 Sep 2022 09:42:26 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d14-20020a170902654e00b0017541ecdcfesm15215090pln.229.2022.09.16.09.42.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 09:42:25 -0700 (PDT) Date: Fri, 16 Sep 2022 09:42:24 -0700 From: Stephen Hemminger To: Navin Srinivas Cc: dev@dpdk.org, users Subject: Re: Issue on capturing using DPDK Pdump on secondary interface. Message-ID: <20220916094224.4979921b@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, 25 Aug 2022 11:43:11 +0530 Navin Srinivas wrote: > Hello, > > We are facing a strange issue, we have the following setup for our > application. We wanted to capture packets using dpdk pdump for our > application, and started to notice an issue in capturing on DPDK 21.11 > So we went back to DPDK 20.11 and we still saw the issue. > > [image: image.png] > Think there is an issue in the pdump library to capture packets on the > secondary interface. But I'm not sure where to look. > APP1 - Primary APP > APP2 - Secondary APP. > Ports and ring inits are done by APP1 for APP2. > > We are able to capture packets using the standard example application of > pdump and capture on port 0, but we are not able to capture on port1. > > Has anyone come across this issue? Is there an open bug for this? > The multi process is working properly, and we are able to transmit and > receive packets on the secondary interface without any issue. We are facing > issue only on capturing packets on that interface(port1). > > Are there any pointers where I can start to look? > > Thanks & Regards, > Navin Srinivas Pdump is a secondary application itself. Pdump doesn't handle multiple interfaces well, it puts everything together. You probably are better off using the new dumpcap which supports pcapng. Pcapng supports multiple interfaces in single capture.