[lng-odp] [RFC API-NEXT PATCH 0/6] Multiple queue packet IO API

2015-10-14 Thread Nikita Kalyazin
| 4345 | 5.09x | +--++---+ Nikita Kalyazin (6): api: pktio: add multiqueue API linux-generic: pktio: add per queue pktio locks linux-generic: pktio: implement multiqueue API (part I) linux-generic: pktio: imlement multiqueue API (part II) linux

[lng-odp] [RFC API-NEXT PATCH 2/6] linux-generic: pktio: add per queue pktio locks

2015-10-14 Thread Nikita Kalyazin
Signed-off-by: Nikita Kalyazin Reviewed-by: Ilya Maximets --- include/odp/api/config.h| 7 ++- platform/linux-generic/include/odp_packet_io_internal.h | 1 + platform/linux-generic/odp_packet_io.c | 3 +++ 3 files changed, 10 insertions(+), 1

[lng-odp] [RFC API-NEXT PATCH 1/6] api: pktio: add multiqueue API

2015-10-14 Thread Nikita Kalyazin
Signed-off-by: Nikita Kalyazin Reviewed-by: Ilya Maximets --- include/odp/api/packet_io.h | 118 1 file changed, 118 insertions(+) diff --git a/include/odp/api/packet_io.h b/include/odp/api/packet_io.h index e00d011..8df5ad5 100644 --- a/include/odp

[lng-odp] [RFC API-NEXT PATCH 3/6] linux-generic: pktio: implement multiqueue API (part I)

2015-10-14 Thread Nikita Kalyazin
The following API is implemented: - odp_pktio_max_num_queues() - odp_pktio_configure() - odp_pktio_num_queues() - odp_pktio_recv_queue() - odp_pktio_send_queue() Signed-off-by: Nikita Kalyazin Reviewed-by: Ilya Maximets --- .../linux-generic/include/odp_packet_io_internal.h | 11

[lng-odp] [RFC API-NEXT PATCH 6/6] example: generator: use multiqueue API

2015-10-14 Thread Nikita Kalyazin
Added new parameter "-q/--queues" Signed-off-by: Nikita Kalyazin Reviewed-by: Ilya Maximets --- example/generator/odp_generator.c | 63 --- 1 file changed, 45 insertions(+), 18 deletions(-) diff --git a/example/generator/odp_generator.c b/example

[lng-odp] [RFC API-NEXT PATCH 5/6] linux-generic: pktio: multiqueue support in netmap

2015-10-14 Thread Nikita Kalyazin
Signed-off-by: Nikita Kalyazin Reviewed-by: Ilya Maximets --- platform/linux-generic/include/odp_packet_netmap.h | 6 +- platform/linux-generic/pktio/netmap.c | 218 + 2 files changed, 188 insertions(+), 36 deletions(-) diff --git a/platform/linux-generic

[lng-odp] [RFC API-NEXT PATCH 4/6] linux-generic: pktio: imlement multiqueue API (part II)

2015-10-14 Thread Nikita Kalyazin
The following API is implemented: - odp_pktio_inqs_setdef() - odp_pktio_inqs_remdef() - odp_pktio_inqs_getdef() - odp_pktio_outqs_getdef() Scheduler is reimplemented to multiqueue mode. Single queue API is preserved and implemented using multiqueue API. Signed-off-by: Nikita Kalyazin

Re: [lng-odp] [RFC API-NEXT PATCH 0/6] Multiple queue packet IO API

2015-10-19 Thread Nikita Kalyazin
send/recv APIs, since in many cases they might appear more efficient (odp-ovs is an example of such applications), and rename those to make them more obvious. > Are you able to join the meeting on Tuesday to discuss? > > http://www.opendataplane.org/meetings/ Thanks, I'm going to j

Re: [lng-odp] [RFC API-NEXT PATCH 0/6] Multiple queue packet IO API

2015-10-22 Thread Nikita Kalyazin
is option isn't really different from "recv". If this is correct, presence of multiple default input queues is reasonable, since they're directly mapped to NIC's hardware queues, and odp_queue_deq() simply extracts a packet from the appropriate HW queue. -- Best regards,

Re: [lng-odp] [RFC API-NEXT PATCH 0/6] Multiple queue packet IO API

2015-10-26 Thread Nikita Kalyazin
7;ll probably need some hashing API for egress too. Should be shaping/scheduling algorithms be aware of HW Tx queues or they work at the level of pktio/spigot as a whole? -- Best regards, Nikita Kalyazin, n.kalya...@samsung.com Software Engineer Virtualization Group Samsung R&D Institute Russi

Re: [lng-odp] [RFC API-NEXT PATCH 0/6] Multiple queue packet IO API

2015-10-26 Thread Nikita Kalyazin
10:26:02AM +0300, Alexandru Badicioiu wrote: > > > On 22 October 2015 at 18:06, Nikita Kalyazin <[1]n.kalya...@samsung.com> > wrote: > > Hi, > > > [Alex] ODP queues are neither software nor hardware by definition, each > > implementation is free

[lng-odp] ODP-accelerated OVS plans

2015-04-28 Thread Nikita Kalyazin
Hi, What are the plans for ODP-OVS project that is developed by LNG (https://git.linaro.org/lng/odp-ovs.git)? Are the ODP patches going to be upstreamed to OVS mainline or, at least, rebased onto actual OVS version internally? -- Best regards, Nikita Kalyazin, n.kalya...@samsung.com CE OS

Re: [lng-odp] ODP-accelerated OVS plans

2015-04-28 Thread Nikita Kalyazin
Zoltan, Is there any specific roadmap for these (reliable testing and performance measurements)? -- Best regards, Nikita Kalyazin, n.kalya...@samsung.com CE OS Group Samsung R&D Institute Russia Tel: +7 (495) 797-25-00 #3816 Tel: +7 (495) 797-25-03 Office #1501, 12-1, Dvintsev str., Mo

Re: [lng-odp] ODP-accelerated OVS plans

2015-04-29 Thread Nikita Kalyazin
Mike, Zoltan, Thanks for sharing this. -- Best regards, Nikita Kalyazin, n.kalya...@samsung.com CE OS Group Samsung R&D Institute Russia Tel: +7 (495) 797-25-00 #3816 Tel: +7 (495) 797-25-03 Office #1501, 12-1, Dvintsev str., Moscow, 127018, Russia On Tue, Apr 28, 2015 at 08:51:01AM -