[meta-freescale] A simple example of using AIOP on LS1088ARDB board?

john matt john.matt2022 at gmail.com
Fri Jan 11 08:41:22 PST 2019


Hi Zhenhuam

Thank you very much for quick response. I do have  quick follow up
question.  What I am trying to achieve is to write the packets from ingress
flow to the DDR, and read those packets from my application.

How to configure the WRIOP to write packets coming from ETH8 of LS1088ardb
to a memory address at X (Assume X is any valid memory address in DDR)? I
know WRIOP has Buffer manager and allocates memory, and might be writing
the data already to DDR to some memory address. So my question is how to
set this address in DDR and size of this buffer in user space? I have tried
"restool", and I also explored the objects created by restool. I have not
able to find any definite reference that points me to set the address and
size of the buffer pool for the ingress flow (incoming packets).

Kind  regards,
John.


On Thu, Jan 10, 2019 at 6:58 PM Zhenhua Luo <zhenhua.luo at nxp.com> wrote:

> The detailed guide of AIOP is available in
> https://nxp.sdlproducts.com/LiveContent/web/pub.xql?c=t&action=home&pub=QorIQ_LSDK_18.12&lang=en-US#addHistory=true&filename=GUID-7878A5F9-3B22-4F89-9709-12D3A856A48F.xml&docid=GUID-7878A5F9-3B22-4F89-9709-12D3A856A48F&inner_id=&tid=&query=&scope=&resource=&toc=false&eventType=lcContent.loadDocGUID-7878A5F9-3B22-4F89-9709-12D3A856A48F.
>
>
>
> Best Regards,
>
> Zhenhua
>
> > -----Original Message-----
> > From: Otavio Salvador <otavio.salvador at ossystems.com.br>
> > Sent: Thursday, January 10, 2019 9:16 PM
> > To: john matt <john.matt2022 at gmail.com>; Zhenhua Luo
> > <zhenhua.luo at nxp.com>
> > Cc: meta-freescale Mailing List <meta-freescale at yoctoproject.org>
> > Subject: Re: [meta-freescale] A simple example of using AIOP on
> LS1088ARDB
> > board?
> >
> > On Mon, Jan 7, 2019 at 7:45 PM john matt <john.matt2022 at gmail.com>
> wrote:
> > > I am new to DPAA2/AIOP, and I am wondering if someone can provide a
> > simple example programming the AIOP to manipulate the packet headers. I
> did
> > find examples here:
> >
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
> > com%2Fqoriq-open-
> > source%2Faiopsl&data=02%7C01%7Czhenhua.luo%40nxp.com%7C3e5452
> > 488175453cff5608d676fdc3c9%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%
> > 7C0%7C636827229620894677&sdata=QVoepzgJFiqxydWGTDu2Zn0q0sRjYV
> > budEk05BTJOzI%3D&reserved=0, but I am not able to cross compile them
> > to LS1088ARDB which is running 2.5 distro.
> > >
> > >
> > > Could you guys please provide some references for cross compiling the
> aiopsl
> > examples for LS1088ARDB.
> > >
> > > I created my esdk with yocto, but it does not hasthe headers (e.g.,
> fsl_types.h).
> >
> > Adding Zhenhua Luo on Cc.
> >
> > --
> > Otavio Salvador                             O.S. Systems
> > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.o
> > ssystems.com.br&data=02%7C01%7Czhenhua.luo%40nxp.com%7C3e5452
> > 488175453cff5608d676fdc3c9%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%
> > 7C0%7C636827229620894677&sdata=qi3kFtN3AdpPsusctOZEy08qhI5vu5w
> > qQxk2s%2FIIkX4%3D&reserved=0
> >
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcode.os
> > systems.com.br&data=02%7C01%7Czhenhua.luo%40nxp.com%7C3e54524
> > 88175453cff5608d676fdc3c9%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7
> > C0%7C636827229620894677&sdata=EPYAYWpz58gjxNSG6rmzOod%2BSSs
> > YcjXFcnOaRAr4Cqo%3D&reserved=0
> > Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20190111/ce7ebcd2/attachment.html>


More information about the meta-freescale mailing list