[API-NEXT,v5,2/2] linux-generic: classification: implement random early detection and back pressure

Message ID 1505376010-305-3-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series
  • [API-NEXT,v5,1/2] api: classification: add random early detection and back pressure
Related show

Commit Message

Github ODP bot Sept. 14, 2017, 8 a.m.
From: Balasubramanian Manoharan <bala.manoharan@linaro.org>


Implements Random early detection and Back pressure

Signed-off-by: Balasubramanian Manoharan <bala.manoharan@linaro.org>

---
/** Email created from pull request 172 (bala-manoharan:random_early_discard)
 ** https://github.com/Linaro/odp/pull/172
 ** Patch: https://github.com/Linaro/odp/pull/172.patch
 ** Base sha: 6b6253c30f88c80bf632436ff06c1b000860a2f1
 ** Merge commit sha: 004b3f911c315f6d1e9e7fb1a057bd8fd86ee4c8
 **/
 platform/linux-generic/odp_classification.c | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c
index a5cba56a..7fa125ec 100644
--- a/platform/linux-generic/odp_classification.c
+++ b/platform/linux-generic/odp_classification.c
@@ -190,6 +190,8 @@  int odp_cls_capability(odp_cls_capability_t *capability)
 	capability->supported_terms.bit.tcp_sport = 1;
 	capability->supported_terms.bit.sip_addr = 1;
 	capability->supported_terms.bit.dip_addr = 1;
+	capability->random_early_detection = ODP_SUPPORT_NO;
+	capability->back_pressure = ODP_SUPPORT_NO;
 	return 0;
 }