Merged,
Maxim.
On 10/19/2015 13:35, Jerin Jacob wrote:
On Fri, Oct 16, 2015 at 03:13:48PM +0300, Petri Savolainen wrote:
Some C library calls are often used in data plane code. This
API enables possibility to HW optimized implementation of those.
Added first memcpy and memset.
Signed-off-by: P
Jacob [mailto:jerin.ja...@caviumnetworks.com]
Sent: Monday, October 19, 2015 1:35 PM
To: Savolainen, Petri (Nokia - FI/Espoo)
Cc: lng-odp@lists.linaro.org
Subject: Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c library
api
On Fri, Oct 16, 2015 at 03:13:48PM +0300, Petri Savolainen wrote:
S
odp@lists.linaro.org
> Subject: Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c library
> api
>
> On Fri, Oct 16, 2015 at 03:13:48PM +0300, Petri Savolainen wrote:
> > Some C library calls are often used in data plane code. This
> > API enables possibility to HW
On Fri, Oct 16, 2015 at 03:13:48PM +0300, Petri Savolainen wrote:
> Some C library calls are often used in data plane code. This
> API enables possibility to HW optimized implementation of those.
> Added first memcpy and memset.
>
> Signed-off-by: Petri Savolainen
Reviewed-by: Jerin Jacob
> --
er 16, 2015 5:52 PM
> *To:* EXT Bill Fischofer
>
> *Cc:* LNG ODP Mailman List
> *Subject:* Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c
> library api
>
>
> If that’s the case an platform can implement these without extra effort.
> But when that’s not the case,
-NEXT PATCH] api: clib: added standard c library api
If that’s the case an platform can implement these without extra effort. But
when that’s not the case, an implementation can use whatever special
instructions, vector engines or DMA HW it has to speed up these calls. See e.g.
rte_memcpy in
. See e.g. rte_memcpy in DPDK
>> - it’s not just plain memcpy wrapper (they must have had a
>> reason for optimizing it).
>>
>> -Petri
>>
>> *From:*EXT Bill Fischofer [mailto:bill.fischo...@linaro.org
>>
ilman List
*Subject:* Re: [lng-odp] [API-NEXT PATCH] api: clib: added
standard c library api
Why would you not expect a platform to provide an optimized
implementation of these stdlib functions itself? GCC, in
particular, seems to do a good job of this for
>> have had a reason for optimizing it).
>>
>>
>>
>> -Petri
>>
>>
>>
>> *From:* EXT Bill Fischofer [mailto:bill.fischo...@linaro.org]
>> *Sent:* Friday, October 16, 2015 3:17 PM
>> *To:* Savolainen, Petri (Nokia - FI/Espoo)
>> *Cc:* LNG ODP Ma
> *Sent:* Friday, October 16, 2015 3:17 PM
> *To:* Savolainen, Petri (Nokia - FI/Espoo)
> *Cc:* LNG ODP Mailman List
> *Subject:* Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c
> library api
>
>
>
> Why would you not expect a platform to provide an optimized im
have had a
reason for optimizing it).
-Petri
From: EXT Bill Fischofer [mailto:bill.fischo...@linaro.org]
Sent: Friday, October 16, 2015 3:17 PM
To: Savolainen, Petri (Nokia - FI/Espoo)
Cc: LNG ODP Mailman List
Subject: Re: [lng-odp] [API-NEXT PATCH] api: clib: added standard c library api
Why
> 在 2015年10月16日,下午8:16,Bill Fischofer 写道:
>
> Why would you not expect a platform to provide an optimized implementation of
> these stdlib functions itself? GCC, in particular, seems to do a good job of
> this for most platforms.
Hi Bill,
DPDK has its own impl for memcpy (rte_memcpy
Why would you not expect a platform to provide an optimized implementation
of these stdlib functions itself? GCC, in particular, seems to do a good
job of this for most platforms.
On Fri, Oct 16, 2015 at 7:13 AM, Petri Savolainen <
petri.savolai...@nokia.com> wrote:
> Some C library calls are of
Some C library calls are often used in data plane code. This
API enables possibility to HW optimized implementation of those.
Added first memcpy and memset.
Signed-off-by: Petri Savolainen
---
include/odp.h | 1 +
include/odp/api/std_clib.h| 6
14 matches
Mail list logo