[lng-odp] [PATCH API-NEXT v11 3/8] linux-gen: packet: factor out L2 header parsing

2017-08-01 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Function parse_packet_common() now becomes just a multiplexer calling other low-level parsing functions. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 81 (lumag:ipsec-packet-impl-2) ** https://github.com/Linaro/odp/pull/81 ** Patc

[lng-odp] [PATCH API-NEXT v11 1/8] linux-gen: pktio: loop: support IPsec outbound inline

2017-08-01 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add support for outbound inline IPsec packet processing on loop interface. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 81 (lumag:ipsec-packet-impl-2) ** https://github.com/Linaro/odp/pull/81 ** Patch: https://github.com/Linaro/o

[lng-odp] [PATCH API-NEXT v11 4/8] linux-gen: packet: add support for IP-in-IP (RFC 2003) encap

2017-08-01 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Don't barf on IP-in-IP packets parsing, just ignore L4 (=L3) header. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 81 (lumag:ipsec-packet-impl-2) ** https://github.com/Linaro/odp/pull/81 ** Patch: https://github.com/Linaro/odp/pul

[lng-odp] [PATCH API-NEXT v11 0/8] IPsec implementation based on packet interface

2017-08-01 Thread Github ODP bot
This PR replaces #28 by providing new IPsec implementation based on latest API additions. github /** Email created from pull request 81 (lumag:ipsec-packet-impl-2) ** https://github.com/Linaro/odp/pull/81 ** Patch: https://github.com/Linaro/odp/pull/81.pa

[lng-odp] [PATCH API-NEXT v11 6/8] linux-generic: ipsec: implement events handling

2017-08-01 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add functions implementing IPsec events support. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 81 (lumag:ipsec-packet-impl-2) ** https://github.com/Linaro/odp/pull/81 ** Patch: https://github.com/Linaro/odp/pull/81.patch ** Base

[lng-odp] [PATCH API-NEXT v11 5/8] test: validation: add IPsec API testsuite

2017-08-01 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add several basic tests for IPsec API. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 81 (lumag:ipsec-packet-impl-2) ** https://github.com/Linaro/odp/pull/81 ** Patch: https://github.com/Linaro/odp/pull/81.patch ** Base sha: c16f1

[lng-odp] [PATCH API-NEXT v11 8/8] linux-generic: ipsec: draft IPsec implementation

2017-08-01 Thread Github ODP bot
From: Dmitry Eremin-Solenikov For now it's only a preview with the following limitation: - Only IPv4 support - No pipeline_cls and outer header retaining support - No zeroing of mutable IPv4 options for AH ICV calculation - No replay protection - No ESN support - No UDP encapsulation suppor

[lng-odp] [PATCH API-NEXT v11 7/8] linux-generic: ipsec: implement IPsec SAD

2017-08-01 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Implement SA database and SA handling. - only IPv4 is supported for now - no support for time-based limits Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 81 (lumag:ipsec-packet-impl-2) ** https://github.com/Linaro/odp/pull/81 ** P

[lng-odp] [PATCH API-NEXT v11 2/8] linux-gen: pktio: loop: support IPsec inbound inline

2017-08-01 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Add support for inbound inline IPsec packet processing on loop interface. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 81 (lumag:ipsec-packet-impl-2) ** https://github.com/Linaro/odp/pull/81 ** Patch: https://github.com/Linaro/od

[lng-odp] [PATCH API-NEXT v1 0/1] api:pktio: add MAC address and MTU set functions

2017-08-01 Thread Vamsi Attunuru
Existing pktio API has only support of querying MAC and MTU values. Adds new pktio APIs to set MTU and default MAC address on pktio interface, new pktio APIs also support add & remove multiple MAC addresses to pktio interface. Implementation can indicate it's supported maximum MTU size, MAC address

[lng-odp] [PATCH API-NEXT v1 1/1] api:pktio: add MAC address and MTU set functions.

2017-08-01 Thread Vamsi Attunuru
Signed-off-by: Vamsi Attunuru Signed-off-by: Shally Verma Signed-off-by: Mahipal Challa --- include/odp/api/spec/packet_io.h | 167 +++ 1 file changed, 167 insertions(+) diff --git a/include/odp/api/spec/packet_io.h b/include/odp/api/spec/packet_io.h inde

[lng-odp] [PATCH API-NEXT v1 2/3] api: classification: add support for packet hashing in classification

2017-08-01 Thread Github ODP bot
From: Balasubramanian Manoharan Enable packet hashing per CoS to be able to distribute incoming packets to multiple queues linked with a CoS. Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 99 (bala-manoharan:cls-queue-hashing1) ** https://github.com/Linaro/odp

[lng-odp] [PATCH API-NEXT v1 1/3] linux-generic: add toeplitz hash algorithm

2017-08-01 Thread Github ODP bot
From: Balasubramanian Manoharan Adds toeplitz hash algorithm implementation for RSS hashing Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 99 (bala-manoharan:cls-queue-hashing1) ** https://github.com/Linaro/odp/pull/99 ** Patch: https://github.com/Linaro/odp/

[lng-odp] [PATCH API-NEXT v1 0/3] classification queue hashing

2017-08-01 Thread Github ODP bot
github /** Email created from pull request 99 (bala-manoharan:cls-queue-hashing1) ** https://github.com/Linaro/odp/pull/99 ** Patch: https://github.com/Linaro/odp/pull/99.patch ** Base sha: c16f1363303cd5fc11324acbc4dfebe0a9680a41 ** Merge commit sha: N

[lng-odp] [PATCH API-NEXT v1 3/3] linux-generic: classification: implement packet hashing

2017-08-01 Thread Github ODP bot
From: Balasubramanian Manoharan Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 99 (bala-manoharan:cls-queue-hashing1) ** https://github.com/Linaro/odp/pull/99 ** Patch: https://github.com/Linaro/odp/pull/99.patch ** Base sha: c16f1363303cd5fc11324acbc4dfebe0a

Re: [lng-odp] odp_buffer_t and odp_packet_t

2017-08-01 Thread Maxim Uvarov
They are not linked. Packet might be different than buffers. Conversion with event is not really clear in implementation and has to check event type match. I.e. only ODP_EVENT_BUFFER type event can be created from buffer. If you need create packet, then alloc it and copy data to it with odp_packet

[lng-odp] [PATCH CLOUD-DEV v3 0/3] odp: add modular framework

2017-08-01 Thread Github ODP bot
Since v2, v3 changed: list.h - remove unused macros atomic.h, rwlock.h - revise documentations module.h/module.c - revise various comments and descriptions - add prefix ODP_ to all external macros/APIs - replace SUBSYSTEM() to SUBSYSTEM_DECLARE()/_DEFINE() - change the way user defines derived dat

[lng-odp] [PATCH CLOUD-DEV v3 3/3] odp: add modular framework

2017-08-01 Thread Github ODP bot
From: Yi He Add modular programming framework to support selectable implementations for variant software subsystems. Signed-off-by: Yi He --- /** Email created from pull request 65 (heyi-linaro:modular-framework) ** https://github.com/Linaro/odp/pull/65 ** Patch: https://github.com/Linaro/odp

[lng-odp] [PATCH CLOUD-DEV v3 2/3] validation: pktio: disable socket mmsg pktio

2017-08-01 Thread Github ODP bot
From: Yi He It was not working already, the problem are obscured in make check because with static pktio_if_ops array socket mmap pktio always take precedence over socket mmsg pktio. Signed-off-by: Yi He --- /** Email created from pull request 65 (heyi-linaro:modular-framework) ** https://gith

[lng-odp] [PATCH CLOUD-DEV v3 1/3] example: ddf_app: add .gitignore

2017-08-01 Thread Github ODP bot
From: Yi He Signed-off-by: Yi He --- /** Email created from pull request 65 (heyi-linaro:modular-framework) ** https://github.com/Linaro/odp/pull/65 ** Patch: https://github.com/Linaro/odp/pull/65.patch ** Base sha: 1ba26aa5650c05718c177842178de6d0f70b7fc1 ** Merge commit sha: 6ec2e428f70182

Re: [lng-odp] odp_buffer_t and odp_packet_t

2017-08-01 Thread Bill Fischofer
ODP pools are objects of type odp_pool_t that store objects that can be allocated and freed via their own alloc/free calls. Pools come in three types determined at odp_pool_create() time: - ODP_POOL_BUFFER for odp_buffer_t objects - ODP_POOL_PACKET for odp_packet_t objects - ODP_POOL_TIMEOUT for o

Re: [lng-odp] [PATCH API-NEXT v1 1/1] api:pktio: add MAC address and MTU set functions.

2017-08-01 Thread Bill Fischofer
Correct tag for this should be --subject-prefix="API-NEXT PATCHv2" Every time a revision of a patch is submitted, increment the version. This is done automatically if you use a GitHub pull request, but must be done manually if you submit the patch via e-mail. Thanks. On Tue, Aug 1, 2017 at 2:38

Re: [lng-odp] [PATCH API-NEXT v1 1/1] api:pktio: add MAC address and MTU set functions.

2017-08-01 Thread Dmitry Eremin-Solenikov
On 01/08/17 10:38, Vamsi Attunuru wrote: > Signed-off-by: Vamsi Attunuru > Signed-off-by: Shally Verma > Signed-off-by: Mahipal Challa I'd suggest to split this into two separate patches: one for MTU (seems simpler and will go in w/o any issues) and one for MAC addresses, which will require s

[lng-odp] [PATCH API-NEXT v1 1/3] linux-generic: add toeplitz hash algorithm

2017-08-01 Thread Github ODP bot
From: Balasubramanian Manoharan Adds toeplitz hash algorithm implementation for RSS hashing Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 100 (bala-manoharan:cls-queue-hashing3) ** https://github.com/Linaro/odp/pull/100 ** Patch: https://github.com/Linaro/od

[lng-odp] [PATCH API-NEXT v1 2/3] api: classification: add support for packet hashing in classification

2017-08-01 Thread Github ODP bot
From: Balasubramanian Manoharan Enable packet hashing per CoS to be able to distribute incoming packets to multiple queues linked with a CoS. Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 100 (bala-manoharan:cls-queue-hashing3) ** https://github.com/Linaro/od

[lng-odp] [PATCH API-NEXT v1 0/3] api: classification: adds packet hashing feature

2017-08-01 Thread Github ODP bot
Packet hashing feature has been added to class of service to be able to distribute the packets among several queues github /** Email created from pull request 100 (bala-manoharan:cls-queue-hashing3) ** https://github.com/Linaro/odp/pull/100 ** Patch: http

[lng-odp] [PATCH API-NEXT v1 3/3] linux-generic: classification implement packet hashing

2017-08-01 Thread Github ODP bot
From: Balasubramanian Manoharan implementation for packet hashing on classification Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 100 (bala-manoharan:cls-queue-hashing3) ** https://github.com/Linaro/odp/pull/100 ** Patch: https://github.com/Linaro/odp/pull/1

[lng-odp] [Linaro/odp] bb0ca1: travis: fix DPDK cache

2017-08-01 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c https://github.com/Linaro/odp/commit/bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c Author: Dmitry Eremin-Solenikov Date: 2017-08-01 (Tue, 01 Aug 2017) Changed paths:

[lng-odp] [Linaro/odp] 10ef82: test: fix cunit include path

2017-08-01 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 10ef82e6d4db8c02dd5caa2e97172688e829b90c https://github.com/Linaro/odp/commit/10ef82e6d4db8c02dd5caa2e97172688e829b90c Author: Maxim Uvarov Date: 2017-07-31 (Mon, 31 Jul 2017) Changed paths: M test/

[lng-odp] [PATCH v3 0/10] Zero-copy packet references

2017-08-01 Thread Github ODP bot
Implement zero-copy packet references. This re-issue is rebased on current master and incorporates Yi's suggestion to move the packet inline access macros into a common file. github /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) **

[lng-odp] [PATCH v3 5/10] linux-generic: packet: unshared_len maintenance

2017-08-01 Thread Github ODP bot
From: Bill Fischofer Add code to initialize and maintain unshared_len packet metadata Signed-off-by: Bill Fischofer --- /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) ** https://github.com/Linaro/odp/pull/90 ** Patch: https://github.com/Linaro/odp/pull/90.patch ** Bas

[lng-odp] [PATCH v3 4/10] linux-generic: packet: add initializations for new hdr fields

2017-08-01 Thread Github ODP bot
From: Bill Fischofer Add initializations for new packet hdr fields needed to support packet references. Signed-off-by: Bill Fischofer --- /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) ** https://github.com/Linaro/odp/pull/90 ** Patch: https://github.com/Linaro/odp/pul

[lng-odp] [PATCH v3 2/10] linux-generic: packet: add packet fields needed for references

2017-08-01 Thread Github ODP bot
From: Bill Fischofer Add new fields to the odp_packet_hdr_t used for support of zero-copy references. Also added are the offsets needed to access them from inlined functions. Signed-off-by: Bill Fischofer --- /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) ** https://git

[lng-odp] [PATCH v3 3/10] linux-generic: packet: add routines for manipulating reference counts

2017-08-01 Thread Github ODP bot
From: Bill Fischofer Signed-off-by: Bill Fischofer --- /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) ** https://github.com/Linaro/odp/pull/90 ** Patch: https://github.com/Linaro/odp/pull/90.patch ** Base sha: bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c ** Merge commit s

[lng-odp] [PATCH v3 7/10] linux-generic: packet: restructure free routines for references

2017-08-01 Thread Github ODP bot
From: Bill Fischofer Restructure the various packet/segment free routines to support references. Signed-off-by: Bill Fischofer --- /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) ** https://github.com/Linaro/odp/pull/90 ** Patch: https://github.com/Linaro/odp/pull/90.pa

[lng-odp] [PATCH v3 1/10] linux-generic: packet: restructure inline routines to use macros

2017-08-01 Thread Github ODP bot
From: Bill Fischofer Use an internal macro for accessing inline fields in preparation for introducing packet reference support. Signed-off-by: Bill Fischofer --- /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) ** https://github.com/Linaro/odp/pull/90 ** Patch: https://g

[lng-odp] [PATCH v3 6/10] linux-generic: packet: segment manipulation with references

2017-08-01 Thread Github ODP bot
From: Bill Fischofer Add support for segment operation with references Signed-off-by: Bill Fischofer --- /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) ** https://github.com/Linaro/odp/pull/90 ** Patch: https://github.com/Linaro/odp/pull/90.patch ** Base sha: bb0ca193

[lng-odp] [PATCH v3 8/10] linux-generic: packet: add reference support for head/tail manipulation

2017-08-01 Thread Github ODP bot
From: Bill Fischofer Signed-off-by: Bill Fischofer --- /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) ** https://github.com/Linaro/odp/pull/90 ** Patch: https://github.com/Linaro/odp/pull/90.patch ** Base sha: bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c ** Merge commit s

[lng-odp] [PATCH v3 10/10] linux-generic: packet: enable zero-copy reference creation

2017-08-01 Thread Github ODP bot
From: Bill Fischofer Signed-off-by: Bill Fischofer --- /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) ** https://github.com/Linaro/odp/pull/90 ** Patch: https://github.com/Linaro/odp/pull/90.patch ** Base sha: bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c ** Merge commit s

[lng-odp] [PATCH v3 9/10] linux-generic: ipc: cannot share references across ipc

2017-08-01 Thread Github ODP bot
From: Bill Fischofer When attempting to send a reference via IPC, make a copy of the packet as reference sharing is only supported within a single ODP instance. Signed-off-by: Bill Fischofer --- /** Email created from pull request 90 (Bill-Fischofer-Linaro:pktrefs) ** https://github.com/Linaro

Re: [lng-odp] odp_buffer_t and odp_packet_t

2017-08-01 Thread Honnappa Nagarahalli
On 1 August 2017 at 06:57, Bill Fischofer wrote: > ODP pools are objects of type odp_pool_t that store objects that can be > allocated and freed via their own alloc/free calls. Pools come in three > types determined at odp_pool_create() time: > > - ODP_POOL_BUFFER for odp_buffer_t objects > - ODP_

Re: [lng-odp] odp_buffer_t and odp_packet_t

2017-08-01 Thread Honnappa Nagarahalli
On 1 August 2017 at 06:57, Bill Fischofer wrote: > ODP pools are objects of type odp_pool_t that store objects that can be > allocated and freed via their own alloc/free calls. Pools come in three > types determined at odp_pool_create() time: > > - ODP_POOL_BUFFER for odp_buffer_t objects > - ODP_

Re: [lng-odp] [PATCH API-NEXT v1 1/1] api:pktio: add MAC address and MTU set functions.

2017-08-01 Thread Bill Fischofer
We discussed this patch during today's ODP public call. Notes from that discussion: 1. Ethernet MAC addresses are not of arbitrary length. They are always 48 bits. Some pktios (not currently supported in ODP) may support 64-bit MAC addresses, so it's OK to make provision for future support, but th

Re: [lng-odp] [PATCH API-NEXT v1 1/1] api:pktio: add MAC address and MTU set functions.

2017-08-01 Thread Dmitry Eremin-Solenikov
On 01/08/17 21:42, Bill Fischofer wrote: > We discussed this patch during today's ODP public call. Notes from that > discussion: [skipped] > This should be a struct, not a union. If it's a union then all fields > are mapped on top of each other, which is clearly not what you intend > here. Howeve

[lng-odp] [Bug 3182] New: Memory allocation checks

2017-08-01 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3182 Bug ID: 3182 Summary: Memory allocation checks Product: OpenDataPlane - linux- generic reference Version: unspecified Hardware: All OS: Linux Status: UNCONFIRMED

Re: [lng-odp] [PATCH API-NEXT v1 1/1] api:pktio: add MAC address and MTU set functions.

2017-08-01 Thread Maxim Uvarov
On 08/01/17 15:02, Bill Fischofer wrote: > Correct tag for this should be --subject-prefix="API-NEXT PATCHv2" > > Every time a revision of a patch is submitted, increment the version. This > is done automatically if you use a GitHub pull request, but must be done > manually if you submit the patch

Re: [lng-odp] [PATCH CLOUD-DEV v3 3/3] odp: add modular framework

2017-08-01 Thread Maxim Uvarov
On 08/01/17 13:00, Github ODP bot wrote: > + > +int odp_module_install(void *dso, bool active) > +{ > + /* Bottom halves of the registration, context exclusion > + * is guaranteed by module_loader_start() > + */ > + if (0 == odp_rwlock_write_trylock(®istration.lock)) { > +

[lng-odp] [Bug 3182] Memory allocation checks

2017-08-01 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3182 Bill Fischofer changed: What|Removed |Added Assignee|lng-odp@lists.linaro.org|ilias.apalodi...@linaro.org C

[lng-odp] [Bug 3182] Memory allocation checks

2017-08-01 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3182 Bill Fischofer changed: What|Removed |Added Assignee|ilias.apalodi...@linaro.org |lng-odp@lists.linaro.org Version|u

Re: [lng-odp] [PATCH API-NEXT v1 1/1] api:pktio: add MAC address and MTU set functions.

2017-08-01 Thread shally verma
On Wed, Aug 2, 2017 at 1:39 AM, Maxim Uvarov wrote: > On 08/01/17 15:02, Bill Fischofer wrote: >> Correct tag for this should be --subject-prefix="API-NEXT PATCHv2" >> >> Every time a revision of a patch is submitted, increment the version. This >> is done automatically if you use a GitHub pull re