diff mbox series

[v3,1/3] linux-generic: pktio: update classifier enable boolean

Message ID 1501696815-12605-2-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>


sets classifer enable based on boolean setting on odp_pktin_queue_param_t
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_packet_io.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c
index 64c6e452..b4523389 100644
--- a/platform/linux-generic/odp_packet_io.c
+++ b/platform/linux-generic/odp_packet_io.c
@@ -1234,6 +1234,8 @@  int odp_pktin_queue_config(odp_pktio_t pktio,
 		return -1;
 	}
 
+	pktio_cls_enabled_set(entry, param->classifier_enable);
+
 	if (num_queues > capa.max_input_queues) {
 		ODP_DBG("pktio %s: too many input queues\n", entry->s.name);
 		return -1;