raw/ioat: enable use from C++
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 8 Oct 2020 09:51:11 +0000 (10:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 8 Oct 2020 12:33:20 +0000 (14:33 +0200)
commit9f8156a3fe50fd5d8637826853bd8dded9f40399
tree7c52e679c19f529ddb34e524900fa321db84c58e
parent8c6cedee761c7abd8c3d451bffa7c70747ab7629
raw/ioat: enable use from C++

To allow the header file to be used from C++ code we need to ensure all
typecasts are explicit, and include an 'extern "C"' guard.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
drivers/raw/ioat/rte_ioat_rawdev.h