Re: [lng-odp] [API-NEXT PATCH 04/14] api: shm: add flag to guarantee address unicity on all ODP threads

2016-10-10 Thread Christophe Milard
Patch 4 and 6 are really part of the implementation of 2 different functions (locking memory and guaranteeing single virtual address). Yes, they both add a flag, but isn't strange to do 2 different unrelated things in one patch? If you insist, I can merge, but it feels wrong to me... When it

[lng-odp] [Bug 2426] CID 164653: (INTEGER_OVERFLOW) traffic_mngr.c

2016-10-10 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2426 Mike Holmes changed: What|Removed |Added Resolution|FIXED |---

[lng-odp] [Bug 2425] CID 164654: Insecure data handling odp_sysinfo_parse.c

2016-10-10 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2425 Mike Holmes changed: What|Removed |Added Assignee|lng-odp@lists.linaro.org|maxim.uva...@linaro.org

[lng-odp] [Bug 2425] CID 164654: Insecure data handling odp_sysinfo_parse.c

2016-10-10 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2425 Mike Holmes changed: What|Removed |Added Ever confirmed|0 |1

[lng-odp] [API-NEXT PATCHv5 2/5] linux-generic: packet: implement splice/reference apis

2016-10-10 Thread Bill Fischofer
Implement the APIs: - odp_packet_splice() - odp_packet_ref() - odp_packet_is_a_splice(), - odp_packet_is_spliced() APIs. This also involves functional upgrades to the existing packet manipulation APIs to be able to deal correctly with spliced packets as input. Signed-off-by: Bill Fischofer

[lng-odp] [API-NEXT PATCHv5 5/5] doc: userguide: add user documentation for packet splice/reference APIs

2016-10-10 Thread Bill Fischofer
Signed-off-by: Bill Fischofer --- doc/users-guide/users-guide-packet.adoc | 118 1 file changed, 118 insertions(+) diff --git a/doc/users-guide/users-guide-packet.adoc b/doc/users-guide/users-guide-packet.adoc index e3be23c..82836d0

[lng-odp] [API-NEXT PATCHv5 3/5] validation: packet: add packet splice/reference tests

2016-10-10 Thread Bill Fischofer
Add validation tests for the new packet splice/reference APIs: - odp_packet_splice() - odp_packet_ref() - odp_packet_is_a_splice() - odp_packet_spliced() Signed-off-by: Bill Fischofer --- test/common_plat/validation/api/packet/packet.c | 176

[lng-odp] [API-NEXT PATCHv5 0/5] Add Packet Splice/Reference APIs

2016-10-10 Thread Bill Fischofer
This patch adds support for packet references and splices following discussions at LAS16 on this subject. I've changed things around from Petri's original proposal by splitting this into two separate APIs: odp_packet_splice() and odp_packet_ref(), where the latter is just a splice of a

[lng-odp] [API-NEXT PATCHv5 1/5] api: packet: add support for packet splices and references

2016-10-10 Thread Bill Fischofer
Introduce four new APIs that support efficient sharing of portions of packets. odp_packet_splice() creates a reference to a base packet by splicing a supplied header packet onto it at a specified offset. If multiple splices are created then each shares the base packet that was spliced.

[lng-odp] [API-NEXT PATCHv4 1/5] api: packet: add support for packet splices and references

2016-10-10 Thread Bill Fischofer
Introduce four new APIs that support efficient sharing of portions of packets. odp_packet_splice() creates a reference to a base packet by splicing a supplied header packet onto it at a specified offset. If multiple splices are created then each shares the base packet that was spliced.

[lng-odp] [API-NEXT PATCHv4 0/5] Add Packet Splice/Reference APIs

2016-10-10 Thread Bill Fischofer
This patch adds support for packet references and splices following discussions at LAS16 on this subject. I've changed things around from Petri's original proposal by splitting this into two separate APIs: odp_packet_splice() and odp_packet_ref(), where the latter is just a splice of a

[lng-odp] [API-NEXT PATCHv4 3/5] validation: packet: add packet splice/reference tests

2016-10-10 Thread Bill Fischofer
Add validation tests for the new packet splice/reference APIs: - odp_packet_splice() - odp_packet_ref() - odp_packet_is_a_splice() - odp_packet_spliced() Signed-off-by: Bill Fischofer --- test/common_plat/validation/api/packet/packet.c | 176

[lng-odp] [API-NEXT PATCHv4 2/5] linux-generic: packet: implement splice/reference apis

2016-10-10 Thread Bill Fischofer
Implement the APIs: - odp_packet_splice() - odp_packet_ref() - odp_packet_is_a_splice(), - odp_packet_is_spliced() APIs. This also involves functional upgrades to the existing packet manipulation APIs to be able to deal correctly with spliced packets as input. Signed-off-by: Bill Fischofer

[lng-odp] [API-NEXT PATCHv4 5/5] doc: userguide: add user documentation for packet splice/reference APIs

2016-10-10 Thread Bill Fischofer
Signed-off-by: Bill Fischofer --- doc/users-guide/users-guide-packet.adoc | 118 1 file changed, 118 insertions(+) diff --git a/doc/users-guide/users-guide-packet.adoc b/doc/users-guide/users-guide-packet.adoc index e3be23c..82836d0

[lng-odp] [API-NEXT PATCHv6 1/5] api: packet: add support for packet splices and references

2016-10-10 Thread Bill Fischofer
Introduce four new APIs that support efficient sharing of portions of packets. odp_packet_splice() creates a reference to a base packet by splicing a supplied header packet onto it at a specified offset. If multiple splices are created then each shares the base packet that was spliced.

[lng-odp] [API-NEXT PATCHv6 0/5] Add Packet Splice/Reference APIs

2016-10-10 Thread Bill Fischofer
This patch adds support for packet references and splices following discussions at LAS16 on this subject. I've changed things around from Petri's original proposal by splitting this into two separate APIs: odp_packet_splice() and odp_packet_ref(), where the latter is just a splice of a

[lng-odp] [API-NEXT PATCHv6 5/5] doc: userguide: add user documentation for packet splice/reference APIs

2016-10-10 Thread Bill Fischofer
Signed-off-by: Bill Fischofer --- doc/users-guide/users-guide-packet.adoc | 118 1 file changed, 118 insertions(+) diff --git a/doc/users-guide/users-guide-packet.adoc b/doc/users-guide/users-guide-packet.adoc index e3be23c..82836d0

[lng-odp] [API-NEXT PATCHv6 2/5] linux-generic: packet: implement splice/reference apis

2016-10-10 Thread Bill Fischofer
Implement the APIs: - odp_packet_splice() - odp_packet_ref() - odp_packet_is_a_splice(), - odp_packet_is_spliced() APIs. This also involves functional upgrades to the existing packet manipulation APIs to be able to deal correctly with spliced packets as input. Signed-off-by: Bill Fischofer

[lng-odp] [API-NEXT PATCHv6 3/5] validation: packet: add packet splice/reference tests

2016-10-10 Thread Bill Fischofer
Add validation tests for the new packet splice/reference APIs: - odp_packet_splice() - odp_packet_ref() - odp_packet_is_a_splice() - odp_packet_spliced() Signed-off-by: Bill Fischofer --- test/common_plat/validation/api/packet/packet.c | 176