examples/vhost: add error propagation in ioat ops
authorCheng Jiang <cheng1.jiang@intel.com>
Wed, 3 Feb 2021 14:29:04 +0000 (14:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Feb 2021 17:19:36 +0000 (18:19 +0100)
commitfa545ed3da44ae1ef083a7eb9be2d1c2f6ddc7eb
treef7930926f25d2f72759304f9844f2384d404248c
parentee6e451f14103b0396ae6a0087bdd33c67a79e12
examples/vhost: add error propagation in ioat ops

This patch adds add error propagation for rte_ioat_completed_ops call,
and also changes dev_id type from int to uint16_t.

Signed-off-by: Cheng Jiang <cheng1.jiang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
examples/vhost/ioat.c