[lng-odp] 答复: [question] why tha APIS of odp_pktio_send and odp_pktio_recv are removed in v1.8.0.0?

2016-03-21 Thread Xu Zaibo
sendq_lock; pthread_mutex_t ackq_lock; pthread_mutex_t destroyq_lock; #endif /* USE_SPIN_LOCK */ #endif /* LOCK_STREAM_QUEUE */ }; From Zaibo Thank you! -邮件原件- 发件人: Savolainen, Petri (Nokia - FI/Espoo) [mailto:petri.savolai...@nokia.com] 发送时间: 2016年3月21日 17:13 收件人: Xu Zaibo; lng

[lng-odp] [question] why tha APIS of odp_pktio_send and odp_pktio_recv are removed in v1.8.0.0?

2016-03-21 Thread Xu Zaibo
Hi All, As we know, 'odp_pktio_send' and 'odp_pktio_recv' operate packets by the port, users need not care for queues of port. Instead, there are only 'odp_pktin_recv' and 'odp_pktout_send' APIs in v1.8.0.0, which user must input queue index. So I really don't understand why users should and

[lng-odp] 答复: lng-odp Digest, Vol 23, Issue 207

2016-02-18 Thread Xu Zaibo
wed On 02/18/16 12:09, Xu Zaibo wrote: > > Hi, > > In my compiling test validation, some functions, such as > ‘thread_test_odp_thrmask_and’, ’ thread_test_odp_thrmask_or’…. cannot > be found and failed. > > And I search these function in the home directory of

[lng-odp] [QUESTION] test: validation:thread: some functions cannot be found

2016-02-18 Thread Xu Zaibo
Hi, In my compiling test validation, some functions, such as 'thread_test_odp_thrmask_and', ' thread_test_odp_thrmask_or' cannot be found and failed. And I search these function in the home directory of ODP, but get nothing. So, is it the problem of 'validation/thread.c'? Zaibo Xu

[lng-odp] 答复: [PATCH] pool:odp_buffer_free:check for buffer status

2016-01-24 Thread Xu Zaibo
“ if (odp_likely())” will cost less CPU, Maybe. However, if duplicate free happens, “ODP_ASSERT” can inform us at the happening time. Thanks Zaibo 发件人: Bill Fischofer [mailto:bill.fischo...@linaro.org] 发送时间: 2016年1月25日 8:57 收件人: Xu Zaibo 抄送: Tangchaofei; Liuzhongzhu; chenlizhi; yangfajun; Huwei

[lng-odp] 答复: 答复: [PATCH] pool:odp_buffer_free:check for buffer status

2016-01-24 Thread Xu Zaibo
I understand that. Thanks Thanks Zaibo 发件人: Bill Fischofer [mailto:bill.fischo...@linaro.org] 发送时间: 2016年1月25日 10:09 收件人: Xu Zaibo 抄送: Tangchaofei; Liuzhongzhu; chenlizhi; yangfajun; Huwei (Xavier); Cuiaiguo (Aiguo Cui, WN); LNG ODP Mailman List 主题: Re: 答复: [lng-odp] [PATCH

[lng-odp] 答复: [PATCH] queue: queue_deq: delete atomic fetch and inc

2016-01-17 Thread Xu Zaibo
Sorry, But I cannot find any relationships between ‘queue->s.sync_in[i]’ and ‘odp_schedule_order_lock’ in the ODP-1.6.0.0 vesion. Would you give me some more details to help me understand that ? Thanks. 发件人: Bill Fischofer [mailto:bill.fischo...@linaro.org] 发送时间: 2016年1月16日 8:51 收件人: Xu Zaibo

[lng-odp] 答复: [PATCH] pool:support to create pool on user's own memory

2016-01-14 Thread Xu Zaibo
On 01/14/2016 04:28, Xu Zaibo wrote: > Hi, > > Firstly, I don't want to bring any new type of pool into ODP. > > I just want to give user more chance to use more areas of memory. For > example, referring to your example of various HW offload engines, if there > two or

[lng-odp] 答复: [PATCH] pool:support to create pool on user's own memory

2016-01-14 Thread Xu Zaibo
what is the pool using for and what is the pool's attributions. Zaibo Xu -邮件原件- 发件人: Savolainen, Petri (Nokia - FI/Espoo) [mailto:petri.savolai...@nokia.com] 发送时间: 2016年1月14日 23:00 收件人: Xu Zaibo; Tangchaofei; Liuzhongzhu; chenlizhi; yangfajun; Huwei (Xavier) 抄送: lng-odp

[lng-odp] 答复: [PATCH] pool:support to create pool on user's own memory

2016-01-13 Thread Xu Zaibo
: Savolainen, Petri (Nokia - FI/Espoo) [mailto:petri.savolai...@nokia.com] 发送时间: 2016年1月13日 17:49 收件人: Xu Zaibo; Tangchaofei; Liuzhongzhu; chenlizhi; yangfajun; Huwei (Xavier) 抄送: lng-odp@lists.linaro.org 主题: RE: [lng-odp] [PATCH] pool:support to create pool on user's own memory Hi, What object types

[lng-odp] 答复: [PATCH] pool:support to create pool on user's own memory

2016-01-12 Thread Xu Zaibo
...@linaro.org] 发送时间: 2016年1月12日 21:10 收件人: Xu Zaibo 抄送: Tangchaofei; Liuzhongzhu; chenlizhi; yangfajun; Huwei (Xavier); LNG ODP Mailman List 主题: Re: [lng-odp] [PATCH] pool:support to create pool on user's own memory Some quick comments: 1. This patch should be marked API-NEXT since it proposes