[lng-odp] [PATCHv1] test: classification: fix: update odp_pktin_queue_param_t

2017-07-27 Thread Balasubramanian Manoharan
classifier_enable field in odp_pktin_queue_param_t has to set to true for classification test suite to function correctly. Signed-off-by: Balasubramanian Manoharan --- .../validation/api/classification/odp_classification_common.c | 2 ++ .../validation/api/classification

[lng-odp] [PATCHv1] fix: classifier_enable field update for classification test cases

2017-07-27 Thread Balasubramanian Manoharan
classifier_enable field in odp_pktin_queue_param_t has to set to true for classification test suite to function correctly. Signed-off-by: Balasubramanian Manoharan --- .../validation/api/classification/odp_classification_common.c | 2 ++ .../validation/api/classification

[lng-odp] [API-NEXTv5 3/3] linux-generic: classification implement packet hashing

2017-07-27 Thread Balasubramanian Manoharan
implementation for packet hashing on classification Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 32 ++- .../include/odp_classification_internal.h | 7 + platform/linux-generic/odp_classification.c| 234

[lng-odp] [API-NEXTv5 2/3] linux-generic: add toeplitz hash algorithm

2017-07-27 Thread Balasubramanian Manoharan
Adds toeplitz hash algorithm implementation for RSS hashing Signed-off-by: Balasubramanian Manoharan --- platform/linux-generic/include/protocols/thash.h | 108 +++ 1 file changed, 108 insertions(+) create mode 100644 platform/linux-generic/include/protocols/thash.h diff

[lng-odp] [API-NEXTv5 1/3] api: classification: add support for packet hashing in classification

2017-07-27 Thread 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 --- include/odp/api/spec/classification.h | 90 +-- 1 file changed, 85 insertions(+), 5 deletions(-) diff --git

[lng-odp] [API-NEXTv4 3/3] linux-generic: classification implement packet hashing

2017-07-24 Thread Balasubramanian Manoharan
implementation for packet hashing on classification Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 32 +++- .../include/odp_classification_internal.h | 7 + platform/linux-generic/odp_classification.c| 198

[lng-odp] [API-NEXTv4 2/3] linux-generic: add toeplitz hash algorithm

2017-07-24 Thread Balasubramanian Manoharan
Adds toeplitz hash algorithm implementation for RSS hashing Signed-off-by: Balasubramanian Manoharan --- platform/linux-generic/include/protocols/thash.h | 108 +++ 1 file changed, 108 insertions(+) create mode 100644 platform/linux-generic/include/protocols/thash.h diff

[lng-odp] [API-NEXTv4 1/3] api: classification: add support for packet hashing in classification

2017-07-24 Thread 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 --- v4: incorporates review comments from Petri include/odp/api/spec/classification.h | 83 --- 1 file changed

[lng-odp] [RFC/API-NEXTv3 3/3] linux-generic: classification implement packet hashing

2017-07-14 Thread Balasubramanian Manoharan
Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 20 ++- .../include/odp_classification_internal.h |4 + platform/linux-generic/odp_classification.c| 182 3 files changed, 176 insertions(+), 30

[lng-odp] [RFC/API-NEXTv3 2/3] linux-generic: add toeplitz hash algorithm

2017-07-14 Thread Balasubramanian Manoharan
Signed-off-by: Balasubramanian Manoharan --- platform/linux-generic/include/protocols/thash.h | 108 ++ 1 file changed, 108 insertions(+) create mode 100644 platform/linux-generic/include/protocols/thash.h diff --git a/platform/linux-generic/include/protocols/thash.h b

[lng-odp] [RFC/API-NEXTv3 1/3] api: classification: add support for packet hashing in classification

2017-07-14 Thread 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 --- include/odp/api/spec/classification.h | 96 +++-- include/odp/api/spec/packet_io.h | 21 2

[lng-odp] [RFC/API-NEXT] api: schedule: add ordered context unlock-lock

2017-06-16 Thread Balasubramanian Manoharan
Adds api to release an existing ordered lock and acquire a new lock. Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/schedule.h | 20 1 file changed, 20 insertions(+) diff --git a/include/odp/api/spec/schedule.h b/include/odp/api/spec/schedule.h index

[lng-odp] [RFC] api: classification: add random early discard

2017-06-12 Thread Balasubramanian Manoharan
Add random early discard configuration to class-of-service Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/classification.h | 44 +++ 1 file changed, 44 insertions(+) diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec

[lng-odp] [RFC] api: pool: add threshold limit to the pool

2017-06-05 Thread Balasubramanian Manoharan
Adds threshold limit of the pool to the pool parameters. This threshold limit is a percentage of total size of the pool. Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/pool.h | 32 1 file changed, 32 insertions(+) diff --git a/include/odp/api

[lng-odp] [PATCH 3/3] linux-generic: classification: implement packet hashing in classifier

2017-05-03 Thread Balasubramanian Manoharan
Implement packet hashing feature to distribute incoming packet to multiple queues linked with CoS. Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 18 +++ .../include/odp_classification_internal.h | 4 + platform/linux-generic

[lng-odp] [PATCH 2/3] linux-generic: add Toeplitz hash algorithm

2017-05-03 Thread Balasubramanian Manoharan
Implements Toeplitz hash algorithm for packet hashing Signed-off-by: Balasubramanian Manoharan --- platform/linux-generic/include/protocols/thash.h | 108 +++ 1 file changed, 108 insertions(+) create mode 100644 platform/linux-generic/include/protocols/thash.h diff --git a

[lng-odp] [PATCH 1/3] api: classification: add support for packet hashing in classification

2017-05-03 Thread 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 --- include/odp/api/spec/classification.h | 71 --- include/odp/api/spec/packet_io.h | 21 +++ 2

[lng-odp] [PATCHv1 2/2] validation: classification: add test case for outer and inner eth type

2017-02-17 Thread Balasubramanian Manoharan
Add test case for outer and inner ethernet type packet matching rule Signed-off-by: Balasubramanian Manoharan --- .../validation/api/classification/classification.h | 2 + .../classification/odp_classification_test_pmr.c | 224 + 2 files changed, 226 insertions(+) diff

[lng-odp] [PATCHv1 1/2] linux-generic: classification: implement eth type packet matching rule

2017-02-17 Thread Balasubramanian Manoharan
Adds implementation for outer and inner ethernet type packet matching rule Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_inlines.h | 40 +- 1 file changed, 32 insertions(+), 8 deletions(-) diff --git a/platform/linux-generic/include

[lng-odp] [PATCHv1 2/2] validation: classification: add test case for outer and inner vlan id

2017-02-09 Thread Balasubramanian Manoharan
Adds test case for outer and inner vlan id packet matching rule Signed-off-by: Balasubramanian Manoharan --- .../validation/api/classification/classification.h | 2 + .../api/classification/odp_classification_common.c | 17 +- .../classification/odp_classification_test_pmr.c | 229

[lng-odp] [PATCHv1 1/2] linux-generic: classification: implement vlan id packet matching rule

2017-02-09 Thread Balasubramanian Manoharan
Add implementation for outer and inner vlan ID packet matching rule Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_inlines.h | 41 +++--- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/platform/linux-generic/include

[lng-odp] [PATCHv3 2/2] validation: classification: add test case for ipv6 src and dst addr

2017-02-03 Thread Balasubramanian Manoharan
Adds test case for ipv6 source and destination address matching Signed-off-by: Balasubramanian Manoharan --- .../validation/api/classification/classification.h | 21 ++ .../api/classification/odp_classification_common.c | 149 ++- .../classification/odp_classification_test_pmr.c

[lng-odp] [PATCHv3 1/2] linux-generic: classification: implement ipv6 packet matching rule

2017-02-03 Thread Balasubramanian Manoharan
Adds test case for ipv6 source and destination address matching Signed-off-by: Balasubramanian Manoharan --- v3: performance enhancement using bitwise AND for ip address mask .../include/odp_classification_datamodel.h | 11 - .../include/odp_classification_inlines.h | 52

[lng-odp] [PATCHv2 2/2] validation: classification: add test case for ipv6 src and dst addr

2017-01-30 Thread Balasubramanian Manoharan
Adds test case for ipv6 source and destination address matching Signed-off-by: Balasubramanian Manoharan --- .../validation/api/classification/classification.h | 21 ++ .../api/classification/odp_classification_common.c | 149 ++- .../classification/odp_classification_test_pmr.c

[lng-odp] [PATCHv2 1/2] linux-generic: classification: implement ipv6 packet matching rule

2017-01-30 Thread Balasubramanian Manoharan
Adds test case for ipv6 source and destination address matching Signed-off-by: Balasubramanian Manoharan --- v2: clang compilation fix .../include/odp_classification_datamodel.h | 11 +- .../include/odp_classification_inlines.h | 44 ++ .../linux

[lng-odp] [PATCH 2/2] validation: classification: add test case for ipv6 src and dst addr

2017-01-30 Thread Balasubramanian Manoharan
Adds test case for ipv6 source and destination address matching Signed-off-by: Balasubramanian Manoharan --- .../validation/api/classification/classification.h | 21 ++ .../api/classification/odp_classification_common.c | 149 ++- .../classification/odp_classification_test_pmr.c

[lng-odp] [PATCH 1/2] linux-generic: classification: implement ipv6 packet matching rule

2017-01-30 Thread Balasubramanian Manoharan
Implements IPV6 src and dst address packet matching rule Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 11 +- .../include/odp_classification_inlines.h | 44 ++ .../linux-generic/include/odp_packet_internal.h

[lng-odp] [PATCHv3 1/1] validation: pktio: fix invalid mac addr

2017-01-05 Thread Balasubramanian Manoharan
Fixes https://bugs.linaro.org/show_bug.cgi?id=2496 Signed-off-by: Balasubramanian Manoharan --- v3: Review comment incorporation test/common_plat/validation/api/pktio/pktio.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/common_plat/validation/api/pktio

[lng-odp] [RFC/API-NEXT 1/1] api: classification: packet hashing per class of service

2016-12-09 Thread Balasubramanian Manoharan
Adds support to spread packet from a single CoS to multiple queues by configuring hashing at CoS level. Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/classification.h | 45 --- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a

[lng-odp] [PATCHv2 1/1] validation: pktio: fix invalid mac addr

2016-11-10 Thread Balasubramanian Manoharan
Fixes https://bugs.linaro.org/show_bug.cgi?id=2496 Signed-off-by: Balasubramanian Manoharan --- v2: Incorporate review comments test/common_plat/validation/api/pktio/pktio.c | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/test/common_plat/validation

[lng-odp] [API-NEXTv2 1/1] api: pktio: adds further definition for classification configuration

2016-11-04 Thread Balasubramanian Manoharan
Updates classification configuration documentation. Signed-off-by: Balasubramanian Manoharan --- v2: Incorporates review comments include/odp/api/spec/packet_io.h | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/include/odp/api/spec/packet_io.h b/include

[lng-odp] [PATCHv1 1/1] validation: pktio: fix invalid mac addr

2016-11-03 Thread Balasubramanian Manoharan
Fixes https://bugs.linaro.org/show_bug.cgi?id=2496 Signed-off-by: Balasubramanian Manoharan --- test/common_plat/validation/api/pktio/pktio.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/test/common_plat/validation/api/pktio/pktio.c b/test/common_plat

[lng-odp] [PATCHv2 1/1] validation: classification: fix TCP/UDP checksum update

2016-10-27 Thread Balasubramanian Manoharan
Fixes https://bugs.linaro.org/show_bug.cgi?id=2512 Signed-off-by: Balasubramanian Manoharan --- v2: Incorporates review comments .../api/classification/odp_classification_common.c | 14 +- .../api/classification/odp_classification_test_pmr.c | 3 +++ 2 files changed

[lng-odp] [API-NEXT] api: pktio: updates classification configuration documentation.

2016-09-14 Thread Balasubramanian Manoharan
From: Balasubramanian Manoharan Updates documentation for default CoS and pktin queue param configuration. Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/packet_io.h | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/include/odp/api/spec

[lng-odp] [PATCH 1/1] validation: classification: fix TCP/UDP checksum update

2016-09-09 Thread Balasubramanian Manoharan
Fixes https://bugs.linaro.org/show_bug.cgi?id=2512 Signed-off-by: Balasubramanian Manoharan --- .../validation/api/classification/odp_classification_common.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/common_plat/validation/api/classification

[lng-odp] [PATCH/API-NEXTv2 3/3] example: traffic_mngr: support for pktio interface in odp_tm_egress_t struct

2016-06-28 Thread Balasubramanian Manoharan
Example modifications to support pktio interface in TM system Signed-off-by: Balasubramanian Manoharan --- test/validation/traffic_mngr/traffic_mngr.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/validation/traffic_mngr/traffic_mngr.c b/test/validation

[lng-odp] [PATCH/API-NEXTv2 2/3] linux-generic: traffic_mngr: add pktio interface to odp_tm_egress_t struct

2016-06-28 Thread Balasubramanian Manoharan
Code changes for replacing odp_pktout_queue_t with odp_pktio_t in TM system Signed-off-by: Balasubramanian Manoharan --- platform/linux-generic/include/odp_traffic_mngr_internal.h | 2 +- platform/linux-generic/odp_traffic_mngr.c | 8 +++- 2 files changed, 8 insertions

[lng-odp] [PATCH/API-NEXTv2 1/3] api: traffic_mngr: Add pktio interface to odp_tm_egress_t struct

2016-06-28 Thread Balasubramanian Manoharan
Replaces pktio interface as input to TM system instead of odp_pktout_queue_t.This creates an 1 to 1 mapping between a TM system and pktio interface. Signed-off-by: Balasubramanian Manoharan --- v2: Incorporates review comments from Petri include/odp/api/spec/traffic_mngr.h | 8 +++- 1 file

[lng-odp] [PATCH/API-NEXT 3/3] example: traffic_mngr: support for pktio interface in odp_tm_egress_t struct

2016-06-20 Thread Balasubramanian Manoharan
Example modifications to support pktio interface in TM system Signed-off-by: Balasubramanian Manoharan --- test/validation/traffic_mngr/traffic_mngr.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/validation/traffic_mngr/traffic_mngr.c b/test/validation

[lng-odp] [PATCH/API-NEXT 2/3] linux-generic: traffic_mngr: add pktio interface to odp_tm_egress_t struct

2016-06-20 Thread Balasubramanian Manoharan
Code changes for replacing odp_pktout_queue_t with odp_pktio_t in TM system Signed-off-by: Balasubramanian Manoharan --- platform/linux-generic/include/odp_traffic_mngr_internal.h | 2 +- platform/linux-generic/odp_traffic_mngr.c | 8 +++- 2 files changed, 8 insertions

[lng-odp] [PATCH/API-NEXT 1/3] api: traffic_mngr: Add pktio interface to odp_tm_egress_t struct

2016-06-20 Thread Balasubramanian Manoharan
Replaces pktio interface as input to TM system instead of odp_pktout_queue_t.This creates an 1 to 1 mapping between a TM system and pktio interface. Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/traffic_mngr.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion

[lng-odp] [PATCHv2] doc: users-guide: add packet drop and error CoS documentation

2016-05-23 Thread Balasubramanian Manoharan
Adds documentation for packet drop policy and Error Class of service Signed-off-by: Balasubramanian Manoharan --- doc/users-guide/users-guide-cls.adoc | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/doc/users-guide/users-guide-cls.adoc b/doc

[lng-odp] [PATCH] doc: users-guide: add packet drop and error CoS documentation

2016-05-19 Thread Balasubramanian Manoharan
Adds documentation for packet drop policy and Error Class of service Signed-off-by: Balasubramanian Manoharan --- doc/users-guide/users-guide-cls.adoc | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/doc/users-guide/users-guide-cls.adoc b/doc

[lng-odp] [PATCHv2] doc: users-guide: add packet marking documentation

2016-05-16 Thread Balasubramanian Manoharan
Updates packet marking api documentation to traffic manager user guide Signed-off-by: Balasubramanian Manoharan --- v2: document format update doc/users-guide/users-guide-tm.adoc | 73 + 1 file changed, 73 insertions(+) diff --git a/doc/users-guide/users

[lng-odp] [PATCH] fix: classification: uninitialized pmr param value

2016-05-13 Thread Balasubramanian Manoharan
Fix memory leaked caused by uninitialized pmr param struct Fixes: https://bugs.linaro.org/show_bug.cgi?id=2227 Signed-off-by: Balasubramanian Manoharan --- test/validation/classification/odp_classification_test_pmr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/validation

[lng-odp] [PATCH] doc: users-guide: add packet marking documentation

2016-05-12 Thread Balasubramanian Manoharan
Updates packet marking api documentation to traffic manager user guide Signed-off-by: Balasubramanian Manoharan --- doc/users-guide/users-guide-tm.adoc | 73 + 1 file changed, 73 insertions(+) diff --git a/doc/users-guide/users-guide-tm.adoc b/doc/users

[lng-odp] [PATCH API-NEXTv2 2/2] linux-generic: pktio: support for loopback mode

2016-04-26 Thread Balasubramanian Manoharan
Implements interface loopback mode Signed-off-by: Balasubramanian Manoharan --- platform/linux-generic/odp_packet_io.c | 5 + 1 file changed, 5 insertions(+) diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 148adc9..4378335 100644 --- a

[lng-odp] [PATCH API-NEXTv2 1/2] api: pktio: Adds interface loopback mode

2016-04-26 Thread Balasubramanian Manoharan
Adds loopback interface mode as a configurable parameter in pktio configuration parameter. Support for loopback is an optional feature and should be checked in the interface capability before enabling the same. Signed-off-by: Balasubramanian Manoharan --- v2: Incorporates review comments from

[lng-odp] [API-NEXT 2/2] linux-generic: pktio: support for loopback mode

2016-04-26 Thread Balasubramanian Manoharan
Implements interface loopback mode Signed-off-by: Balasubramanian Manoharan --- platform/linux-generic/odp_packet_io.c | 5 + 1 file changed, 5 insertions(+) diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index 148adc9..4378335 100644 --- a

[lng-odp] [API-NEXT 1/2] api: pktio: Adds interface loopback mode

2016-04-26 Thread Balasubramanian Manoharan
Adds loopback interface mode as a configurable parameter in odp_pktio_config_t structure. Support for loopback is an optional feature and should be checked in the interface capability before enabling the same. Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/packet_io.h | 14

[lng-odp] [API-NEXTv4 3/4] validation: classification: incorporates capability and PMR range

2016-04-25 Thread Balasubramanian Manoharan
Adds validation suite for classification capability and PMR range Signed-off-by: Balasubramanian Manoharan --- test/validation/classification/classification.h| 2 - .../classification/odp_classification_basic.c | 24 ++-- .../classification/odp_classification_common.c | 19

[lng-odp] [API-NEXTv4 2/4] linux-generic: classification: Implements capability and PMR range

2016-04-25 Thread Balasubramanian Manoharan
Implements classification capability and PMR range functionality feature. Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 19 - .../include/odp_classification_inlines.h | 24 +++--- platform/linux-generic/odp_classification.c

[lng-odp] [API-NEXTv4 4/4] example: classifier: incorporates capability and PMR range

2016-04-25 Thread Balasubramanian Manoharan
Modifies the classifier example to support classification capability and PMR range functionality. Signed-off-by: Balasubramanian Manoharan --- example/classifier/odp_classifier.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/example

[lng-odp] [API-NEXTv4 1/4] api: classification: Adds capability and PMR range

2016-04-25 Thread Balasubramanian Manoharan
Adds classification capability structure and PMR range functionality. odp_cls_capability_t structure defines system level classification capability. Signed-off-by: Balasubramanian Manoharan --- v4: fix doxygen error v3: Change odp_pmr_term_t bitfield to odp_pmr_terms_t Incorporates review

[lng-odp] [API-NEXTv3 4/4] example: classifier: incorporates capability and PMR range

2016-04-25 Thread Balasubramanian Manoharan
Modifies the classifier example to support classification capability and PMR range functionality. Signed-off-by: Balasubramanian Manoharan Reviewed-by: Bill Fischofer --- example/classifier/odp_classifier.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions

[lng-odp] [API-NEXTv3 3/4] validation: classification: incorporates capability and PMR range

2016-04-25 Thread Balasubramanian Manoharan
Adds validation suite for classification capability and PMR range Signed-off-by: Balasubramanian Manoharan Reviewed-by: Bill Fischofer --- test/validation/classification/classification.h| 2 - .../classification/odp_classification_basic.c | 24 ++-- .../classification

[lng-odp] [API-NEXTv3 2/4] linux-generic: classification: Implements capability and PMR range

2016-04-25 Thread Balasubramanian Manoharan
Implements classification capability and PMR range functionality feature. Signed-off-by: Balasubramanian Manoharan Reviewed-by: Bill Fischofer --- .../include/odp_classification_datamodel.h | 19 - .../include/odp_classification_inlines.h | 24 +++--- platform/linux

[lng-odp] [API-NEXTv3 1/4] api: classification: Adds capability and PMR range

2016-04-25 Thread Balasubramanian Manoharan
Adds classification capability structure and PMR range functionality. odp_cls_capability_t structure defines system level classification capability. Signed-off-by: Balasubramanian Manoharan Reviewed-by: Bill Fischofer --- v3: Change odp_pmr_term_t bitfield to odp_pmr_terms_t Incorporates review

[lng-odp] [RFC 2/2] api: queue: add queue group creation

2016-04-25 Thread Balasubramanian Manoharan
Adds queue group creation parameter Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/queue.h | 81 1 file changed, 81 insertions(+) diff --git a/include/odp/api/spec/queue.h b/include/odp/api/spec/queue.h index 51d94a2..7dde060

[lng-odp] [RFC 1/2] api: classification: Add queue group to classification

2016-04-25 Thread Balasubramanian Manoharan
Adds queue group to classification Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/classification.h | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/include/odp/api/spec/classification.h b/include/odp/api/spec/classification.h index

[lng-odp] [API-NEXTv2 3/4] validation: classification: incorporates capability and PMR range

2016-04-22 Thread Balasubramanian Manoharan
Adds validation suite for classification capability and PMR range Signed-off-by: Balasubramanian Manoharan --- test/validation/classification/classification.h| 2 - .../classification/odp_classification_basic.c | 24 ++-- .../classification/odp_classification_common.c | 19

[lng-odp] [API-NEXTv2 4/4] example: classifier: incorporates capability and PMR range

2016-04-22 Thread Balasubramanian Manoharan
Modifies the classifier example to support classification capability and PMR range funcionality. Signed-off-by: Balasubramanian Manoharan --- example/classifier/odp_classifier.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/example/classifier

[lng-odp] [API-NEXTv2 2/4] linux-generic: classification: Implements capability and PMR range

2016-04-22 Thread Balasubramanian Manoharan
Implements classification capability and PMR range functionality feature. Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 19 - .../include/odp_classification_inlines.h | 24 +++--- platform/linux-generic/odp_classification.c

[lng-odp] [API-NEXTv2 1/4] api: classification: Adds capability and PMR range

2016-04-22 Thread Balasubramanian Manoharan
Adds classification capability structure and PMR range functionality. odp_cls_capability_t structure defines system level classification capability. Signed-off-by: Balasubramanian Manoharan --- v2: Incorporates review comments from Petri include/odp/api/spec/classification.h | 147

[lng-odp] [RFC] api: traffic manager: Proposal for Marking APIs

2016-04-22 Thread Balasubramanian Manoharan
Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/traffic_mngr.h | 96 + 1 file changed, 96 insertions(+) diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h index e4c15df..a32cf4f 100644 --- a/include/odp

[lng-odp] [API-NEXT 3/4] validation: classification: incorporates capability and PMR range

2016-04-20 Thread Balasubramanian Manoharan
Adds validation suite for classification capability and PMR range functionality. Signed-off-by: Balasubramanian Manoharan --- test/validation/classification/classification.h| 2 - .../classification/odp_classification_basic.c | 24 ++-- .../classification/odp_classification_common.c

[lng-odp] [API-NEXT 4/4] example: classifier: incorporates capability and PMR range

2016-04-20 Thread Balasubramanian Manoharan
Modifies the classifier example to support classification capability and PMR range funcionality. Signed-off-by: Balasubramanian Manoharan --- example/classifier/odp_classifier.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/example/classifier

[lng-odp] [API-NEXT 2/4] linux-generic: classification: Implements capability and PMR range

2016-04-20 Thread Balasubramanian Manoharan
Implements classification capability and PMR range functionality feature. Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 17 +++- .../include/odp_classification_inlines.h | 24 +++--- platform/linux-generic/odp_classification.c

[lng-odp] [API-NEXT 1/4] api: classification: Adds capability and PMR range

2016-04-20 Thread Balasubramanian Manoharan
Adds classification capability structure and PMR range functionality. odp_cls_capability_t structure defines system level classification capability. Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/classification.h | 134 -- 1 file changed, 112

Re: [lng-odp] [API-NEXT PATCH v2 1/7] api: packet: add extend and trunc

2016-04-14 Thread Balasubramanian Manoharan
These changes looks good to me. Reviewed-by: Balasubramanian Manoharan On Thursday 14 April 2016 01:41 PM, Savolainen, Petri (Nokia - FI/Espoo) wrote: Thanks for the review. Although, I’d prefer to get all 6 patches merged in one go, since reordering of these will cause conflicts. I’d

[lng-odp] [RFC] api: classification capability structure

2016-04-11 Thread Balasubramanian Manoharan
This RFC adds classification capability structure and PMR range functionality. The implementation patch will be posted once consensus is reached on API definition. Signed-off-by: Balasubramanian Manoharan --- include/odp/api/spec/classification.h | 61 ++- 1 file

Re: [lng-odp] [API-NEXT PATCH v2 1/6] api: pktio: add config options for pktin timestamping

2016-04-01 Thread Balasubramanian Manoharan
For the series: Reviewed-by: Balasubramanian Manoharan On 31/03/16 9:41 PM, Petri Savolainen wrote: Added API calls and definitions for pktio interface level configuration options. Timestamping is one of those options. Added definitions to query and enable packet input timestamping. Packet

Re: [lng-odp] [PATCH 0/2] linux-generic: pool: add more debug print for pool_destroy

2016-03-31 Thread Balasubramanian Manoharan
For the series: Reviewed-by: Balasubramanian Manoharan On Tuesday 29 March 2016 07:29 PM, Maxim Uvarov wrote: Maxim Uvarov (2): linux-generic: pool: add more debug print for pool_destroy example: classifier: add termination path example/classifier/odp_classifier.c | 45

[lng-odp] [PATCHv2] linux-generic: traffic-manager: fix integer handling issue

2016-03-29 Thread Balasubramanian Manoharan
Fixes: https://bugs.linaro.org/show_bug.cgi?id=2122 Signed-off-by: Balasubramanian Manoharan --- v2: Incorporates comments from Maxim platform/linux-generic/odp_timer_wheel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_timer_wheel.c b

[lng-odp] [PATCH] linux-generic: traffic-manager: fix integer handling issue

2016-03-27 Thread Balasubramanian Manoharan
Fixes: https://bugs.linaro.org/show_bug.cgi?id=2122 Signed-off-by: Balasubramanian Manoharan --- platform/linux-generic/odp_timer_wheel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_timer_wheel.c b/platform/linux-generic/odp_timer_wheel.c

[lng-odp] [API-NEXT v6] doc: user-guide documentation for classification

2016-02-29 Thread Balasubramanian Manoharan
User guide documentation for classification Signed-off-by: Balasubramanian Manoharan Reviewed-by: Christophe Milard --- v6: Incorporates format changes done by Christophe v5: Proper documentation for example code v4: Adds example code into source code section v3: Incorporates classification

[lng-odp] [API-NEXT v5] doc: user-guide documentation for classification

2016-02-26 Thread Balasubramanian Manoharan
User guide documentation for classification Signed-off-by: Balasubramanian Manoharan --- v5: Proper documentation for example code v4: Adds example code into source code section v3: Incorporates classification user guide to main document Adds Practical example section v2: Incorporates review

[lng-odp] [API-NEXT v4] doc: user-guide documentation for classification

2016-02-25 Thread Balasubramanian Manoharan
User guide documentation for classification Signed-off-by: Balasubramanian Manoharan --- v4: Adds example code into source code section v3: Incorporates classification user guide to main document Adds Practical example section v2: Incorporates review comments from Christophe doc/users-guide

[lng-odp] [API-NEXT v3] doc: user-guide documentation for classification

2016-02-25 Thread Balasubramanian Manoharan
Signed-off-by: Balasubramanian Manoharan --- v3: Incorporates classification user guide to main document Adds Practical example section v2: Incorporates review comments from Christophe doc/users-guide/users-guide-cls.adoc | 220 +++ doc/users-guide/users

[lng-odp] [PATCH v1] validation: classification: add test case for odp_cos_drop() function

2016-02-18 Thread Balasubramanian Manoharan
Fixes: https://bugs.linaro.org/show_bug.cgi?id=2016 Signed-off-by: Balasubramanian Manoharan --- test/validation/classification/odp_classification_basic.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/validation/classification/odp_classification_basic.c b/test/validation

[lng-odp] [PATCH API-NEXTv2] doc: user-guide documentation for classification

2016-02-17 Thread Balasubramanian Manoharan
Adds user-guide documentation for classification module Signed-off-by: Balasubramanian Manoharan --- v2: Incorporates review comments from Christophe doc/users-guide/users-guide-cls.adoc | 220 +++ 1 file changed, 220 insertions(+) create mode 100644 doc/users

[lng-odp] [API-NEXT PATCH] doc: user-guide documentation for classification

2016-02-15 Thread Balasubramanian Manoharan
Adds user-guide documentation for classification module Signed-off-by: Balasubramanian Manoharan --- doc/users-guide/users-guide-cls.adoc | 220 +++ 1 file changed, 220 insertions(+) create mode 100644 doc/users-guide/users-guide-cls.adoc diff --git a/doc/users

[lng-odp] [API-NEXT PATCHv5 3/4] validation: classification: adds validation suite for pmr create api

2016-02-03 Thread Balasubramanian Manoharan
Adds validation suite for packet match rule create functions. Signed-off-by: Balasubramanian Manoharan --- test/validation/classification/classification.h| 1 - .../classification/odp_classification_basic.c | 141 +++- .../classification/odp_classification_common.c | 26

[lng-odp] [API-NEXT PATCHv5 4/4] example: classifier: modifications for pmr create api

2016-02-03 Thread Balasubramanian Manoharan
Changes for packet match rule create function. Signed-off-by: Balasubramanian Manoharan --- example/classifier/odp_classifier.c| 38 -- test/validation/classification/classification.h| 4 +-- .../classification/odp_classification_basic.c | 14

[lng-odp] [API-NEXT PATCHv5 2/4] linux-generic: classification: implement pmr create api

2016-02-03 Thread Balasubramanian Manoharan
Implements packet match rule create functions. If a packet match rule needs to be applied at the pktio level it has to be configured to the default class of service. Signed-off-by: Balasubramanian Manoharan --- .../include/odp/plat/classification_types.h| 9 - .../include

[lng-odp] [API-NEXT PATCHv5 1/4] api: classification: add pmr create api

2016-02-03 Thread Balasubramanian Manoharan
function is updated to removes the link between the source and destination class of service. odp_pmr_match_set_t handle is removed and pmr create function is modified to take number of terms and composite rule is created by providing more than one term. Signed-off-by: Balasubramanian Manoharan Reviewed

[lng-odp] [API-NEXT PATCHv5 0/4] add PMR create api

2016-02-03 Thread Balasubramanian Manoharan
change - Introduces pmr create api and linux-generic changes Balasubramanian Manoharan (4): api: classification: add pmr create api linux-generic: classification: implement pmr create api validation: classification: adds validation suite for pmr create api example: classifier

[lng-odp] [API-NEXT PATCHv4 3/4] validation: classification: adds validation suite for pmr create api

2016-02-03 Thread Balasubramanian Manoharan
Adds validation suite for packet match rule create functions. Signed-off-by: Balasubramanian Manoharan --- test/validation/classification/classification.h| 1 - .../classification/odp_classification_basic.c | 141 +++- .../classification/odp_classification_common.c | 26

[lng-odp] [API-NEXT PATCHv4 4/4] example: classifier: modifications for pmr create api

2016-02-03 Thread Balasubramanian Manoharan
Changes for packet match rule create function. Signed-off-by: Balasubramanian Manoharan --- example/classifier/odp_classifier.c | 38 - 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/example/classifier/odp_classifier.c b/example/classifier

[lng-odp] [API-NEXT PATCHv4 2/4] linux-generic: classification: implement pmr create api

2016-02-03 Thread Balasubramanian Manoharan
Implements packet match rule create functions. If a packet match rule needs to be applied at the pktio level it has to be configured to the default class of service. Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 48 +--- .../include

[lng-odp] [API-NEXT PATCHv4 1/4] api: classification: add pmr create api

2016-02-03 Thread Balasubramanian Manoharan
function is updated to removes the link between the source and destination class of service. odp_pmr_match_set_t handle is removed and pmr create function is modified to take number of terms and composite rule is created by providing more than one term. Signed-off-by: Balasubramanian Manoharan Reviewed

[lng-odp] [API-NEXT PATCHv4 0/4] add PMR create API

2016-02-03 Thread Balasubramanian Manoharan
change - Introduces pmr create api and linux-generic changes Balasubramanian Manoharan (4): api: classification: add pmr create api linux-generic: classification: implement pmr create api validation: classification: adds validation suite for pmr create api example: classifier

[lng-odp] [API-NEXT PATCHv3 3/4] validation: classification: adds validation suite for pmr create api

2016-02-02 Thread Balasubramanian Manoharan
Adds validation suite for packet match rule create functions. Signed-off-by: Balasubramanian Manoharan --- test/validation/classification/classification.h| 1 - .../classification/odp_classification_basic.c | 141 +++- .../classification/odp_classification_common.c | 26

[lng-odp] [API-NEXT PATCHv3 4/4] example: classifier: modifications for pmr create api

2016-02-02 Thread Balasubramanian Manoharan
Modifications for packet match rule create function. Signed-off-by: Balasubramanian Manoharan --- example/classifier/odp_classifier.c | 38 - 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/example/classifier/odp_classifier.c b/example

[lng-odp] [API-NEXT PATCHv3 2/4] linux-generic: classification: implement pmr create api

2016-02-02 Thread Balasubramanian Manoharan
Implements packet match rule create functions. If a packet match rule needs to be applied at the pktio level it has to be configured to the default class of service. Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 48 +--- .../include

[lng-odp] [API-NEXT PATCHv3 1/4] api: classification: add pmr create api

2016-02-02 Thread Balasubramanian Manoharan
function is updated to removes the link between the source and destination class of service. odp_pmr_match_set_t handle is removed and pmr create function is modified to take number of terms and composite rule is created by providing more than one term. Signed-off-by: Balasubramanian Manoharan --- v3

[lng-odp] [API-NEXT PATCHv2 3/4] validation: classification: adds validation suite for pmr create api

2016-02-01 Thread Balasubramanian Manoharan
Adds validation suite for packet match rule create functions. Signed-off-by: Balasubramanian Manoharan --- test/validation/classification/classification.h| 1 - .../classification/odp_classification_basic.c | 141 +++- .../classification/odp_classification_common.c | 26

[lng-odp] [API-NEXT PATCHv2 4/4] example: classifier: modifications for pmr create api

2016-02-01 Thread Balasubramanian Manoharan
Modifications for packet match rule create function. Signed-off-by: Balasubramanian Manoharan --- example/classifier/odp_classifier.c | 38 - 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/example/classifier/odp_classifier.c b/example

[lng-odp] [API-NEXT PATCHv2 2/4] linux-generic: classification: implement pmr create api

2016-02-01 Thread Balasubramanian Manoharan
Implements packet match rule create functions. If a packet match rule needs to be applied at the pktio level it has to be configured to the default class of service. Signed-off-by: Balasubramanian Manoharan --- .../include/odp_classification_datamodel.h | 48 +--- .../include

[lng-odp] [API-NEXT PATCHv2 1/4] api: classification: add pmr create api

2016-02-01 Thread Balasubramanian Manoharan
function is updated to removes the link between the source and destination class of service. odp_pmr_match_set_t handle is removed and pmr create function is modified to take number of terms and composite rule is created by providing more than one term. Signed-off-by: Balasubramanian Manoharan --- v2

  1   2   3   >