From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.161.179]) by dpdk.org (Postfix) with ESMTP id 2E5B32BBE for ; Mon, 17 Apr 2017 11:23:03 +0200 (CEST) Received: by mail-yw0-f179.google.com with SMTP id j9so53763125ywj.3 for ; Mon, 17 Apr 2017 02:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=wJOwLiYAJktlXlIbHMZiQtk0PAK+RJblc4fXjelfNEw=; b=u90QM7kF0McyoX6bWl4ZcyCsQpUQ0zr38MySXogPzuQxylDHDrYEH+6MIkp4ozKsEx 7gATzy+Bwos2KnBTNRteSWbBP7O3TuCDXkUcqmvg7MzP+oruvhPhIlihDjLMBRa7ybNN jP8WsPVIxsAdnIUBgD87jaO0Bp4/sn+KD1pSDLJFfweHl54SZgFVDozly6NlgFUjk+Y5 Y17SVp+YZS/CGLde/vRiZBqGIfrjsoCMecyjThVIP69mZl8MJB9gh7Cgook9bxQemgoZ d2dM7+9VoA+vrEdVXxbhrB49vIkXlM+pte74Ch6ZbfefNZhiBmCapth1Hca3C0Zuro9J 9kvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=wJOwLiYAJktlXlIbHMZiQtk0PAK+RJblc4fXjelfNEw=; b=tOb/GcBZqYNVKCD8+PpO5lwUKbOA83Qjpn09GEVBje1laxzORjo2nOSioC/EbAmZ0H HFpczRfnyHk12vltrs0Zp8/SFKg23YdnfB/iP8c5AzVymmN88qeFpO44kO0+wwYkjUlk 6LqZbEDwl69R2dH//dmDhniUKSRSHmJ+YBEgvU/neqk/lcOiBr+77LpnLucMI7djw6E2 FEuSoF/hI7UgyYJxol9W6NCm3pyjw5xglVByRlNTF8rN8z5/YbJsys/fmtPIKp9Mwy5R 6IEmsMKw5ljfpSoXSWH9WzDN6siitbpNJRuSbCOv2Qd3/sNp3GvuDq95nYWxzbkRePBj qK4w== X-Gm-Message-State: AN3rC/7cdZZTfsZ0txwno2ik6RLpfz/TTjUb3pFjK2JTb+Ltvz3jM90x QJUCJeXEGfNvkxK6FhQrvjapVixypB7D X-Received: by 10.129.54.16 with SMTP id d16mr14934442ywa.272.1492420982983; Mon, 17 Apr 2017 02:23:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.220.133 with HTTP; Mon, 17 Apr 2017 02:23:02 -0700 (PDT) In-Reply-To: References: From: reshma sarat Date: Mon, 17 Apr 2017 14:53:02 +0530 Message-ID: To: dev@dpdk.org, nhorman@tuxdriver.com Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] dev Digest, Vol 139, Issue 35 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: , X-List-Received-Date: Mon, 17 Apr 2017 09:23:04 -0000 Yes, as you said I had copied the header files to a location that is in some way packagable with your application. But it didn't work even after I had copied the rte_config.h file. Now I have removed the header files from the location and included them using -I directives in the makefile of my application. On building DPDK, no error is obtained. But after setting the source and target and running the makefile of my application, I am getting the same error as:- /root/dpdk-stable-16.07.2/lib/librte_eal/common/include/rte_memory.h:83:2: error: #error "Unsupported cache line size". I have checked my cacheline size using /sys/devices/system/cpu/cpu0/cache/coherency_line_size in which the size is 64. Is there any dependency on the system in which I am running the application. Since I am running my application in 32-bit system. Message: 5 > Date: Tue, 11 Apr 2017 08:34:40 -0400 > From: Neil Horman > To: reshma sarat > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] Integration of DPDK with a seperate > application > Message-ID: <20170411123439.GA20485@hmswarspite.think-freely.org> > Content-Type: text/plain; charset=us-ascii > > On Tue, Apr 11, 2017 at 05:44:50PM +0530, reshma sarat wrote: > > Hi, > > In my application, I am making use of DPDK APIs for sending and receiving > > packets. I have now imported some of its header files of DPDK to my > > application. But on executing make command, an error such as > > :/rte_memory.h:83:2: error: #error "Unsupported cache line size" > > is what I am getting. How to overcome this error? > > Regards, > > Reshma > > > > I assume by exporting, you mean moving the header files to a location that > is in > some way packagable with your application? > > Don't do that. > > the DPDK header files rely on their heirarchy to work properly. You could > move > the rte_config.h file, which is what you are missing in this case, to > define the > proper cache line size for the system on which you are building, but the > correct > solution is to independently install the DPDK on your devel system, and > include > those dpdk header files with -I directives > > Neil > > > > ------------------------------ > > > > > >