From: ext Bill Fischofer [mailto:bill.fischo...@linaro.org]
Sent: Thursday, December 11, 2014 6:51 PM
To: Savolainen, Petri (NSN - FI/Espoo)
Cc: lng-odp@lists.linaro.org
Subject: Re: [lng-odp] [PATCHv4] Implement v0.5 buffer pool APIs
On Thu, Dec 11, 2014 at 9:52 AM, Savolainen, Petri (NSN
)
*Cc:* lng-odp@lists.linaro.org
*Subject:* Re: [lng-odp] [PATCHv4] Implement v0.5 buffer pool APIs
On Thu, Dec 11, 2014 at 9:52 AM, Savolainen, Petri (NSN - FI/Espoo)
petri.savolai...@nsn.com wrote:
-Original Message-
From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp
-Original Message-
From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp-
boun...@lists.linaro.org] On Behalf Of ext Bill Fischofer
Sent: Thursday, December 11, 2014 7:00 AM
To: lng-odp@lists.linaro.org
Subject: [lng-odp] [PATCHv4] Implement v0.5 buffer pool APIs
Signed-off
To: lng-odp@lists.linaro.org
Subject: [lng-odp] [PATCHv4] Implement v0.5 buffer pool APIs
Signed-off-by: Bill Fischofer bill.fischo...@linaro.org
---
v4 Removes RFC, incorporates doxygen change recommended by Anders and
PEtri
and incorporates bug fixes that enable it to pass Taras
On 12/11/2014 07:00 AM, Bill Fischofer wrote:
+odp_buffer_pool_t odp_buffer_pool_create(const char *name,
+ odp_shm_t shm,
+ odp_buffer_pool_param_t *params)
{
- odp_buffer_chunk_hdr_t *chunk_hdr;
-
-
Packet pools support segmentation, however not in v0.5 because
odp_packet_socket.c can't deal with segmented I/O so there is currently no
way to Rx or Tx a segmented packet. This needs to be addressed prior to
v1.0.
This is the reason why ODP_CONFIG_PACKET_BUF_LEN_MIN is set to 1664 in
v0.5, so
On 12/12/2014 12:10 AM, Bill Fischofer wrote:
Packet pools support segmentation, however not in v0.5 because
odp_packet_socket.c can't deal with segmented I/O so there is currently
no way to Rx or Tx a segmented packet. This needs to be addressed prior
to v1.0.
This is the reason why
That is correct. The API is what's in odp_packet.h. Linux-generic
supports all of these APIs, however we don't have the ability to do I/O on
segmented packets (yet) in linux-generic, hence the default segment size I
noted.
Bill
On Thu, Dec 11, 2014 at 4:45 PM, Taras Kondratiuk
Signed-off-by: Bill Fischofer bill.fischo...@linaro.org
---
v4 Removes RFC, incorporates doxygen change recommended by Anders and PEtri
and incorporates bug fixes that enable it to pass Taras' buffer tests.
example/generator/odp_generator.c | 19 +-
example/ipsec/odp_ipsec.c