From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 22DB6A04B7; Tue, 13 Oct 2020 20:48:13 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EEE541DC0D; Tue, 13 Oct 2020 20:47:59 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id EC8751DB7E for ; Tue, 13 Oct 2020 20:47:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1602614872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=i7Zk+7rRlPFpIB5IN+32V8fgYY+yMhpVU62ajulGcfs=; b=InlDJj/UC/V+W1QOHY3BSkrwDQL6aAT/gT6c3oREbOJy+niQASRGQXHeNb6B2Ik6QwYYA/ 07PiSRfFDHSln4dTPGYJ1BQi1z+Fet0uyGpTWq8t9oz7ywrmmdzpghzEXp9OldzhGhcgDG OzXAeg9yw/5IrzFayIPi7ZKO9tXO+KY= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-13-qt7tp55rOWi1pJJZB5JIZQ-1; Tue, 13 Oct 2020 14:47:50 -0400 X-MC-Unique: qt7tp55rOWi1pJJZB5JIZQ-1 Received: by mail-vs1-f72.google.com with SMTP id h5so267885vsr.6 for ; Tue, 13 Oct 2020 11:47:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i7Zk+7rRlPFpIB5IN+32V8fgYY+yMhpVU62ajulGcfs=; b=TTv0zeP7MTMk1PIfutpUI00ln1zJSOYPQjMutmyFfkXfU8WSHokSLQJYstYSrrSZhJ lZcP3ngtFsvoO0RpKARybFy6JzDphUcLd+zyzt40xOf3+RqCmV33DpuKO+qEsy2zj0KC z1S6qNhC0pLsvtdmp3Mgy76+gDiA97SrqTO9Z9ZuXy2Pmroe2OslGFVCrdj4paTS7o1Z +xNHhwm+GLH8tuh0j3ixdsxc5IuOz6PuGvbIX1y428SZlnka+C7anGOhecKYHRzCgKN0 queS5sk01MeX434DULCCBFWmU9GNiLns6qhnKTR1teo7SUE2dibwYrrtFwxvyxRpfvD1 Yxhw== X-Gm-Message-State: AOAM531faUwx+u0UVYbCVNdyjltV1fIW5NCu28W1RmuKi9GFSk0cbHCa nHUNHgW1+Yv6NMTeJ1fV737pLe+LMvYhRIE0Y2Y7WZQgZSJOWJ9EYhb5gHzQa+wFx2Q4BPYf6v0 Qn7oPG+QDM1nGjqZU+0g= X-Received: by 2002:a1f:e905:: with SMTP id g5mr972298vkh.17.1602614869965; Tue, 13 Oct 2020 11:47:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNiNRHzeM8ZCnDPO+5SxBiaGPqoSUCHe0wRYQ8gA7hxO6p6ZvGjf3cti4KAXGQk35SR1z2fuk7/znMOS+MIWc= X-Received: by 2002:a1f:e905:: with SMTP id g5mr972272vkh.17.1602614869686; Tue, 13 Oct 2020 11:47:49 -0700 (PDT) MIME-Version: 1.0 References: <20201006162319.7981-1-mairtin.oloingsigh@intel.com> <20201009135045.8505-1-mairtin.oloingsigh@intel.com> In-Reply-To: <20201009135045.8505-1-mairtin.oloingsigh@intel.com> From: David Marchand Date: Tue, 13 Oct 2020 20:47:38 +0200 Message-ID: To: Mairtin o Loingsigh Cc: "Singh, Jasvinder" , Bruce Richardson , Pablo de Lara , "Ananyev, Konstantin" , dev , "Ryan, Brendan" , David Coyle , Olivier Matz Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v5 0/2] net: add CRC run-time checks and AVX512/VPCLMULQDQ based CRC X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Fri, Oct 9, 2020 at 3:55 PM Mairtin o Loingsigh wrote: > > This patchset makes two significant enhancements to the CRC modules of > the rte_net library: > > 1) Adds run-time selection of the optimal architecture-specific CRC path. > Previously the selection was solely made at compile-time, meaning it > could only be built and run on the same generation of CPU. Adding > run-time selection ability means this can be used from distro packages > and/or DPDK can be compiled on an older CPU and run on a newer CPU. > 2) Adds an optimized CRC implementation based on the AVX512 and > VPCLMULQDQ instruction sets. > > For further details, please see the commit messages of the individual > patches. > > v5: > * Tidied-up the ifdef checks for RTE_ARCH_* and compiler support of CRC > paths, as per review comments: > * All ifdef checks removed from API function definitions and moved into > helper functions. Updated MAINTAINERS with renamed/added files. Series applied. -- David Marchand