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 5756DA0C5A; Mon, 29 Nov 2021 15:52:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C4C074068A; Mon, 29 Nov 2021 15:52:19 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 1F0CE40689 for ; Mon, 29 Nov 2021 15:52:17 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10182"; a="235806618" X-IronPort-AV: E=Sophos;i="5.87,273,1631602800"; d="scan'208";a="235806618" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2021 06:52:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,273,1631602800"; d="scan'208";a="558829574" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga008.fm.intel.com with ESMTP; 29 Nov 2021 06:52:16 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) 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.2308.20; Mon, 29 Nov 2021 06:52:16 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 29 Nov 2021 06:52:16 -0800 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 29 Nov 2021 06:52:15 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n3R3NQmc/UncYvxs2GcCiZLLjExvs9lQbi+T09cZLVKRXDxReF2OgVVQEf1DQ4wljNvJvbGPO4pmUQNnsmr242GSj4jpeq2J86fwfyg3GOn0IjVupUtcXnR7QwldUb1MZJ2uaY6FiGU5SUnP8tmOjoRissdwvgFSty9BNej2eqTA2S0pUfc299FOXjEA8TlzaWQ2NXRLTFerzV1dpEv2rMO3W8E1Ikut+WzqHeufRzULp7kDZmfkiLeWIneyrops3o5SdyDLoZ6Vds3xbdoKCTx+Sz0QzjOF/4dorU0aSE9TvFuZyWz9a+wnT0KvptpsgTubtbCsmK9pr4gXfbufjA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5W5UZmgLrfXRhgP0Lh9AltFhAVM6BTQgHaPwaP1vYYs=; b=AosxwIx0w5/j19snfLN7SqzgRWish53sTYoJvzSgyJ8oSryDKwTjv3ZYrNtGFaig7VHSEcU4AsUP9eQTb0mOntm2qJno5D3FiDX1tiN8aDqfFm8qZPWTCcqd+NHEk1iPfYCsrMQP/cQGTnfNwx4iCkhiuk5VWAvbhS37lrrYCa8yGybnazNl0lE4ITFp3OeX+CyukJMLTol1RpiCznffTPhWnHH8cc+cj3kp4pHtMKYAVdiyQ7SIw/vkayJYXUkr6HSkdLHt8SazeNdnABEyaNRdwY7Rmr+LGtHHO6UWNP6+jlfOmzpJ8wA630V36FI1RnUIOu0wJBngVXZfyjP3cg== 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=5W5UZmgLrfXRhgP0Lh9AltFhAVM6BTQgHaPwaP1vYYs=; b=PhBWsNr+trzR9TxK01xU5//ijvtTPxSXRfH7/JS16uJTyJ5dliy3V/zeG2Ek+TXOvIm6HI8hv9Ta3Ywroenq3XNrlu/L8iAWX5koNNT6p/rLFtB6vp8FX7TO6O3DqEWz1FlgkS9W0Cz6qDbtTjp0aLvJpRrCg2eoTo211RMJScs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4888.namprd11.prod.outlook.com (2603:10b6:510:32::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22; Mon, 29 Nov 2021 14:52:13 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c%5]) with mapi id 15.20.4734.024; Mon, 29 Nov 2021 14:52:13 +0000 Message-ID: <4ec4e250-11cf-86dc-2384-946dc1f7790d@intel.com> Date: Mon, 29 Nov 2021 14:52:07 +0000 Content-Language: en-US To: Josh Soref CC: Bruce Richardson , , "David Marchand" , Thomas Monjalon References: <20211126195851.50167-1-jsoref@users.noreply.github.com> <737b8856-a247-3709-ad4c-a074d4547c86@intel.com> <68412427-b6aa-cb38-110a-14bc90d8fdc0@intel.com> From: Ferruh Yigit Subject: Re: [PATCH] Spelling X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB3PR08CA0024.eurprd08.prod.outlook.com (2603:10a6:8::37) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB3PR08CA0024.eurprd08.prod.outlook.com (2603:10a6:8::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.22 via Frontend Transport; Mon, 29 Nov 2021 14:52:12 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dfff4d24-5c39-46ee-5bb5-08d9b347d436 X-MS-TrafficTypeDiagnostic: PH0PR11MB4888: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:862; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: POenIT/1kxz+9yshH5oBs/AVe9Qg4YbLFnPA3TPZRc1ZmDvjmHLV4TYqjtKCSw96cyCnF6efFPh3AjVv0/kpdORKkSEExalAloq1cNAxpe38f3RlMcNwWgBmAbm7HBk4LBRkGKl1QGl3DQLMZGH8/79wIV61j3P67It6a7t24KMEmviS0Mv20Ebqk+fWgvrHWdMfbMiL4dMzxJUPW3orRgm2dGbSvzntK39LFygTKQAyST/O5+oWFMcqt2SBmVfjG2rLZofmWJy9mDrYyhJSgUfwyq26l15GVNTf/en/oKz++5ROCTrXr5Ue1q+vUvrGLrvi03teS/1QGaoyNfpaHsIs3tAA3ETXGu6NNl0qIZ8LDulE5Dxo0o9tCJNzDmMVtJqJFd0AODGAXFBFqIw9TeR7s8zEsT+IVFeVSOo8wvEGIcnWKTYp5cJ5dYAfIAAZvEmNmRMgVZsrRYGin5L4hY5mESoU36QHg3N2H9uqMRBTIxq56ULvctPYX4GERM0AE1li3U7uxeEJoBq3WbdVhWjQeId4VcetGtuRJbHcEGDJjT/EmJmiigyJh1ZU5co/IlxhkR4JP0E89eb2dq0X/IxygkAvvWLJ4y/nNW/XWruPflQ+j6bFtNJVPud3h2ibmjQdJjUQfM6Q/yJ2cHvaX1pdGUQHd/VWoJsDoL5F0/Yk7AF1clHlFnyJ29xjxWpJZ83sDlWLDY4Xhzkfl7fVxQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(2616005)(186003)(508600001)(956004)(4326008)(31696002)(82960400001)(6666004)(8676002)(16576012)(54906003)(66556008)(66946007)(8936002)(66476007)(86362001)(316002)(38100700002)(31686004)(36756003)(6486002)(26005)(6916009)(83380400001)(2906002)(44832011)(53546011)(19627235002)(5660300002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?by9UYkZhNkJHV0NkZ0xLMzdUTGNQK0pUSDFtNVRWanE3d283K2JESFRSRWFB?= =?utf-8?B?Qkd0c2FtTmJVUytZRkpFd2NGblFhckl1bFgyNDlZb2YyaFRLZ1FYelhlejkr?= =?utf-8?B?NWo0d3EyUmtPVGNSK1dFL0p0eU9XWmxvVm5vWGZYSFhSQXZ1NmpJdGlVeTFa?= =?utf-8?B?enlkQWd2WnVFT0NCQ0R5OE4rTy9XcVpOZW5ZVnp6Tm5uQkxCSEM2Z0JBN21m?= =?utf-8?B?akg5SnVUUVpINEZxMXNZcE1XQVI2SGthU2hmVzFqV0ExN25zZHRtaDRHbmFU?= =?utf-8?B?WWx2VDE2Z3NUTlpjNElyd0RNSTNMUVBkRENNRGRiR1JUakVXYXBQM1JXN1dL?= =?utf-8?B?SjFqelB5d2UrWHIwbytCTFlGaktteW93SkJKMXMwUUdSMi9MZ0VtTEN0UmRy?= =?utf-8?B?RDM0bTFQUzkxbTAwRVVRa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-5c39-46ee-5bb5-08d9b347d436 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2021 14:52:13.6377 (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: GHelHW679djGusj5TDdwbaXcZ+BlMkWt3Rmju16SvdtT9gkLmzasPxSD1IgMEGPVlpOFrrqBpUHAQQlVOt/tvg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4888 X-OriginatorOrg: intel.com 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 On 11/29/2021 2:12 PM, Josh Soref wrote: > > > On Mon, Nov 29, 2021, 9:05 AM Ferruh Yigit > wrote: > > On 11/29/2021 1:59 PM, Bruce Richardson wrote: > > On Mon, Nov 29, 2021 at 12:49:56PM +0000, Ferruh Yigit wrote: > >> Hi Josh, Thanks for the patch. > >> > >> The typo fixes for comments and logs are more straightforward, but I have > >> mixed feeling about the variable / macro typo fixes, let's see what others > >> think. > >> > >> And I think we should get this patch either one of the first patch or last > >> patch to prevent conflict with other patches. > > > > +1 to being a first patch to start things off clean. > > > > For the macros, since there is quick a bit of content in the patch, could > > we have the patch split into a separate patch for macro changes to review > > separately, allowing the simple doc/printf spelling changes to go in > > immediately? > > > Yeah, this is doable. I'll see if I can do it now. It's a lot of files, plus I'll need to figure out the command sequence to reply to this thread. If someone is available on Slack for some handholding, that might help me get it done faster. > > Also as far as I can see there are multiple build errors related to the > variable / macro renames, which was the concern. > > > I'm used to having access to GitHub based CI that let me test before making a PR. I've locally dropped the peer change, but didn't resubmit since I figured I'd wait for replies. > > (Last night I installed meson and ninja, so I might be able to do a local build.) > Following changes fixes the build errors, I am not saying they are the best fix, that is just to give you an idea what is failing: diff --git a/drivers/baseband/acc100/acc100_pf_enum.h b/drivers/baseband/acc100/acc100_pf_enum.h index a1ee416d26c1..cdb58dfbb92e 100644 --- a/drivers/baseband/acc100/acc100_pf_enum.h +++ b/drivers/baseband/acc100/acc100_pf_enum.h @@ -42,11 +42,11 @@ enum { HWPfQmgrDebugProcessWdTimeoutMsiFifo = 0x00A001C4, HWPfQmgrDepthLog2Grp = 0x00A00200, HWPfQmgrTholdGrp = 0x00A00300, - HWPfQmgrGrpTmplateReg0Indx = 0x00A00600, - HWPfQmgrGrpTmplateReg1Indx = 0x00A00680, - HWPfQmgrGrpTmplateReg2indx = 0x00A00700, - HWPfQmgrGrpTmplateReg3Indx = 0x00A00780, - HWPfQmgrGrpTmplateReg4Indx = 0x00A00800, + HWPfQmgrGrpTemplateReg0Indx = 0x00A00600, + HWPfQmgrGrpTemplateReg1Indx = 0x00A00680, + HWPfQmgrGrpTemplateReg2indx = 0x00A00700, + HWPfQmgrGrpTemplateReg3Indx = 0x00A00780, + HWPfQmgrGrpTemplateReg4Indx = 0x00A00800, HWPfQmgrVfBaseAddr = 0x00A01000, HWPfQmgrUl4GWeightRrVf = 0x00A02000, HWPfQmgrDl4GWeightRrVf = 0x00A02100, @@ -113,7 +113,7 @@ enum { HWPfDmaStatusDataErrLoVf = 0x00B8085C, HWPfDmaStatusDataErrHiVf = 0x00B80860, HWPfDmaCfgMsiEnSoftwareErr = 0x00B80864, - HWPfDmaDescriptorSignatuture = 0x00B80868, + HWPfDmaDescriptorSignature = 0x00B80868, HWPfDmaFcwSignature = 0x00B8086C, HWPfDmaErrorDetectionEn = 0x00B80870, HWPfDmaErrCntrlFifoDebug = 0x00B8087C, diff --git a/drivers/common/cnxk/hw/nix.h b/drivers/common/cnxk/hw/nix.h index dd2ebecc6a9c..ee8cb91d92a8 100644 --- a/drivers/common/cnxk/hw/nix.h +++ b/drivers/common/cnxk/hw/nix.h @@ -921,7 +921,7 @@ struct nix_band_prof_s { uint64_t icolor : 2; uint64_t tnl_ena : 1; uint64_t rsvd_7_5 : 3; - uint64_t peir_exponent : 5; + uint64_t peer_exponent : 5; uint64_t rsvd_15_13 : 3; uint64_t pebs_exponent : 5; uint64_t rsvd_23_21 : 3; @@ -929,7 +929,7 @@ struct nix_band_prof_s { uint64_t rsvd_31_29 : 3; uint64_t cbs_exponent : 5; uint64_t rsvd_39_37 : 3; - uint64_t peir_mantissa : 8; + uint64_t peer_mantissa : 8; uint64_t pebs_mantissa : 8; uint64_t cir_mantissa : 8; uint64_t cbs_mantissa : 8; diff --git a/drivers/crypto/qat/qat_sym_session.h b/drivers/crypto/qat/qat_sym_session.h index 21afb90cad3a..6965b31efc53 100644 --- a/drivers/crypto/qat/qat_sym_session.h +++ b/drivers/crypto/qat/qat_sym_session.h @@ -141,10 +141,6 @@ qat_sym_session_clear(struct rte_cryptodev *dev, unsigned int qat_sym_session_get_private_size(struct rte_cryptodev *dev); -void -qat_sym_session_init_common_hdr(struct qat_sym_session *session, - struct icp_qat_fw_comn_req_hdr *header, - enum qat_sym_proto_flag proto_flags); int qat_sym_validate_aes_key(int key_len, enum icp_qat_hw_cipher_algo *alg); int diff --git a/drivers/crypto/virtio/virtio_cryptodev.c b/drivers/crypto/virtio/virtio_cryptodev.c index ce23e38b791f..80db2fe21e74 100644 --- a/drivers/crypto/virtio/virtio_cryptodev.c +++ b/drivers/crypto/virtio/virtio_cryptodev.c @@ -862,7 +862,7 @@ virtio_crypto_dev_free_mbufs(struct rte_cryptodev *dev) VIRTIO_CRYPTO_INIT_LOG_DBG("queue_pairs[%d]=%p", i, dev->data->queue_pairs[i]); - virtqueue_detach_unused(dev->data->queue_pairs[i]); + virtqueue_detatch_unused(dev->data->queue_pairs[i]); VIRTIO_CRYPTO_INIT_LOG_DBG("After freeing dataq[%d] used and " "unused buf", i); diff --git a/drivers/crypto/virtio/virtqueue.c b/drivers/crypto/virtio/virtqueue.c index 33985d1dab96..fd8be581c996 100644 --- a/drivers/crypto/virtio/virtqueue.c +++ b/drivers/crypto/virtio/virtqueue.c @@ -22,7 +22,7 @@ virtqueue_disable_intr(struct virtqueue *vq) } void -virtqueue_detach_unused(struct virtqueue *vq) +virtqueue_detatch_unused(struct virtqueue *vq) { struct rte_crypto_op *cop = NULL; diff --git a/drivers/crypto/virtio/virtqueue.h b/drivers/crypto/virtio/virtqueue.h index 1a67b408403a..c96ca629921b 100644 --- a/drivers/crypto/virtio/virtqueue.h +++ b/drivers/crypto/virtio/virtqueue.h @@ -99,7 +99,7 @@ void virtqueue_disable_intr(struct virtqueue *vq); /** * Get all mbufs to be freed. */ -void virtqueue_detach_unused(struct virtqueue *vq); +void virtqueue_detatch_unused(struct virtqueue *vq); static inline int virtqueue_full(const struct virtqueue *vq) diff --git a/drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c b/drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c index 27f42d8cb23b..b09cccedf587 100644 --- a/drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c +++ b/drivers/net/bnxt/tf_ulp/bnxt_tf_pmd_shim.c @@ -102,9 +102,9 @@ int32_t bnxt_rss_config_action_apply(struct bnxt_ulp_mapper_parms *parms) #define ULP_FILE_PATH_SIZE 256 -static int32_t glob_error_fn(const char *epath, int32_t errno) +static int32_t glob_error_fn(const char *epath, int32_t eerrno) { - BNXT_TF_DBG(ERR, "path %s error %d\n", epath, errno); + BNXT_TF_DBG(ERR, "path %s error %d\n", epath, eerrno); return 0; } diff --git a/drivers/regex/mlx5/mlx5_regex_fastpath.c b/drivers/regex/mlx5/mlx5_regex_fastpath.c index 72464cad64ea..9a2db7e43fd0 100644 --- a/drivers/regex/mlx5/mlx5_regex_fastpath.c +++ b/drivers/regex/mlx5/mlx5_regex_fastpath.c @@ -226,7 +226,7 @@ complete_umr_wqe(struct mlx5_regex_qp *qp, struct mlx5_regex_hw_qp *qp_obj, rte_cpu_to_be_32(mkey_job->imkey->id)); /* Set UMR WQE control seg. */ ucseg->mkey_mask |= rte_cpu_to_be_64(MLX5_WQE_UMR_CTRL_MKEY_MASK_LEN | - MLX5_WQE_UMR_CTRL_FLAG_TRANSLATION_OFFSET | + MLX5_WQE_UMR_CTRL_FLAG_TRNSLATION_OFFSET | MLX5_WQE_UMR_CTRL_MKEY_MASK_ACCESS_LOCAL_WRITE); ucseg->klm_octowords = rte_cpu_to_be_16(klm_align); /* Set mkey context seg. */