From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v10 1/2] librte_net: add crc compute APIs Date: Wed, 05 Apr 2017 19:49:43 +0200 Message-ID: <1806652.2aVc4LrPS0@xps13> References: <1490890533-92231-2-git-send-email-jasvinder.singh@intel.com> <1491404326-89256-1-git-send-email-jasvinder.singh@intel.com> <1491404326-89256-2-git-send-email-jasvinder.singh@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, olivier.matz@6wind.com, declan.doherty@intel.com, pablo.de.lara.guarch@intel.com To: Jasvinder Singh Return-path: Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) by dpdk.org (Postfix) with ESMTP id 0EC61234 for ; Wed, 5 Apr 2017 19:49:46 +0200 (CEST) Received: by mail-wr0-f173.google.com with SMTP id w43so24438101wrb.0 for ; Wed, 05 Apr 2017 10:49:46 -0700 (PDT) In-Reply-To: <1491404326-89256-2-git-send-email-jasvinder.singh@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-04-05 15:58, Jasvinder Singh: > APIs for selecting the architecure specific implementation and computing > the crc (16-bit and 32-bit CRCs) are added. For CRCs calculation, scalar > as well as x86 intrinsic(sse4.2) versions are implemented. > > The scalar version is based on generic Look-Up Table(LUT) algorithm, > while x86 intrinsic version uses carry-less multiplication for > fast CRC computation. > > Signed-off-by: Jasvinder Singh > Acked-by: Pablo de Lara There is a remaining error with doxygen: lib/librte_net/rte_net_crc_sse.h:153: warning: documented symbol `static const uint8_t crc_xmm_shift_tab' was not declared or defined. > --- a/lib/librte_net/Makefile > +++ b/lib/librte_net/Makefile > @@ -39,10 +39,12 @@ EXPORT_MAP := rte_net_version.map > LIBABIVER := 1 > > SRCS-$(CONFIG_RTE_LIBRTE_NET) := rte_net.c > +SRCS-$(CONFIG_RTE_LIBRTE_NET) += rte_net_crc.c > > # install includes > SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include := rte_ip.h rte_tcp.h rte_udp.h > SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_sctp.h rte_icmp.h rte_arp.h > SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_ether.h rte_gre.h rte_net.h > +SYMLINK-$(CONFIG_RTE_LIBRTE_NET)-include += rte_net_crc.h As rte_net_crc_sse.h is not exported, you should avoid doxygen generation. I suggest removing the rte_ prefix of the filename, so it will make clear that it is a private header and doxygen should ignore it (because of FILE_PATTERNS = rte_*.h).