From patchwork Wed Oct 18 09:31:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 132888 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 262C643198; Wed, 18 Oct 2023 11:32:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 140AD402E5; Wed, 18 Oct 2023 11:32:02 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 58F3E40151 for ; Wed, 18 Oct 2023 11:32:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697621519; 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: content-transfer-encoding:content-transfer-encoding; bh=sS2jcm9E/DBlVgsCm6AAz+JYlfIfg/sUSMkp782WyRA=; b=UHL58Bee8+uU5FrWxZpckvKX61iL/7RCQGsz6U/pcy3YMZiziSdjQY7a7l42zpSCVN82Yy RFb6jZf3txEQxNyEqxtfdxW1MGfKs6UFf0aoqoBmpgsTbo/OnDBlcjClvvAujE/9yRBNIG SgiSZ272owCi5IpUdN62eMHOL5dknic= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-184-ngpPzIcVMW2qbD3Gt4CN_Q-1; Wed, 18 Oct 2023 05:31:55 -0400 X-MC-Unique: ngpPzIcVMW2qbD3Gt4CN_Q-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D864F185A7B9; Wed, 18 Oct 2023 09:31:54 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.225.182]) by smtp.corp.redhat.com (Postfix) with ESMTP id 840188BE; Wed, 18 Oct 2023 09:31:52 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin , Long Li , Tyler Retzlaff Subject: [PATCH] hash: fix build with GFNI Date: Wed, 18 Oct 2023 11:31:47 +0200 Message-ID: <20231018093147.1771888-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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 As an external header, rte_thash_x86_gfni.h should be self sufficient. Fixes: 3d4e27fd7ff0 ("use abstracted bit count functions") Signed-off-by: David Marchand --- lib/hash/rte_thash_x86_gfni.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hash/rte_thash_x86_gfni.h b/lib/hash/rte_thash_x86_gfni.h index fbec16dde0..b7c5a4ba7d 100644 --- a/lib/hash/rte_thash_x86_gfni.h +++ b/lib/hash/rte_thash_x86_gfni.h @@ -12,6 +12,7 @@ * using Galois Fields New Instructions. */ +#include #include #include