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 3271CA04FA; Wed, 5 Feb 2020 18:06:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ACEBC1C2F3; Wed, 5 Feb 2020 18:06:28 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id DFEB81C2F1 for ; Wed, 5 Feb 2020 18:06:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580922387; 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: in-reply-to:in-reply-to:references:references; bh=E4MI3hl3hL8ZwLTgL1FCvBjWkblwzCVhO7xqiL8IND0=; b=DrFay6tkBij2nUC/cWhX8wOM7PZjzaqaJzbhKUmw5CRiatsgJ5yWn6u4tEOEpXAnGl6Fi7 lqtzejzBi+uutrSStKKAkSBn4T5HQ0mofnPv55ziV/cadCvw2lnVMoztLPt1ODnYEwLl6E /rDpatEh6HPxMA0uzOka7OXo4azBB8Q= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-311-4V7VWSraMoiUMm91YAL-aA-1; Wed, 05 Feb 2020 12:06:21 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CBB8F801A32; Wed, 5 Feb 2020 17:06:20 +0000 (UTC) Received: from aldebaran.drizzt.lan (dhcp19-189-71.ntdv.lab.eng.bos.redhat.com [10.19.189.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id A29F14FA9; Wed, 5 Feb 2020 17:06:19 +0000 (UTC) From: Timothy Redaelli To: dev@dpdk.org Cc: stable@dpdk.org, pbhagavatula@marvell.com Date: Wed, 5 Feb 2020 18:05:45 +0100 Message-Id: <937ee5d7d86bfb647997ac0fa695b19b8270e18e.1580921206.git.tredaelli@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-MC-Unique: 4V7VWSraMoiUMm91YAL-aA-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] [PATCH 2/3] examples/eventdev_pipeline: fix building with GCC 10 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" Fixes: 3d1b33e44ae2 ("examples/eventdev: move common data into pipeline com= mon") Cc: pbhagavatula@marvell.com Cc: stable@dpdk.org Signed-off-by: Timothy Redaelli --- examples/eventdev_pipeline/main.c | 2 ++ examples/eventdev_pipeline/pipeline_common.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/eventdev_pipeline/main.c b/examples/eventdev_pipeline= /main.c index d3ff1bbe4..d0da51b1c 100644 --- a/examples/eventdev_pipeline/main.c +++ b/examples/eventdev_pipeline/main.c @@ -10,6 +10,8 @@ =20 #include "pipeline_common.h" =20 +struct fastpath_data *fdata; + struct config_data cdata =3D { =09.num_packets =3D (1L << 25), /* do ~32M packets */ =09.num_fids =3D 512, diff --git a/examples/eventdev_pipeline/pipeline_common.h b/examples/eventd= ev_pipeline/pipeline_common.h index 8e30393d0..c7245f7f0 100644 --- a/examples/eventdev_pipeline/pipeline_common.h +++ b/examples/eventdev_pipeline/pipeline_common.h @@ -93,8 +93,8 @@ struct port_link { =09uint8_t priority; }; =20 -struct fastpath_data *fdata; -struct config_data cdata; +extern struct fastpath_data *fdata; +extern struct config_data cdata; =20 static __rte_always_inline void exchange_mac(struct rte_mbuf *m) --=20 2.24.1