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 913F4A0A0E; Wed, 3 Feb 2021 11:31:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78C4F2404E2; Wed, 3 Feb 2021 11:31:11 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 7148C2404E2 for ; Wed, 3 Feb 2021 11:31:10 +0100 (CET) IronPort-SDR: iPOhOkYdQ0aAsZm9P2QuhPRZdoavahBvcF/L8sTilLgeNzRIqcjrXCouZUTLEz6k5YQSdItH1C gWp/lRbJUKGQ== X-IronPort-AV: E=McAfee;i="6000,8403,9883"; a="168128191" X-IronPort-AV: E=Sophos;i="5.79,398,1602572400"; d="scan'208";a="168128191" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2021 02:31:09 -0800 IronPort-SDR: hk8SKB7YMx14AsQ3edFAbzE8DVyLz6JwIic96/WrIIHUmt4z7YoZq/ckB8z1W8MGdE3kBWn3ld 7ulx8FJIyPvw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,398,1602572400"; d="scan'208";a="579417396" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga006.fm.intel.com with ESMTP; 03 Feb 2021 02:31:09 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 3 Feb 2021 02:31:08 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 3 Feb 2021 02:31:08 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 3 Feb 2021 02:31:08 -0800 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.105) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 3 Feb 2021 02:31:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lX9GGziZvdyYWYFhNmURvyl12pNLuUDIA9I2SC/DSSS8hGpsBSgvc9I40NLm/V/+yjw09nppBqhVZ0eOsVOT7TZQAKtEgkhLkjsfVugoWCmcAySoAO9BKunj+J7szzWuOQ6vvysmsK7jKvYezc90CNznR89C5lB1dRXNLYXiNRuMRG7Hqslx8a39ZL/Qd1A35UdCPJ8lMSvNRqelX7p3xkuc8I+vvrEnt4u8RbACE3XURKmHZaIo3JnDNokGN/EbrBhkr1WiKQAXZowGjFuvUCoFPry25lAcNLjXhMjSnuyGLE8P/KU8nGJwkIpLvMu9/Hxe4qYOFtmgSCrkO+3K3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6jTub8deZ9So7BH3dhtU0jt388hu97ivkO8DzPjKAC0=; b=OeQazhSr4fKN/GHsCEUe1YP83GuOzWgtkSAPjKU00M75JgXD6erxywmrMxwmjbppr5QrFaBXU60vk57+rOp0EWJhcyPuHkSmLB9dvgkQhu1nlAGGQgabDmBAS/mJ25yknykZRflvKX6wsrFiJ5nj65oLvsYki6wufEgljBI86wptsFhdExUa7l9e0S8niqUasGUFRN6Z4a6dcasTFexM0pXsxD8DuKQ+Yma259l3qzp0CdXjND0S1hnnhYhTHP3K5kSi9Xq6z3+2xxk4KjhrDWcVI1PI3LkJhwMeYZ9Da4c5KvbfJqBY+gM63a/ksDbKHG2EB2Din+VsHIl8AgdVXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6jTub8deZ9So7BH3dhtU0jt388hu97ivkO8DzPjKAC0=; b=KjNeXAzQmNfnyxQU1TM27vq26ristjdmp/CRyztBTcnark8Q/CZL/Iq4Wk3h775yPkfPqnc7MivZqrXk1bi/hJudOZ5+XSL+W3Fi3CvA+7UFx75nVE5M9N7FcktznzuVb/dXg1Wjs6gDN8AA7t9SCh+CbQ31UZWPKnSl5AYHBxg= Received: from SN6PR11MB2575.namprd11.prod.outlook.com (2603:10b6:805:57::20) by SN6PR11MB2574.namprd11.prod.outlook.com (2603:10b6:805:59::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.19; Wed, 3 Feb 2021 10:31:04 +0000 Received: from SN6PR11MB2575.namprd11.prod.outlook.com ([fe80::9d6c:4be4:a008:9787]) by SN6PR11MB2575.namprd11.prod.outlook.com ([fe80::9d6c:4be4:a008:9787%6]) with mapi id 15.20.3784.021; Wed, 3 Feb 2021 10:31:04 +0000 From: "Dybkowski, AdamX" To: "Power, Ciara" , "dev@dpdk.org" CC: "akhil.goyal@nxp.com" , "Doherty, Declan" Thread-Topic: [PATCH v2 3/3] test/cryptodev: fix handling for config parameters Thread-Index: AQHW+YS1EPWAv++A0keG5zVTqkX9IapGPEQw Date: Wed, 3 Feb 2021 10:31:04 +0000 Message-ID: References: <20210202114847.3724834-1-ciara.power@intel.com> <20210202165816.3767724-1-ciara.power@intel.com> <20210202165816.3767724-4-ciara.power@intel.com> In-Reply-To: <20210202165816.3767724-4-ciara.power@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.0.76 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [109.206.213.202] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d8aa726a-989a-47ed-8ee8-08d8c82ecf5a x-ms-traffictypediagnostic: SN6PR11MB2574: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wrbDMyJyzQjolpWJ/XPOywv33v06Z6zbPV4u6epdnxGYH0gmVNw3V8s3RxOIdhoLl3INPSRZpqDey4Br/Wf8WE4gC8xYuhxsGyB1fSoSBbxbe4K791oWddrHE7naoGDroT80UZ2kdkmustc6j5qiBY6iI3WIwrNoaXiGTTedncekXudHtixPLM7Nc+qB+6Wu53vedl4SZxpJF58VBX/EwDBz1CeCpYgNzlbclBHK3dD1lswgX+g+7ANVv65hJSvomLZk8J7RkukCT+YS5t1cd/LU3tcGIwB8z8r+J+bb5/3dGmUuCj7xzbmjr++12NLPmr7xUA3RpGv/U+p7YTQaLiDka9bhMTgXOXnOIhF+bQkLN65Y7QsahQLTugiPQA8k6wpmYWAW1VyC6EnWRZqRi03AnaFpJXkIwNBbEEQm9l25ITfC4Ggf4O8pU17UiYAIrJQlVvyOMq1Ok+qazUN8KpvCluqe8VcdxjfBqcOvIjm72swiMinM0vnlNtOAs9zA4k8COC+XT5ILyQo9lsT/Dg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2575.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(136003)(39860400002)(366004)(346002)(396003)(6506007)(86362001)(4744005)(478600001)(7696005)(76116006)(55016002)(83380400001)(66476007)(66446008)(64756008)(107886003)(8936002)(71200400001)(2906002)(4326008)(26005)(52536014)(110136005)(5660300002)(9686003)(53546011)(66946007)(66556008)(8676002)(316002)(33656002)(186003)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?g65WeLKtqDx0Yjaz4akzSnks5Pw+D6Od47ZxkfvEh0ODoX5MPRJ+tPZbUVYw?= =?us-ascii?Q?jsFbbZsx7ULTuHwitksREW5H8e/juyzo3YVzhas2T++6g2WXo7lDkDPPuDDw?= =?us-ascii?Q?Xg7n6cfm7qaEw7fG5LaGbP/SbK6JIAOz44S52AUld6RY3c9E/m8WTJbo7ZVi?= =?us-ascii?Q?wvtnafqmitAzCrr4ZhnKbu8sfHBubgfl/vdFyJ/FhofQq3Sv7cmRnBxjMvvR?= =?us-ascii?Q?F4LOlZUaDqTGkFffUBRGkpax5vJ6wY0kpdKjltzsk6s8lHf4UpcObb2PAw56?= =?us-ascii?Q?XlsFyoxYrTNHubgYXNucwVPvnp1Cefo+ExbCVAIzZS8hokKtLpqI78MFCBov?= =?us-ascii?Q?iUJp7GSgtZTMyINOuQ+nJ6fWwQX+eNOLFy8oiaLpTHcjhO113SLKO325jJKj?= =?us-ascii?Q?jo23CdaXawGSBj8jREOGdsGpIXDdIURZmxpyXm//HWyXm206YrguoxWDtFoG?= =?us-ascii?Q?8OwENMynUm4QSqcc4v+FcxtFTlC3cOnwiTuUHrIQygedtE2cPe956J2dVbmW?= =?us-ascii?Q?BxFypgQYJXbCeEhS+ItTVZFw1BcH/Y+3NvM04SyJIGk4FpKuqbE0gxtfFXOq?= =?us-ascii?Q?twniFBZ1PV0QhwXAwr7IGoeUbWIjtVLJq9bXZShi64jk0OaAnD69e7ACy+ky?= =?us-ascii?Q?2PmXi8VFHftKK+gtduvMnBNvP0XPB1q+SH53i93otqjQ9Ss2W1c6CS8f3djc?= =?us-ascii?Q?Iqxqb6OiGjuRvgb30rU9N2wzWJdgPPO5pGcMXKooOXR9Um+q8JkejEgt6y9I?= =?us-ascii?Q?sXNdZONhNZh+KfXbL6dSczS0FkeI6cdd7U/pOis07KI4v0IeTazPpIkm1BBi?= =?us-ascii?Q?326aBnj/MMsjDanc6wLjYe0UvUuPt8yZarrPveVmlgQBA24ONWmwDC3O4nVN?= =?us-ascii?Q?msHOzfqgvmUkCKWUb4Uu/WtE5yC39xmGOvqGf+DksM2YvlABSrPm8kyrx2PC?= =?us-ascii?Q?wJm8vKciHhzmuBFK/lNtU+CE9XuJq9JEf7vUd3xmyA6LRZjaRw0KLnNkaN7n?= =?us-ascii?Q?vE7M8jCMKiewzE9+9JpKcIvVccfcM8LAh9jBJZEMyQXPybt4uFKa48t4kvml?= =?us-ascii?Q?0H6j7HcEf0TMJBKviJVpcs6bBgF1hMMD8i82Pl6xHf9KIKjjxYExHM84lVVL?= =?us-ascii?Q?RauReuSDGFgWvakdVSYylXZPT0GSyKcMNMZLkA+UFutfB9QnwRyqn1/2My8t?= =?us-ascii?Q?4l1y2l7iEoBDIOEG3o1k+dCijMbSvkziZqvGQp+qsMiIjFum3+ToeVkT/ju8?= =?us-ascii?Q?3/+LzbrJjKJh6jFFdbAK0L7GNwgF1fIPLSEAOvPTJjWU3dtXeM+6TSNMx0mX?= =?us-ascii?Q?n8UemFHpdlVtiSN0qOq/ZTq6?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB2575.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8aa726a-989a-47ed-8ee8-08d8c82ecf5a X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2021 10:31:04.4885 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vyt8sBp8GlYFzYevjgxkjIbH66yXLdqpiHfLzwosmFd6QEm0GckrWUdx6wRFYOO7B5oAzkZLB7s8HArxrLrcB+ZrlTP89DYfNYJgpCP0YFo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2574 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 3/3] test/cryptodev: fix handling for config parameters 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 Sender: "dev" > -----Original Message----- > From: Power, Ciara > Sent: Tuesday, 2 February, 2021 17:58 > To: dev@dpdk.org > Cc: akhil.goyal@nxp.com; Doherty, Declan ; > Dybkowski, AdamX ; Power, Ciara > > Subject: [PATCH v2 3/3] test/cryptodev: fix handling for config parameter= s >=20 > The crypto perf graphing script did not handle parsing parameters from th= e JSON > config files correctly. > A common parsing function is used for both EAL and app parameters, to ens= ure > they are handled the same way and to reduce code duplication. > Short parameters are now passed with the value being a second argument, > rather than as one argument with dividing space. > Long parameters with no expected value are supported for EAL now also. > e.g. "--no-huge" can be added to config as "no-huge": true >=20 > Fixes: f400e0b82bf1 ("app/crypto-perf: add script to graph perf results") >=20 > Signed-off-by: Ciara Power Acked-by: Adam Dybkowski