Message ID | 1454429291-3918-1-git-send-email-maxim.uvarov@linaro.org |
---|---|
State | Accepted |
Commit | d937899d498e196c1b77b4d909bb40d360806202 |
Headers | show |
Merged. Maxim. On 02/02/2016 19:13, Savolainen, Petri (Nokia - FI/Espoo) wrote: > Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> > > >> -----Original Message----- >> From: lng-odp [mailto:lng-odp-bounces@lists.linaro.org] On Behalf Of EXT >> Maxim Uvarov >> Sent: Tuesday, February 02, 2016 6:08 PM >> To: lng-odp@lists.linaro.org >> Subject: [lng-odp] [PATCH] validation: pktio: fix typo on setting in_mode >> >> Setting ODP_QUEUE_TYPE_SCHED for in_mode is incorrect, >> ODP_PKTIN_MODE_SCHED has to be used. >> >> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> >> --- >> test/validation/pktio/pktio.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c >> index e412910..b61b3d0 100644 >> --- a/test/validation/pktio/pktio.c >> +++ b/test/validation/pktio/pktio.c >> @@ -816,7 +816,7 @@ int pktio_check_statistics_counters(void) >> const char *iface = iface_name[0]; >> >> odp_pktio_param_init(&pktio_param); >> - pktio_param.in_mode = ODP_QUEUE_TYPE_SCHED; >> + pktio_param.in_mode = ODP_PKTIN_MODE_SCHED; >> >> pktio = odp_pktio_open(iface, pool[0], &pktio_param); >> if (pktio == ODP_PKTIO_INVALID) >> -- >> 1.9.1 >> >> _______________________________________________ >> lng-odp mailing list >> lng-odp@lists.linaro.org >> https://lists.linaro.org/mailman/listinfo/lng-odp
diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c index e412910..b61b3d0 100644 --- a/test/validation/pktio/pktio.c +++ b/test/validation/pktio/pktio.c @@ -816,7 +816,7 @@ int pktio_check_statistics_counters(void) const char *iface = iface_name[0]; odp_pktio_param_init(&pktio_param); - pktio_param.in_mode = ODP_QUEUE_TYPE_SCHED; + pktio_param.in_mode = ODP_PKTIN_MODE_SCHED; pktio = odp_pktio_open(iface, pool[0], &pktio_param); if (pktio == ODP_PKTIO_INVALID)
Setting ODP_QUEUE_TYPE_SCHED for in_mode is incorrect, ODP_PKTIN_MODE_SCHED has to be used. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- test/validation/pktio/pktio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)