From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id B70BD1B56B for ; Fri, 5 Apr 2019 19:10:58 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2019 10:10:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,313,1549958400"; d="scan'208";a="133300602" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga006.jf.intel.com with ESMTP; 05 Apr 2019 10:10:56 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.173]) by IRSMSX109.ger.corp.intel.com ([169.254.13.189]) with mapi id 14.03.0415.000; Fri, 5 Apr 2019 18:10:55 +0100 From: "Pattan, Reshma" To: "Varghese, Vipin" , "dev@dpdk.org" , "Kovacevic, Marko" , "david.marchand@redhat.com" CC: "Wiles, Keith" , "Mcnamara, John" , "Byrne, Stephen1" , "Tamboli, Amit S" , "Padubidri, Sanjay A" , "Patel, Amol" Thread-Topic: [PATCH v5 2/2] app/pdump: enhance to support multi-core capture Thread-Index: AQHU6TUZolXNuEnbuUCpahSBBxRO8qYo+TFwgADFMwCABBPMwA== Date: Fri, 5 Apr 2019 17:10:55 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A443D64@irsmsx110.ger.corp.intel.com> References: <20190402043318.20382-3-vipin.varghese@intel.com> <20190402091836.35779-1-vipin.varghese@intel.com> <20190402091836.35779-3-vipin.varghese@intel.com> <3AEA2BF9852C6F48A459DA490692831F2A4341B4@irsmsx110.ger.corp.intel.com> <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D3294C8@BGSMSX101.gar.corp.intel.com> In-Reply-To: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D3294C8@BGSMSX101.gar.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDVlYTc5ZmYtMTZjNi00MDA2LWExMDMtM2EzMzY2Y2IyNTBlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibGNsaGgyXC9OR3c2V1dDWElzRFpyWGVkUG5oZ2wwZ0RlTHVoMVp0cXI4RHF4SVFETW50NVZFXC9sc3ByUytnSlNCIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 2/2] app/pdump: enhance to support multi-core capture X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Apr 2019 17:10:59 -0000 > -----Original Message----- > From: Varghese, Vipin > > > > > + fflush(stdout); > > > > Why is fflush used here and in below other places? > To ensure the stdout content is flushed out. We had used similar approach= to ' > examples/l2fwd/main.c' >=20 Can you elaborate more? What problem do you see if you don't use this? Thanks, Reshma=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 028EAA0679 for ; Fri, 5 Apr 2019 19:11:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 37E2C1B56E; Fri, 5 Apr 2019 19:11:00 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id B70BD1B56B for ; Fri, 5 Apr 2019 19:10:58 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Apr 2019 10:10:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,313,1549958400"; d="scan'208";a="133300602" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga006.jf.intel.com with ESMTP; 05 Apr 2019 10:10:56 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.173]) by IRSMSX109.ger.corp.intel.com ([169.254.13.189]) with mapi id 14.03.0415.000; Fri, 5 Apr 2019 18:10:55 +0100 From: "Pattan, Reshma" To: "Varghese, Vipin" , "dev@dpdk.org" , "Kovacevic, Marko" , "david.marchand@redhat.com" CC: "Wiles, Keith" , "Mcnamara, John" , "Byrne, Stephen1" , "Tamboli, Amit S" , "Padubidri, Sanjay A" , "Patel, Amol" Thread-Topic: [PATCH v5 2/2] app/pdump: enhance to support multi-core capture Thread-Index: AQHU6TUZolXNuEnbuUCpahSBBxRO8qYo+TFwgADFMwCABBPMwA== Date: Fri, 5 Apr 2019 17:10:55 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A443D64@irsmsx110.ger.corp.intel.com> References: <20190402043318.20382-3-vipin.varghese@intel.com> <20190402091836.35779-1-vipin.varghese@intel.com> <20190402091836.35779-3-vipin.varghese@intel.com> <3AEA2BF9852C6F48A459DA490692831F2A4341B4@irsmsx110.ger.corp.intel.com> <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D3294C8@BGSMSX101.gar.corp.intel.com> In-Reply-To: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D3294C8@BGSMSX101.gar.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDVlYTc5ZmYtMTZjNi00MDA2LWExMDMtM2EzMzY2Y2IyNTBlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibGNsaGgyXC9OR3c2V1dDWElzRFpyWGVkUG5oZ2wwZ0RlTHVoMVp0cXI4RHF4SVFETW50NVZFXC9sc3ByUytnSlNCIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5 2/2] app/pdump: enhance to support multi-core capture X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190405171055.VbnG4ZNwZG1Od4MxJlPzIs5jIvJcmsZ82o12U1GA0Fo@z> > -----Original Message----- > From: Varghese, Vipin > > > > > + fflush(stdout); > > > > Why is fflush used here and in below other places? > To ensure the stdout content is flushed out. We had used similar approach= to ' > examples/l2fwd/main.c' >=20 Can you elaborate more? What problem do you see if you don't use this? Thanks, Reshma=20