DPDK patches and discussions
 help / color / mirror / Atom feed
* Re: [dpdk-dev] dev Digest, Vol 139, Issue 35
       [not found] <mailman.1071.1491914801.31772.dev@dpdk.org>
@ 2017-04-17  9:23 ` reshma sarat
  0 siblings, 0 replies; only message in thread
From: reshma sarat @ 2017-04-17  9:23 UTC (permalink / raw)
  To: dev, nhorman

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 <nhorman@tuxdriver.com>
> To: reshma sarat <reshmasarat@gmail.com>
> 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
>
>
>
> ------------------------------
>
>
>
>
>
>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-17  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1071.1491914801.31772.dev@dpdk.org>
2017-04-17  9:23 ` [dpdk-dev] dev Digest, Vol 139, Issue 35 reshma sarat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).