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 9D065A0613 for ; Wed, 31 Jul 2019 05:16:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EF2B71BFF5; Wed, 31 Jul 2019 05:16:48 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 714311BFDC; Wed, 31 Jul 2019 05:16:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jul 2019 20:16:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,328,1559545200"; d="scan'208";a="347366459" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga005.jf.intel.com with ESMTP; 30 Jul 2019 20:16:45 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 30 Jul 2019 20:16:45 -0700 Received: from bgsmsx102.gar.corp.intel.com (10.223.4.172) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 30 Jul 2019 20:16:44 -0700 Received: from bgsmsx101.gar.corp.intel.com ([169.254.1.176]) by BGSMSX102.gar.corp.intel.com ([169.254.2.2]) with mapi id 14.03.0439.000; Wed, 31 Jul 2019 08:46:42 +0530 From: "Varghese, Vipin" To: "Ananyev, Konstantin" , "dev@dpdk.org" CC: "Ananyev, Konstantin" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] examples/bpf: fix compilation issue Thread-Index: AQHVRsBWWIj1vjAuMEyhVGH1J9l7QqbkDbjw Date: Wed, 31 Jul 2019 03:16:41 +0000 Message-ID: <4C9E0AB70F954A408CC4ADDBF0F8FA7D4D399F1E@BGSMSX101.gar.corp.intel.com> References: <20190730101927.1665-1-konstantin.ananyev@intel.com> In-Reply-To: <20190730101927.1665-1-konstantin.ananyev@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWQzYmRkNzEtYWFiNi00YTZmLTk3OTItZGM3MjA5MjljMGRmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQzl4bXVQOXh1T29kQmc0VUFKaGtiNm9sVkZkS1wvSnJhZis4dVhieVhRSjhlUlpNQzB3OTdkOVg5UWRwSUQxZkMifQ== dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.223.10.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples/bpf: fix compilation issue 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" snipped > Example BPF programs t1.c, t2.c, t3.c in folder examples/bpf are failing = to > compile with latest dpdk.org master. As a note, the file t3.c is one which fails to get compiled. > The reason is changes in some core DPDK header files, that causes now inc= lusion > of x86 specific headers. snipped >=20 > #include > #include > -#include >=20 > #ifdef __cplusplus > extern "C" { > @@ -364,6 +363,23 @@ typedef struct { > volatile int16_t cnt; /**< An internal counter value. */ } rte_atomic1= 6_t; >=20 > +#define RTE_CACHE_LINE_MIN_SIZE 64 /**< Minimum Cache line size. */ The definition for RTE_CACHE_LINE_MIN_SIZE is present in ` rte_config.h`. U= sing the same did not cause compilation issues. Is there specific reason no= t to use the same? Snipped The code is tested and verified with clang6.0 and clang8.0 on Ubuntu 18.04.= 2 LTS. Tested-by: Vipin Varghese