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 2C6A5A00C3 for ; Fri, 16 Sep 2022 18:42:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF72340DFD; Fri, 16 Sep 2022 18:42:28 +0200 (CEST) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id EB6EC40156 for ; Fri, 16 Sep 2022 18:42:26 +0200 (CEST) Received: by mail-pf1-f178.google.com with SMTP id 9so10657251pfz.12 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=OnL6SZX0djZk2zelHfHaRa9o8Wf7UUa9ph0zkx5aRr8+i/LybUDcRmTTCbrCZTSmFI VuaJpAvHwdmhRHE9CcIljotNdzzrTC5FW1i8TavZQxnSHANJ9bsyoh6n5Ux7FOJM7rvV xeCjcWGBJSJTpNMdupcaf+cpMhTWhSAK5iSp17thtirsOi6MwPbeWGchR1qI8K/mlmRE ImPw9b5JuBs8YOlenxYerGd1+mdZtySNw7tZi70KszRl4sCMaEREHZ3d3vAa6mneMdZt 0/9geYpQHkj3rEgr4WT2QcX1no2PRF12uKnjLJiizcPjbMc4/4YCPgoQnJLNSp/6SDqg 1a4g== X-Gm-Message-State: ACrzQf1W0TqIO9Ji1CoQA18nY/0l1Bxy1qslCw0k35564buvf2v8GdAZ +DJ/ZNLlA8w/q9C6SJ2/aKqoNXbgtULUgA== 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: 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 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.