X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-bbdev%2Ftest_bbdev_perf.c;h=00f3b085f75f9787992592bc1379145bda32bfae;hb=7411d03249161c5205cc81508ab8a5692d9a4a91;hp=8f6896cc518333d40d0cb3b7ea40796994479153;hpb=c3aaec2633595cc8adbb9a1eb8fc443bd1c88638;p=dpdk.git diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 8f6896cc51..00f3b085f7 100644 --- a/app/test-bbdev/test_bbdev_perf.c +++ b/app/test-bbdev/test_bbdev_perf.c @@ -1557,9 +1557,11 @@ throughput_test(struct active_device *ad, throughput_function = throughput_intr_lcore_enc; /* Dequeue interrupt callback registration */ - rte_bbdev_callback_register(ad->dev_id, RTE_BBDEV_EVENT_DEQUEUE, - dequeue_event_callback, + ret = rte_bbdev_callback_register(ad->dev_id, + RTE_BBDEV_EVENT_DEQUEUE, dequeue_event_callback, &t_params); + if (ret < 0) + return ret; } else { if (test_vector.op_type == RTE_BBDEV_OP_TURBO_DEC) throughput_function = throughput_pmd_lcore_dec;