From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E13F12B9C for ; Tue, 30 Apr 2019 14:44:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Apr 2019 05:44:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,413,1549958400"; d="scan'208";a="146987449" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga003.jf.intel.com with ESMTP; 30 Apr 2019 05:44:33 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.173]) by IRSMSX152.ger.corp.intel.com ([169.254.6.225]) with mapi id 14.03.0415.000; Tue, 30 Apr 2019 13:44:33 +0100 From: "Pattan, Reshma" To: Suanming.Mou , "dev@dpdk.org" CC: "Varghese, Vipin" , "Burakov, Anatoly" Thread-Topic: [dpdk-dev] [PATCH v5] app/pdump: add pudmp exits with primary support. Thread-Index: AQHU/zfbTBGCUCkmL0CVsEuQ/VtGi6ZUoD9w Date: Tue, 30 Apr 2019 12:44:32 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A44C742@irsmsx110.ger.corp.intel.com> References: <1556595548-53745-1-git-send-email-mousuanming@huawei.com> <1556624124-54930-1-git-send-email-mousuanming@huawei.com> <1556624124-54930-2-git-send-email-mousuanming@huawei.com> In-Reply-To: <1556624124-54930-2-git-send-email-mousuanming@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGI1NzU3ZGItZjE4YS00OWM0LWJiOTAtMDdlNjNlMTAyYTU5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSEdlNkJMWVk5TUdKSFJxOGZnT1lERVRBcmlFb3g4THpINEx2bGFMNzV3RmJQOTF3MTdsOHNCUDl4WndXR0NzQSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5] app/pdump: add pudmp exits with primary support. 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: Tue, 30 Apr 2019 12:44:36 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Suanming.Mou > Sent: Tuesday, April 30, 2019 12:35 PM > To: dev@dpdk.org > Cc: Varghese, Vipin ; Burakov, Anatoly > > Subject: [dpdk-dev] [PATCH v5] app/pdump: add pudmp exits with primary > support. >=20 > When primary app exits, the residual running pdump will stop the primary = app to > restart. Add pdump exits with primary support. >=20 > Suggested-by: Varghese, Vipin > Suggested-by: Burakov, Anatoly > Signed-off-by: Suanming.Mou You need to run below scripts, and fix the issues reported before sending n= ext version. 1) Ex: export DPDK_CHECKPATCH_PATH=3D/usr/src/kernels/4.18.9-200.fc28.x86_64/scrip= ts/checkpatch.pl [DPDK]# ./devtools/checkpatches.sh ### app/pdump: add pudmp exits with primary support. WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate= line #62: FILE: app/pdump/main.c:559: + * function will take care about that. */ total: 0 errors, 1 warnings, 83 lines checked 0/1 valid patch 2) [DPDK]# ./devtools/check-git-log.sh Wrong headline format: app/pdump: add pudmp exits with primary support. Need to remove full stop at the end. Wrong tag: Suggested-by: Varghese, Vipin Suggested-by: Burakov, Anatoly Might need to remove , > @@ -26,6 +26,7 @@ > #include > #include > #include > +#include >=20 Nitpick: As per the coding guidelines(https://doc.dpdk.org/guides/contributing/codin= g_style.html) the order of the headers is below, so you can include rte_alarm.h after =20 libc includes (system includes first) DPDK EAL includes DPDK misc libraries includes application-specific includes > +#define MONITOR_INTERVAL (500 * 1000) Adding comment on how many ms/us would be helpful. > + /* Don't worry about it is primary exit case. The alarm cancel > + * function will take care about that. */ Multiline comments should be like below. /* * Multi-line comments look like this. Make them real sentences. Fill * them so they look like real paragraphs. */ Source: https://doc.dpdk.org/guides/contributing/coding_style.html Thanks, Reshma 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 6E6EEA0679 for ; Tue, 30 Apr 2019 14:44:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9FA7F5B36; Tue, 30 Apr 2019 14:44:37 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E13F12B9C for ; Tue, 30 Apr 2019 14:44:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Apr 2019 05:44:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,413,1549958400"; d="scan'208";a="146987449" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga003.jf.intel.com with ESMTP; 30 Apr 2019 05:44:33 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.173]) by IRSMSX152.ger.corp.intel.com ([169.254.6.225]) with mapi id 14.03.0415.000; Tue, 30 Apr 2019 13:44:33 +0100 From: "Pattan, Reshma" To: Suanming.Mou , "dev@dpdk.org" CC: "Varghese, Vipin" , "Burakov, Anatoly" Thread-Topic: [dpdk-dev] [PATCH v5] app/pdump: add pudmp exits with primary support. Thread-Index: AQHU/zfbTBGCUCkmL0CVsEuQ/VtGi6ZUoD9w Date: Tue, 30 Apr 2019 12:44:32 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A44C742@irsmsx110.ger.corp.intel.com> References: <1556595548-53745-1-git-send-email-mousuanming@huawei.com> <1556624124-54930-1-git-send-email-mousuanming@huawei.com> <1556624124-54930-2-git-send-email-mousuanming@huawei.com> In-Reply-To: <1556624124-54930-2-git-send-email-mousuanming@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMGI1NzU3ZGItZjE4YS00OWM0LWJiOTAtMDdlNjNlMTAyYTU5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiSEdlNkJMWVk5TUdKSFJxOGZnT1lERVRBcmlFb3g4THpINEx2bGFMNzV3RmJQOTF3MTdsOHNCUDl4WndXR0NzQSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v5] app/pdump: add pudmp exits with primary support. 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: <20190430124432.ZqG6mNtSTqkG2RW5GUvnZmPWuvmcmgohjG7fb9ZvsZA@z> > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Suanming.Mou > Sent: Tuesday, April 30, 2019 12:35 PM > To: dev@dpdk.org > Cc: Varghese, Vipin ; Burakov, Anatoly > > Subject: [dpdk-dev] [PATCH v5] app/pdump: add pudmp exits with primary > support. >=20 > When primary app exits, the residual running pdump will stop the primary = app to > restart. Add pdump exits with primary support. >=20 > Suggested-by: Varghese, Vipin > Suggested-by: Burakov, Anatoly > Signed-off-by: Suanming.Mou You need to run below scripts, and fix the issues reported before sending n= ext version. 1) Ex: export DPDK_CHECKPATCH_PATH=3D/usr/src/kernels/4.18.9-200.fc28.x86_64/scrip= ts/checkpatch.pl [DPDK]# ./devtools/checkpatches.sh ### app/pdump: add pudmp exits with primary support. WARNING:BLOCK_COMMENT_STYLE: Block comments use a trailing */ on a separate= line #62: FILE: app/pdump/main.c:559: + * function will take care about that. */ total: 0 errors, 1 warnings, 83 lines checked 0/1 valid patch 2) [DPDK]# ./devtools/check-git-log.sh Wrong headline format: app/pdump: add pudmp exits with primary support. Need to remove full stop at the end. Wrong tag: Suggested-by: Varghese, Vipin Suggested-by: Burakov, Anatoly Might need to remove , > @@ -26,6 +26,7 @@ > #include > #include > #include > +#include >=20 Nitpick: As per the coding guidelines(https://doc.dpdk.org/guides/contributing/codin= g_style.html) the order of the headers is below, so you can include rte_alarm.h after =20 libc includes (system includes first) DPDK EAL includes DPDK misc libraries includes application-specific includes > +#define MONITOR_INTERVAL (500 * 1000) Adding comment on how many ms/us would be helpful. > + /* Don't worry about it is primary exit case. The alarm cancel > + * function will take care about that. */ Multiline comments should be like below. /* * Multi-line comments look like this. Make them real sentences. Fill * them so they look like real paragraphs. */ Source: https://doc.dpdk.org/guides/contributing/coding_style.html Thanks, Reshma