diff mbox series

[v3,2/3] linux-generic: classification: update classifier enable boolean

Message ID 1501696815-12605-3-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v3,1/3] linux-generic: pktio: update classifier enable boolean | expand

Commit Message

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


removes classifier enable boolean default setting
Fixes https://bugs.linaro.org/show_bug.cgi?id=3177

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

---
/** Email created from pull request 103 (bala-manoharan:BUG3177)
 ** https://github.com/Linaro/odp/pull/103
 ** Patch: https://github.com/Linaro/odp/pull/103.patch
 ** Base sha: a2040db93b114fb9e1da9aeca1d0a1ea91699448
 ** Merge commit sha: 151694be43f01415fcea482cb2f33c85993f840e
 **/
 platform/linux-generic/odp_classification.c | 3 ---
 1 file changed, 3 deletions(-)
diff mbox series

Patch

diff --git a/platform/linux-generic/odp_classification.c b/platform/linux-generic/odp_classification.c
index cc08b9f4..08b09078 100644
--- a/platform/linux-generic/odp_classification.c
+++ b/platform/linux-generic/odp_classification.c
@@ -328,7 +328,6 @@  int odp_pktio_default_cos_set(odp_pktio_t pktio_in, odp_cos_t default_cos)
 	}
 
 	entry->s.cls.default_cos = cos;
-	pktio_cls_enabled_set(entry, 1);
 	return 0;
 }
 
@@ -403,7 +402,6 @@  int odp_cos_with_l2_priority(odp_pktio_t pktio_in,
 				l2_cos->cos[qos_table[i]] = cos;
 		}
 	}
-	pktio_cls_enabled_set(entry, 1);
 	UNLOCK(&l2_cos->lock);
 	return 0;
 }
@@ -436,7 +434,6 @@  int odp_cos_with_l3_qos(odp_pktio_t pktio_in,
 				l3_cos->cos[qos_table[i]] = cos;
 		}
 	}
-	pktio_cls_enabled_set(entry, 1);
 	UNLOCK(&l3_cos->lock);
 	return 0;
 }