From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vipin Varghese Subject: [PATCH v5 0/2] app/pdump: enhance to support unique cores Date: Tue, 2 Apr 2019 14:48:34 +0530 Message-ID: <20190402091836.35779-1-vipin.varghese@intel.com> References: <20190402043318.20382-3-vipin.varghese@intel.com> Cc: keith.wiles@intel.com, john.mcnamara@intel.com, stephen1.byrne@intel.com, amit.tamboli@intel.com, sanjay.padubidri@intel.com, amol.patel@intel.com, Vipin Varghese To: dev@dpdk.org, marko.kovacevic@intel.com, reshma.pattan@intel.com, david.marchand@redhat.com Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id BEE85A3 for ; Tue, 2 Apr 2019 11:18:15 +0200 (CEST) In-Reply-To: <20190402043318.20382-3-vipin.varghese@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The patch series enhances application to support pdump capture to run on unique cores. Motivation ========== DPDK pdump capture tool currently runs as secondary on the default core 0. For all --pdump, core 0 iterates and capture packets. This leads to drops and delay in the capture. This introduces skew in result and performance bottleneck. In order to allow --pdump to unique cores, the pdump application has to be support multi-core in EAL arguments and each --pdump has to be mapped to unique cores. Status ====== - Default c_flag option is removed. - with option --multi, the application can run on unique cores. Change Log: =========== V5: - Re-use MACRO and replace strncmp - David Marchand V4: - spelling correction - Reshma Pathan - remove c_falg - Reshma Pathan V3: - correct the parse_usage - Vipin Varghese - add change log - Vipin Varghese V2: - Replace option '-c' to '-l' - Keith Wiles Vipin Varghese (2): app/pdump: remove core restriction app/pdump: enhance to support multi-core capture app/pdump/main.c | 109 +++++++++++++++++++++++++++---------- doc/guides/tools/pdump.rst | 8 ++- 2 files changed, 86 insertions(+), 31 deletions(-) Future: ======= - In multi mode, allow master to stop --pdump for desired file size. - Stop selective pdump. -- 2.17.1