]> git.droids-corp.org - dpdk.git/commit
ethdev: add missing C++ guards
authorBrian Dooley <brian.dooley@intel.com>
Wed, 16 Feb 2022 15:14:48 +0000 (15:14 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 22 Feb 2022 13:47:49 +0000 (14:47 +0100)
commitdbf9fc1dac70b64dd1ed9a3ffd6997838fbf170e
tree042d3f4da71684f18678f09ced6c8759a28b2c85
parentcf8e6263647d217ad5c9bdfa2c3275f71bd19f64
ethdev: add missing C++ guards

Some public header files were missing 'extern "C"' C++ guards,
and couldn't be used by C++ applications. Add the missing guards.

Fixes: 7a3f27cbf59b ("ethdev: add access to specific device info")
Fixes: dcd5c8112bc3 ("ethdev: add PCI driver helpers")
Fixes: 7f0a669e7b04 ("ethdev: add allocation helper for virtual drivers")
Fixes: 7a3357205755 ("lib: remove C++ include guard from private headers")
Cc: stable@dpdk.org
Signed-off-by: Brian Dooley <brian.dooley@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
lib/ethdev/ethdev_driver.h
lib/ethdev/ethdev_pci.h
lib/ethdev/ethdev_vdev.h
lib/ethdev/rte_dev_info.h