diff options
author | Mike Holmes <mike.holmes@linaro.org> | 2014-12-04 16:02:55 -0500 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2014-12-05 02:21:58 +0300 |
commit | a11a59d367601a962548179fd05e413716aa20e0 (patch) | |
tree | c17ef1a1d82a0bb6d254769d3297cb1125b12097 /example | |
parent | 7f536744a3d4d1b5da67ac2ffe7d6ecbc1176163 (diff) |
example: test: remove use of internal ODP macros
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'example')
-rw-r--r-- | example/packet/odp_pktio.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/example/packet/odp_pktio.c b/example/packet/odp_pktio.c index 260a76d93..7d516824e 100644 --- a/example/packet/odp_pktio.c +++ b/example/packet/odp_pktio.c @@ -150,8 +150,8 @@ static void *pktio_queue_thread(void *arg) if (thr_args->mtu) { ret = odp_pktio_set_mtu(pktio, thr_args->mtu); if (ret != 0) - ODP_ERR("setting MTU to %d failed\n", - thr_args->mtu); + EXAMPLE_ERR("setting MTU to %d failed\n", + thr_args->mtu); } mtu = odp_pktio_mtu(pktio); @@ -159,7 +159,7 @@ static void *pktio_queue_thread(void *arg) printf("PKTIO: %d, dev %s, MTU: %d\n", pktio, thr_args->pktio_dev, mtu); else - ODP_ERR("odp_pktio_mtu: unable to get MTU\n"); + EXAMPLE_ERR("odp_pktio_mtu: unable to get MTU\n"); /* * Create and set the default INPUT queue associated with the 'pktio' @@ -278,8 +278,8 @@ static void *pktio_ifburst_thread(void *arg) if (thr_args->mtu) { ret = odp_pktio_set_mtu(pktio, thr_args->mtu); if (ret != 0) - ODP_ERR("setting MTU to %d failed\n", - thr_args->mtu); + EXAMPLE_ERR("setting MTU to %d failed\n", + thr_args->mtu); } mtu = odp_pktio_mtu(pktio); @@ -287,7 +287,7 @@ static void *pktio_ifburst_thread(void *arg) printf("PKTIO: %d, dev %s, MTU: %d\n", pktio, thr_args->pktio_dev, mtu); else - ODP_ERR("odp_pktio_mtu: unable to get mtu\n"); + EXAMPLE_ERR("odp_pktio_mtu: unable to get mtu\n"); printf(" [%02i] created pktio:%02i, burst mode\n", thr, pktio); |