From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 868EDC636D4 for ; Mon, 13 Feb 2023 15:47:22 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9634A40EF1; Mon, 13 Feb 2023 16:47:21 +0100 (CET) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by mails.dpdk.org (Postfix) with ESMTP id 60D2F40EE4 for ; Mon, 13 Feb 2023 16:47:20 +0100 (CET) Received: by mail-qt1-f176.google.com with SMTP id cr22so14136596qtb.10 for ; Mon, 13 Feb 2023 07:47:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=aHo05PZbKsp+BGIVUuHLhW9jd8xnb6zX8qIporqA2q4=; b=FrTq3xrEJ1nq0Hb+Zg7zufdtV5FsW5xv47/casCLI4FYG2sPEB+3YY1nIejDx90evs SxNrWcJzwhz81JvbaI6pz3JArofo2XFejS6heCewxCnpl9wkei7/zXvqvw0/WTCrM8n4 oZQjzDr3Cyno1Jct5iuOBw6u8JY1b9fLAUEXnxoA4l+GpTOATVax2aGin7EaD++M9C5D wM2UQEI/MBwTc1z6ZhUWNhA62C5lrAgb2l7WCJgvjRaKWH/tGoSyeQ+ge9j4o2ULkdXK 0ofT6mQj9/k44yWYIdw16YJF9Yrb3ymDRZdzyKS8Gywm0jfeuVD14T9/pxP647kTcmPH J6uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aHo05PZbKsp+BGIVUuHLhW9jd8xnb6zX8qIporqA2q4=; b=4Dl2C2kcGM2GO2jtFdUkzrdB47N91iQJAcSwWojk7OKWWvE5GyKxJmvbSRYRujLGKN Ky2RyfpXq82vsXl3HPFTwwQ3W7R+d5YsfiETjzu/l8JgY4/earLlbU7h/Wl+CGfWTqTQ uJE4CjQUoVvadQd0AqQMKRlcA0E+CQMtodrrYocDLxpb0BilmR/Nv9FVCWUg3mvO22iQ w9UJ7ul0Cjf1kP8lAt7MZcpaxqPDm4+/JgBojzeVXVMfjP7ed+MYcCH/y67i9YGUKo4h 7wv4Uqn3Bg37lLO55/hkNzbPJ8DOsvlmld1Aja93iObKcVXNasZEXR38UzxqLC9V9jm1 M0DQ== X-Gm-Message-State: AO0yUKUy9Wq88Ihqm2by3X9kFYAk3COy3VeZh417gYf8DfJ2Y3y5S61E UFL8paL0vXuwJw560kdja5H3mec7dLY= X-Google-Smtp-Source: AK7set+iWLnBr4kvVGS3HWnW0iWVEeAL6B1PxLszVKIeWuQdFcS00XHBMXXohKRec3LtUwmd3OI9dg== X-Received: by 2002:a05:622a:20b:b0:3b8:5ad9:3fe8 with SMTP id b11-20020a05622a020b00b003b85ad93fe8mr41059443qtx.48.1676303239742; Mon, 13 Feb 2023 07:47:19 -0800 (PST) Received: from [10.249.155.2] (nat-216-240-30-25.netapp.com. [216.240.30.25]) by smtp.gmail.com with ESMTPSA id t23-20020ac87397000000b003ab7aee56a0sm9407330qtp.39.2023.02.13.07.47.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Feb 2023 07:47:19 -0800 (PST) Message-ID: <91d6c361-3908-ba5c-2afc-3a1f81f929b6@gmail.com> Date: Mon, 13 Feb 2023 15:47:14 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v3 0/4] compressdev: add LZ4 support Content-Language: en-US To: dev@dpdk.org References: <20230202091332.1037078-1-michaelba@nvidia.com> <20230213061140.2157499-1-michaelba@nvidia.com> From: "Zhang, Fan" In-Reply-To: <20230213061140.2157499-1-michaelba@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Hi, The patchset only have library change and added performance tests. We shall have at least one PMD to support the added algorithms and unit test updated for the PMD/algorithms. Regards, Fan On 2/13/2023 6:11 AM, Michael Baum wrote: > Add support for LZ4 compression algorithm for both API and app. > > In addition, enable app to test de/comp only. This option already > exists in both app doc and arguments but isn't implemented inside the > application. > > LZ4: https://github.com/lz4/lz4 > RFC: > https://patchwork.dpdk.org/project/dpdk/patch/20220410182622.8828-1-rzidane@nvidia.com/ > > v2: > - Add macros for all LZ4 flags in the standard. > - Rebase. > > v3: > - Rebase. > > Michael Baum (4): > compressdev: add LZ4 algorithm support > app/test-compress-perf: allow test single compress operation > app/test-compress-perf: add algo option > app/test-compress-perf: add LZ4 support > > app/test-compress-perf/comp_perf_options.h | 9 +- > .../comp_perf_options_parse.c | 83 +++++++++++- > .../comp_perf_test_common.c | 126 +++++++++++++----- > .../comp_perf_test_cyclecount.c | 82 +++++++----- > .../comp_perf_test_throughput.c | 75 +++++++---- > .../comp_perf_test_verify.c | 75 +++++++---- > app/test-compress-perf/main.c | 63 +++++++-- > doc/guides/compressdevs/features/default.ini | 7 + > doc/guides/rel_notes/release_23_03.rst | 16 +++ > doc/guides/tools/comp_perf.rst | 5 + > lib/compressdev/rte_comp.c | 12 ++ > lib/compressdev/rte_comp.h | 79 ++++++++++- > 12 files changed, 488 insertions(+), 144 deletions(-) >