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 82C3AA034F; Fri, 12 Nov 2021 15:21:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1793E410E3; Fri, 12 Nov 2021 15:21:54 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 65C6D40692 for ; Fri, 12 Nov 2021 15:21:52 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10165"; a="230598761" X-IronPort-AV: E=Sophos;i="5.87,229,1631602800"; d="scan'208";a="230598761" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2021 06:21:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,229,1631602800"; d="scan'208";a="493019776" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga007.jf.intel.com with ESMTP; 12 Nov 2021 06:21:44 -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.2242.12; Fri, 12 Nov 2021 06:21:44 -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.2242.12; Fri, 12 Nov 2021 06:21:44 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2242.12 via Frontend Transport; Fri, 12 Nov 2021 06:21:44 -0800 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.46) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 12 Nov 2021 06:21:43 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JkPf8dUuC6LOBXS6MYT9IEuzcmMRa5vYEOyASlSzLoypvMZFIZrBD+lyXH1mV3bgvFPFrC/BDgGVxGtVNg9frFGy6MqAPDZI72fa54F3FNMPW5VvoM9ArceAwAFKOAFbogyOmTa9pZlg1YX1JULwKW9xhiUNqenwxGxwBFZU1d6aU0RXX5LCMil05w1jqcSWMDaeFzlaTBUStlRXkaFQ51br+eGmYEOHf2mVHxZpEHykdohyyxYzb9+cYNKks1WMXnK+lUBrvQpR5ndwJ8yTg2mnXZOVxw6QRSPYlVTejEbXOAVeBZluXBJFd0E0XgFgYVa6KZ0AhE8OwqOQhrziaA== 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=vdQLj02avHpAQLewJ43uyByddIT7oH798wSXjdpeu10=; b=BHUQZx5WtrxfoWy7nGj/G9emFQu/FpBXF3j6KbzoM4lYimupe6JCQhiGhxIBE8p15zodXYQ8SjdQIeZhKTJhYVB5sCjLu8mBymoAGbLNk3dnHR7qY9GFEmdPQjkGNiNanaHzVL5r2WlkXMf5TG5BW1VCNYIIwK4E2pb8Fk7I9MmLv9RsQd27GXxe2v/5v97qP4+6HFx3kFA/O0069bgz/fl5tiNhLu60CmbYfCkyIq/RI+oU2z2fun2hiaXcrVLZLF6GbOgq/bPgvczBeK1xJLmLIlekddP2TnwT+Ab1rWlRKXesYSho3OGEGTcAx7WwTRNISohZhYwJ0FZkj8rycw== 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=vdQLj02avHpAQLewJ43uyByddIT7oH798wSXjdpeu10=; b=hefzeWj4vcaaDNo6rbMkvkF4XvSL4Al7kjXoyzwDxkhLS+QD6/wm0giZTT6nneeH2DUf2oVu3u4a5ZP/e++/YH3A3dueQgofC+kOl4GYfLiPUUiXtKiWiJTYVbXAZf9xUx8xKdjyyU54VmxRkkGtJFcjT0OtYVJOy73lGRVUdWU= Authentication-Results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=intel.com; Received: from CO1PR11MB5012.namprd11.prod.outlook.com (2603:10b6:303:90::18) by MW3PR11MB4665.namprd11.prod.outlook.com (2603:10b6:303:5d::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Fri, 12 Nov 2021 14:21:43 +0000 Received: from CO1PR11MB5012.namprd11.prod.outlook.com ([fe80::442b:2192:c62b:c6c3]) by CO1PR11MB5012.namprd11.prod.outlook.com ([fe80::442b:2192:c62b:c6c3%9]) with mapi id 15.20.4690.019; Fri, 12 Nov 2021 14:21:43 +0000 Message-ID: <8bdff7c2-da21-287f-cd98-29488d7083c1@intel.com> Date: Fri, 12 Nov 2021 15:21:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.3.0 Subject: Re: [PATCH v4 02/18] ipsec: fix spelling errors Content-Language: en-US To: Stephen Hemminger , CC: Konstantin Ananyev , Bernard Iremonger References: <20210909175648.174258-1-stephen@networkplumber.org> <20211112000226.56586-1-stephen@networkplumber.org> <20211112000226.56586-3-stephen@networkplumber.org> From: "Medvedkin, Vladimir" In-Reply-To: <20211112000226.56586-3-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR07CA0020.eurprd07.prod.outlook.com (2603:10a6:6:2d::30) To CO1PR11MB5012.namprd11.prod.outlook.com (2603:10b6:303:90::18) MIME-Version: 1.0 Received: from [192.198.151.52] (192.198.151.52) by DB6PR07CA0020.eurprd07.prod.outlook.com (2603:10a6:6:2d::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.5 via Frontend Transport; Fri, 12 Nov 2021 14:21:41 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d98f26e7-7cf6-4a4f-a393-08d9a5e7c011 X-MS-TrafficTypeDiagnostic: MW3PR11MB4665: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oKz0sLs9rcD59UZ9NOhDcG0C/pb0Sjja1fsr24GA9y+lsA78cmeT3+eMETp8DXyFcre9u+KQVVXB/6SSOCN7wxo8vwz8uaU6tqm3WXPVazp0GOVTs5zxHuanRk0ZhTD5t/6KCDuT19QiK7gYLRMm8lL/jjOAzgKbu7pHvaIe4V6Mw32yxZo6xHo8wGskmTYr513VeeqUAQAhNlmfJRoKnH7g7FHQB7I4zeSwj6dzo+TaNym7djHvVUtlbMAEM6+3gmlL33xkZGbobmOm2YuGhL4Bgn27Jfu61zQrOcslK/2L93CwtKPYeoMHFYV280QtgvDnko9rhYdpyEc2Z4iAFIv+f3a22tL3be+yL5ZAx7dylG20auv3d0VISIasMMh/z4aWhW6HbT9ks56e+hbVd1GgZr5j60KPBIw6P37KMsBMu68NUXEcAtnKfNGYXWuPSBoGSxgbawNJjFZEgB33R8Fi7JrQHXzuRDBAJst5CJt7gjt9AJrTEe3/kEbcze2off/OFwdmmHh9So4q0wJ6V1mx9X4yieBM6LIkYPoBz43Aif7B3G7jyDsQHTTW5R9/0hFeJVnsm2ikDeSIYve0lj7K2P8oaiDxH5ZA/sdWUJUCIJWpo3GqeSX+EIWR5csKq8IVwGU2C4HacEzgMwKPGxdh6cnNtzL3TpuZNfDMgYXTbuGkpxcGcodrQkaUmxhUs7JwtQD8WNhi/ezyNMwEJ1ViBy+XB2Zrmt4KCmz4z2UD+sIlDCn/tkWMKal3wiooXM27p/7EK900dG1qnG4zZw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB5012.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(4326008)(956004)(107886003)(6666004)(6706004)(26005)(54906003)(31696002)(316002)(16576012)(38100700002)(8676002)(8936002)(36756003)(66476007)(31686004)(66946007)(82960400001)(86362001)(6486002)(66556008)(5660300002)(508600001)(2906002)(83380400001)(53546011)(186003)(2616005)(3940600001)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SmlpWW05TzI3YkNxZjVYclZ0aStncnlxTW15NTNsdGZiWjVrQnovdDc3SjZs?= =?utf-8?B?MHpFOS9yYXpsOEhtTGx0MkM1NW53S2tXYUEyVmVrZVJLa3g1cytqdDE2aHQr?= =?utf-8?B?dG9kaTR6MHJYenRQNUlHTUdIdXgwTVNQbTZJM1pjSDg3NFRVdzdtck02Tll4?= =?utf-8?B?OUR4NTlsdVpVUmFINTVFbXNod0ZqWUpDc2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zA1eExaSHpsYVJOMjZTMG84QjBOWFE1TnNtUW5PYk1IWTI5QjE5NXVW?= =?utf-8?B?TFUxaVV0Nzd5S0xWZ0ZiVXNZY3p4bElmL0JOYjU0TUxMYVVSM2lLbVVJQlVr?= =?utf-8?B?VWxmTjlIVmFRQWU2anpsVHNWa3hGL1JPaHFFdTZwSUtSN0gzcVhEbmhvaWo5?= =?utf-8?B?YjdTWFZ6RDN1RXJLVHM3Mm8rUzBrM2FZaEZ3b3JVV1J3cXRLVklLdnFFbHJa?= =?utf-8?B?ZmpjMC9MWmZpSGZQclNwUlJ0VmhRPT0=?= X-MS-Exchange-CrossTenant-Network-Message-Id: d98f26e7-7cf6-4a4f-a393-08d9a5e7c011 X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB5012.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Nov 2021 14:21:42.9569 (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: RKK+DTpX9sGrf9HkLqNCrf/qxzA7Sp4tiX3e3huLsh80UXISlmfvcbleZ9HPFnVanneC/CnH0NZjG61O6meDJQkORPcxomFlct3zL3OywFU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4665 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 12/11/2021 01:02, Stephen Hemminger wrote: > Lots of typos in comments found by codespell > > Signed-off-by: Stephen Hemminger > Acked-by: Konstantin Ananyev > --- > lib/ipsec/esp_inb.c | 4 ++-- > lib/ipsec/esp_outb.c | 2 +- > lib/ipsec/ipsec_sad.c | 2 +- > lib/ipsec/sa.c | 2 +- > lib/ipsec/sa.h | 2 +- > 5 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/lib/ipsec/esp_inb.c b/lib/ipsec/esp_inb.c > index 99e9c43f2f68..636c850fa6a9 100644 > --- a/lib/ipsec/esp_inb.c > +++ b/lib/ipsec/esp_inb.c > @@ -475,7 +475,7 @@ trs_process_check(struct rte_mbuf *mb, struct rte_mbuf **ml, > > /* > * packet checks for tunnel mode: > - * - same as for trasnport mode > + * - same as for transport mode > * - esp tail next proto contains expected for that SA value > */ > static inline int32_t > @@ -561,7 +561,7 @@ trs_process_step3(struct rte_mbuf *mb) > static inline void > tun_process_step3(struct rte_mbuf *mb, uint64_t txof_msk, uint64_t txof_val) > { > - /* reset mbuf metatdata: L2/L3 len, packet type */ > + /* reset mbuf metadata: L2/L3 len, packet type */ > mb->packet_type = RTE_PTYPE_UNKNOWN; > mb->tx_offload = (mb->tx_offload & txof_msk) | txof_val; > > diff --git a/lib/ipsec/esp_outb.c b/lib/ipsec/esp_outb.c > index b7a70fd00186..672e56aba084 100644 > --- a/lib/ipsec/esp_outb.c > +++ b/lib/ipsec/esp_outb.c > @@ -614,7 +614,7 @@ cpu_outb_trs_pkt_prepare(const struct rte_ipsec_session *ss, > > /* > * process outbound packets for SA with ESN support, > - * for algorithms that require SQN.hibits to be implictly included > + * for algorithms that require SQN.hibits to be implicitly included > * into digest computation. > * In that case we have to move ICV bytes back to their proper place. > */ > diff --git a/lib/ipsec/ipsec_sad.c b/lib/ipsec/ipsec_sad.c > index 3f9533c80a68..531e1e323cdc 100644 > --- a/lib/ipsec/ipsec_sad.c > +++ b/lib/ipsec/ipsec_sad.c > @@ -62,7 +62,7 @@ EAL_REGISTER_TAILQ(rte_ipsec_sad_tailq) > * Inserts a rule into an appropriate hash table, > * updates the value for a given SPI in SPI_ONLY hash table > * reflecting presence of more specific rule type in two LSBs. > - * Updates a counter that reflects the number of rules whith the same SPI. > + * Updates a counter that reflects the number of rules with the same SPI. > */ > static inline int > add_specific(struct rte_ipsec_sad *sad, const void *key, > diff --git a/lib/ipsec/sa.c b/lib/ipsec/sa.c > index a19819f9f179..1e51482c9242 100644 > --- a/lib/ipsec/sa.c > +++ b/lib/ipsec/sa.c > @@ -136,7 +136,7 @@ ipsec_sa_size(uint64_t type, uint32_t *wnd_sz, uint32_t *nb_bucket) > /* > * RFC 4303 recommends 64 as minimum window size. > * there is no point to use ESN mode without SQN window, > - * so make sure we have at least 64 window when ESN is enalbed. > + * so make sure we have at least 64 window when ESN is enabled. > */ > wsz = ((type & RTE_IPSEC_SATP_ESN_MASK) == > RTE_IPSEC_SATP_ESN_DISABLE) ? > diff --git a/lib/ipsec/sa.h b/lib/ipsec/sa.h > index 6e59f18e1602..7503587b5004 100644 > --- a/lib/ipsec/sa.h > +++ b/lib/ipsec/sa.h > @@ -122,7 +122,7 @@ struct rte_ipsec_sa { > * In case of SA handled by multiple threads *sqn* cacheline > * could be shared by multiple cores. > * To minimise performance impact, we try to locate in a separate > - * place from other frequently accesed data. > + * place from other frequently accessed data. > */ > union { > uint64_t outb; > Acked-by: Vladimir Medvedkin -- Regards, Vladimir