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 EE810A00BE; Thu, 16 Jun 2022 15:46:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D51E740141; Thu, 16 Jun 2022 15:46:32 +0200 (CEST) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by mails.dpdk.org (Postfix) with ESMTP id 26A314003C for ; Thu, 16 Jun 2022 15:46:31 +0200 (CEST) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 7C489C4B7 for ; Thu, 16 Jun 2022 15:46:30 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id 7B327C619; Thu, 16 Jun 2022 15:46:30 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on hermod.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED, AWL, NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=disabled version=3.4.6 X-Spam-Score: -3.3 Received: from [192.168.1.59] (unknown [62.63.215.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id AED29C618; Thu, 16 Jun 2022 15:46:29 +0200 (CEST) Message-ID: <4f8a4f31-3c22-9cde-cb9a-96f628efbdf9@lysator.liu.se> Date: Thu, 16 Jun 2022 15:46:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: Vector optimized IP checksum Content-Language: en-US To: =?UTF-8?Q?Morten_Br=c3=b8rup?= , Jasvinder Singh Cc: dev@dpdk.org, Olivier Matz , Maxime Coquelin , Chenbo Xia References: <98CBD80474FA8B44BF855DF32C47DC35D8712E@smartserver.smartshare.dk> From: =?UTF-8?Q?Mattias_R=c3=b6nnblom?= In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D8712E@smartserver.smartshare.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP 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 2022-06-16 09:07, Morten Brørup wrote: > Hi Jasvinder, > > As the Packet CRC maintainer, have you considered adding vector > optimized variants of the rte_raw_cksum() function? > The current implementation is vectorized by the compiler. In my experience, hand-crafting it using SIMD intrinsics doesn't improve the performance enough to warrant the trouble. > It might benefit some of the software PMDs, such as tap and virtio. > > Med venlig hilsen / Kind regards, > > -Morten Brørup >