Re: [lng-odp] [RFC API-NEXT PATCH 2/2] api: cpu: add routines for obtaining socket ids

2016-02-01 Thread Savolainen, Petri (Nokia - FI/Espoo)
:40 AM To: Zoltan Kiss Cc: LNG ODP Mailman List Subject: Re: [lng-odp] [RFC API-NEXT PATCH 2/2] api: cpu: add routines for obtaining socket ids We'll be discussing this RFC on Monday's ARCH call. I'm certainly open to adding this if it's deemed useful. I do note that DPDK defines SOCK_ID_ANY

Re: [lng-odp] [RFC API-NEXT PATCH 2/2] api: cpu: add routines for obtaining socket ids

2016-02-01 Thread Bill Fischofer
uld be hard to tell without testing, if optimal placement for a HW > buffer pool used for packet input from eth0 and output to eth1 would be > SoC4, 5 or 6 (if in addition application SW runs on SoC6). > > > > -Petri > > > > > > > > *From:* lng-odp [mailto:l

Re: [lng-odp] [RFC API-NEXT PATCH 2/2] api: cpu: add routines for obtaining socket ids

2016-01-29 Thread Zoltan Kiss
On 29/01/16 02:44, Bill Fischofer wrote: Add odp_cpu_socket_id() and odp_cpu_socket_id_cpu() routines Signed-off-by: Bill Fischofer --- include/odp/api/cpu.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/include/odp/api/cpu.h

Re: [lng-odp] [RFC API-NEXT PATCH 2/2] api: cpu: add routines for obtaining socket ids

2016-01-29 Thread Bill Fischofer
We'll be discussing this RFC on Monday's ARCH call. I'm certainly open to adding this if it's deemed useful. I do note that DPDK defines SOCK_ID_ANY to be -1 so I'd like to minimize translation overhead for odp-dpdk in this area as well. On Fri, Jan 29, 2016 at 10:27 AM, Zoltan Kiss

[lng-odp] [RFC API-NEXT PATCH 2/2] api: cpu: add routines for obtaining socket ids

2016-01-28 Thread Bill Fischofer
Add odp_cpu_socket_id() and odp_cpu_socket_id_cpu() routines Signed-off-by: Bill Fischofer --- include/odp/api/cpu.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/include/odp/api/cpu.h b/include/odp/api/cpu.h index 4cbaf58..fe74825