Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-09 Thread Bill Fischofer
Thread using queue index #0 > > odp_pktio_send_queue(pktio, 0, packets, num); > > > > // Thread using queue index #1 > > odp_pktio_send_queue(pktio, 1, packets, num); > > > > > > > > > > *From:* EXT Alexandru Badicioiu [mailto:alexandru.badici...@li

Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-09 Thread Savolainen, Petri (Nokia - FI/Espoo)
avolainen, Petri (Nokia - FI/Espoo) Subject: Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues On 9 November 2015 at 12:26, Bala Manoharan mailto:bala.manoha...@linaro.org>> wrote: The existing Classification infra structure supports this behaviour of hashing

Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-09 Thread Bala Manoharan
object. >> >> I thought it was already decided that hashing functionality should be >> >> integrated into classification API. >> >> >> >> Alex >> >> >> >> >> >> On 9 November 2015 at 11:11, Savolainen, Petri (Nokia - FI/Esp

Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-09 Thread Alexandru Badicioiu
s already decided that hashing functionality should be > >> integrated into classification API. > >> > >> Alex > >> > >> > >> On 9 November 2015 at 11:11, Savolainen, Petri (Nokia - FI/Espoo) > >> wrote: > >>> > >>>

Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-09 Thread Bala Manoharan
ion API. >> >> Alex >> >> >> On 9 November 2015 at 11:11, Savolainen, Petri (Nokia - FI/Espoo) >> wrote: >>> >>> >>> >>> > -Original Message- >>> > From: EXT Bala Manoharan [mailto:bala.manoha...@linaro.org] >>> > Sen

Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-09 Thread Bill Fischofer
om> wrote: > >> >> >> > -Original Message- >> > From: EXT Bala Manoharan [mailto:bala.manoha...@linaro.org] >> > Sent: Friday, November 06, 2015 7:54 PM >> > To: Savolainen, Petri (Nokia - FI/Espoo) >> > Cc: LNG ODP Mailman List >> >

Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-09 Thread Alexandru Badicioiu
aran [mailto:bala.manoha...@linaro.org] > > Sent: Friday, November 06, 2015 7:54 PM > > To: Savolainen, Petri (Nokia - FI/Espoo) > > Cc: LNG ODP Mailman List > > Subject: Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple > > pktio input queues > > > >

Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-09 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: EXT Bala Manoharan [mailto:bala.manoha...@linaro.org] > Sent: Friday, November 06, 2015 7:54 PM > To: Savolainen, Petri (Nokia - FI/Espoo) > Cc: LNG ODP Mailman List > Subject: Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple &g

Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-08 Thread Bill Fischofer
I agree. It's not clear from these definitions how or why packets are spread to input queues or gathered from output queues. What is the use case behind these APIs? It seems we can either do a direct send or recv to a single pktio queue, which gives the same behavior as today's direct send/recv

Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-08 Thread Bill Fischofer
On Fri, Nov 6, 2015 at 6:33 AM, Petri Savolainen wrote: > Added input queue configuration parameters and functions > to setup multiple input queue and hashing. Added also > odp_pktio_input_queues to query the number of queues > and queue handles. Direct receive does not use queue > handles, but i

Re: [lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-06 Thread Bala Manoharan
Hi Petri, Why don't we add this hash parameter to CoS so that when the packet arrives to a CoS it can be distributed based on the hash algorithm to a number of queues. Also if a system does not support Classification this hashing can be attached to the default CoS and in systems supporting Classif

[lng-odp] [API-NEXT PATCH 2/5] api: pktio: added multiple pktio input queues

2015-11-06 Thread Petri Savolainen
Added input queue configuration parameters and functions to setup multiple input queue and hashing. Added also odp_pktio_input_queues to query the number of queues and queue handles. Direct receive does not use queue handles, but indexes. Signed-off-by: Petri Savolainen --- include/odp/api/packe