[dpdk-dev] [PATCH v2 01/15] service: rework probe and get name to use ids
Pavan Nikhilesh Bhagavatula
pbhagavatula at caviumnetworks.com
Mon Sep 4 16:32:15 CEST 2017
On Mon, Aug 21, 2017 at 01:58:02PM +0100, Harry van Haaren wrote:
> This commit adds a macro to easily validate a service ID, and then
> lookup the service pointer, or return a user-specified error code.
> This marco will be heavily used in the following patches as it will
> be ID based instead of pointer-based.
> The probe_capability function is reworked to use an integer ID instead
> of a pointer. Rework the service_get_name() function is updated to use
> IDs. Unit tests are updated to keep things compiling after each commit.
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
Series-Acked-by: Pavan Nikhilesh <pbhagavatula at caviumnetworks.com>
More information about the dev