diff mbox series

[API-NEXT,v1,6/7] linux-generic: pool: implementation for RED and BP

Message ID 1509973206-1972-7-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v1,1/7] api: std_types: add odp_percent_t data type | expand

Commit Message

Github ODP bot Nov. 6, 2017, 1 p.m. UTC
From: Balasubramanian Manoharan <bala.manoharan@linaro.org>


linux-generic does not support RED and BP at pool level

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

---
/** Email created from pull request 277 (bala-manoharan:RED)
 ** https://github.com/Linaro/odp/pull/277
 ** Patch: https://github.com/Linaro/odp/pull/277.patch
 ** Base sha: d22c949cc466bf28de559855a1cb525740578137
 ** Merge commit sha: f8726f45026a85ce1dde794190c1eb35945dca3f
 **/
 platform/linux-generic/odp_pool.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c
index 40114093a..f3262bae1 100644
--- a/platform/linux-generic/odp_pool.c
+++ b/platform/linux-generic/odp_pool.c
@@ -928,6 +928,8 @@  int odp_pool_capability(odp_pool_capability_t *capa)
 	capa->pkt.min_seg_len      = CONFIG_PACKET_SEG_LEN_MIN;
 	capa->pkt.max_seg_len      = max_seg_len;
 	capa->pkt.max_uarea_size   = MAX_SIZE;
+	capa->pkt.random_early_detection = ODP_SUPPORT_NO;
+	capa->pkt.back_pressure = ODP_SUPPORT_NO;
 
 	/* Timeout pools */
 	capa->tmo.max_pools = ODP_CONFIG_POOLS;