ethdev: prefix internal error checking macros
authorDeclan Doherty <declan.doherty@intel.com>
Wed, 25 Nov 2015 13:25:08 +0000 (13:25 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 25 Nov 2015 16:22:57 +0000 (17:22 +0100)
commit50ead110cb56e7c07d4be66e9d8acd83ce837367
treed4d0a6eb73c0a94cb8bad0a41d21682754162f25
parentbadb3688ffa8e9731770e686ba84123783060c1b
ethdev: prefix internal error checking macros

The macros to check that the function pointers and port ids are valid
for an ethdev are potentially useful to have in a common headers for
use with all PMDs. However, since they would then become externally
visible, we apply the RTE_ & RTE_ETH_ prefix to them as approtiate.

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_ether/rte_ethdev.c