DPDK patches and discussions
 help / color / mirror / Atom feed
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
Date: Tue, 11 Apr 2017 08:34:40 -0400	[thread overview]
Message-ID: <20170411123439.GA20485@hmswarspite.think-freely.org> (raw)
In-Reply-To: <CAKjoOuberVPCFY0GOLsU1H=_odxd1XLs=8ehK319ruv_UgnW5w@mail.gmail.com>

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

      reply	other threads:[~2017-04-11 12:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11 12:14 reshma sarat
2017-04-11 12:34 ` Neil Horman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170411123439.GA20485@hmswarspite.think-freely.org \
    --to=nhorman@tuxdriver.com \
    --cc=dev@dpdk.org \
    --cc=reshmasarat@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).