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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 247 matches
Mail list logo