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 8C5E2A0547; Tue, 26 Oct 2021 22:30:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7709E410D5; Tue, 26 Oct 2021 22:30:47 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 47ABF407FF for ; Tue, 26 Oct 2021 22:30:45 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10149"; a="227463355" X-IronPort-AV: E=Sophos;i="5.87,184,1631602800"; d="scan'208";a="227463355" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Oct 2021 13:30:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,184,1631602800"; d="scan'208";a="465451844" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga002.jf.intel.com with ESMTP; 26 Oct 2021 13:30:44 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 26 Oct 2021 13:30:43 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 26 Oct 2021 13:30:42 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 26 Oct 2021 13:30:42 -0700 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.44) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 26 Oct 2021 13:30:42 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IitWZ2V7iN0Z4iJdYAsyGEk33k3zRv40amxLXrORpFRUuW0bHiTw9c9+f0UGaVjYBhjGayvtmku3KRIXdNWJOzCCL5wLSRy0iTBNtcfoez2IZ9oq77b5NpO+cRbGemGtgO3aZaxTZWU2yLFxEQmZxQs3RglHrmw4pBTTC9oZexaxeW5isOGL16KUFKLZWPMp1oPIaW6gAnTGrNPWmLsKzhUGOW4NO4vgjgbwi34+OOLt2HTl4wckaDkH1tIl/L1pGKBzcnJvrTj4SdMX9tKS5tbleJbYv8B3O927JOoDvaUlKibdibJhkdXKqt9MKfp0Mdt8aQrEA/x2okU/2uurmQ== 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=oEzkURE3iZ6XCSLxyrBa4sl/uITxLdNzl4tOmXIRYjI=; b=jUfAU4sMeX2FZrboYsB8xOjQncFo57XkT5DbQTSTEuhvpRNTwpVM47Sko4g/d9sPJeNUjBziN8hsLkslw6DmImPEvtuC9Vz3CbRvNLdxiSTp2w6p6GT8cxrPV40YdzwTZp2uX/kQEYveMR6KigRXSAmEDN0MLk6zPvQYOgKG/5XSNqCgGHeu2Qlpv4X6osg4vE8mfoVdhCBDkcdPEflByn1Kl+NPFWhlqrcpquNMDisg18Tyvncrqp+MIrNgzuDJ/Q6DaGXmv4Fe0vu+NDtLvKkBWtP9Eg+06HuDJXsCC1QTryzKQ4w1YaLrEbvhlJg/uS5yG0QzI8pU2kV0EV+zuw== 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=oEzkURE3iZ6XCSLxyrBa4sl/uITxLdNzl4tOmXIRYjI=; b=FhEAsR6bDPXW5pxjJs5lQNZCNAdVf4RKeOtTstJkb13Mh/gn61aMl+V3hiqzK70Z/ivteiCIuBkKK8CFvhkI5ynycj8c9zUE4bvbUBVUntIVf8aPawlbV4Wdxfmd/glm/GdRyQCHlMxhSSgplpfEhqjM+WzvELF0JXIpc1hGDiw= Authentication-Results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=intel.com; Received: from SA2PR11MB5020.namprd11.prod.outlook.com (2603:10b6:806:11f::16) by SA1PR11MB5899.namprd11.prod.outlook.com (2603:10b6:806:22a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Tue, 26 Oct 2021 20:30:36 +0000 Received: from SA2PR11MB5020.namprd11.prod.outlook.com ([fe80::e54d:4547:c437:dfe]) by SA2PR11MB5020.namprd11.prod.outlook.com ([fe80::e54d:4547:c437:dfe%7]) with mapi id 15.20.4628.020; Tue, 26 Oct 2021 20:30:36 +0000 To: Thomas Monjalon CC: , , , , , References: <1634842469-27119-1-git-send-email-vladimir.medvedkin@intel.com> <1634842469-27119-4-git-send-email-vladimir.medvedkin@intel.com> <5209665.h00cftjivt@thomas> From: "Medvedkin, Vladimir" Message-ID: <7fdff045-319b-ae35-7446-73dd83ccc031@intel.com> Date: Tue, 26 Oct 2021 22:30:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.14.0 In-Reply-To: <5209665.h00cftjivt@thomas> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6PR0402CA0012.eurprd04.prod.outlook.com (2603:10a6:4:91::22) To SA2PR11MB5020.namprd11.prod.outlook.com (2603:10b6:806:11f::16) MIME-Version: 1.0 Received: from [192.55.54.51] (192.55.54.51) by DB6PR0402CA0012.eurprd04.prod.outlook.com (2603:10a6:4:91::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16 via Frontend Transport; Tue, 26 Oct 2021 20:30:32 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 62a25f05-483a-43a2-1dc4-08d998bf77bf X-MS-TrafficTypeDiagnostic: SA1PR11MB5899: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 17G33zEF8WiJ1tjRj+5MZ1KInDNQnSkjsuw/p/oyFyvKINHzfso3PJ1dOmLCKrgIbyNhxaKCdwR3Hy40uRk0+3rRTEEtfZWjvK8GqbZJqYOWQExWXr/QQjUgH+PWaCQjf+Y1iBw2boiZbkko8iTxyWlunrf6P9+caOSMdYugQFMvMufxDgQOx+/yMHLD3zzGnml6gdxUMRxyZZvtsSjbWKE5/L4IzPILIbZoCdMpGKmrlzldfV0IrBsS1remMsSsYNiPrj5gtn5Z/jfSQVuE0VjQ//wsQqun0OMQq+PfCRsXWGcjO2cifW8O1NCk8DWXGQxxkws0rgkaD0d1VsrBIiBY4HHuooxq39Fda9TnWQKnKk/lHxOmtxmwBDGQdoo8SE494oWOSYzymejO9BkUOVUIPssp/q9BV3Y2sL3Xf3RFXw75G7V9z7t/aTzQuQuDX/bLY6EHUrj8zU9tdOHiB6/r9rHz7Fb2UICbeqk3bl6Hbi6Dal7Vptci14HWtwKxXpjue79cMWAsNIiB/2DNRhHEYMZ1O7SyJ2LxwW/BZKUFPWe4Ah7BJsBdASmrT8CMiEJ08/+rwVIAmeDS05tyOB3nSxvQv1wYRmV3v+z1xcBpEZldyJGkUiHxqEMhi++ypRjo2y3WZ8WCIDb22F/M+AuGalHScQU/ycxzeV90HunhXZnC/RH0SI3Tn4NXK+4YHfo52dife6hjtIEhLiW4YGrjm19W+daEFzb9L5kbrMccVv9LETHPWmjVoG9dNgWuXrPojeF358UwXi3KC4N9kw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR11MB5020.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(6666004)(4326008)(31696002)(8676002)(6486002)(36756003)(31686004)(2906002)(86362001)(186003)(8936002)(2616005)(66946007)(956004)(66476007)(6916009)(38100700002)(16576012)(66556008)(82960400001)(5660300002)(316002)(508600001)(53546011)(83380400001)(6706004)(26005)(3940600001)(45980500001)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?czJLS2tQVVRnK0ExWmlTYnM3bDh1WXlhZURrNld6SDVqODNPKzlkSDBNSjVs?= =?utf-8?B?TnlJWkxkTFZiY004dUlXOGxWcUplUHh1VWxJay9TUGJ4WktOQVZUVmtuemd0?= =?utf-8?B?dWtKWUFKOUlneTF0YzEybmFPQkhyN2lUYlVGTVJGSW91clovczFlZ0lmZ0pN?= =?utf-8?B?dTRhd2hDS0FmOUJCe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Wo0ZGFz?= =?utf-8?B?RXUxd3F1ejBiWmtzVXZQTTdFZUxKRDlLbDl4TFZVekpLbDdpdWl4aldhMU1P?= =?utf-8?B?aDBUOXdacUVFMnJzdU1Fa0dSclJPVkhqdDEzcHQ2Y0V3Q0I4eHh4bVB3RlRB?= =?utf-8?B?ajRQSEJiMTZWaWZuRXFseFp5Qnh5cFJzVzM3Yjd0YklWK2ZiMVJOeWsxWTRl?= =?utf-8?B?U2VJYyttdDJML0NXTVBmNlA0RzJKRnRsL1BNaVdpNFVxUWNlbENIaFJpcUR3?= =?utf-8?B?WVZyUjBDYUl5anZiZFBOamExc2FBPT0=?= X-MS-Exchange-CrossTenant-Network-Message-Id: 62a25f05-483a-43a2-1dc4-08d998bf77bf X-MS-Exchange-CrossTenant-AuthSource: SA2PR11MB5020.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2021 20:30:36.5880 (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: uoO0VDiMP9jD5GUGJK0hu7kHMFWB29P7cMuea5V8qLw4FEolpQKYfA01asEaEhSKRd+j53wbFKyf8UR0ZZiZLPNXqoP2XPML3eUkEP+Mw0c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB5899 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v5 3/5] doc/hash: update documentation for the thash library 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" On 25/10/2021 19:04, Thomas Monjalon wrote: > Vladimir, your patches are late and not perfect. > You need reviews. Please ask other maintainers to help with reviews. > > > 21/10/2021 20:54, Vladimir Medvedkin: >> This patch adds documentation for the new optimized Toeplitz hash >> implementation using GFNI. >> >> Signed-off-by: Vladimir Medvedkin >> --- >> doc/guides/prog_guide/toeplitz_hash_lib.rst | 37 +++++++++++++++++++++++++---- >> doc/guides/rel_notes/release_21_11.rst | 4 ++++ >> 2 files changed, 37 insertions(+), 4 deletions(-) >> >> diff --git a/doc/guides/prog_guide/toeplitz_hash_lib.rst b/doc/guides/prog_guide/toeplitz_hash_lib.rst >> index f916857..88b152e 100644 >> --- a/doc/guides/prog_guide/toeplitz_hash_lib.rst >> +++ b/doc/guides/prog_guide/toeplitz_hash_lib.rst >> @@ -19,24 +19,53 @@ to calculate the RSS hash sum to spread the traffic among the queues. >> Toeplitz hash function API >> -------------------------- >> >> -There are two functions that provide calculation of the Toeplitz hash sum: >> +There are four functions that provide calculation of the Toeplitz hash sum: >> >> * ``rte_softrss()`` >> * ``rte_softrss_be()`` >> +* ``rte_thash_gfni()`` >> +* ``rte_thash_gfni_x2()`` > > The last function doesn't exist. I think it should be the _bulk one. > > Also please squash the doc and test with the relevant code addition. > Maybe 2 patches for each implementation? > Good, I'll send v6 > -- Regards, Vladimir