Re: [dpdk-dev] [PATCH v2 01/15] service: rework probe and get name to use ids

2017-09-04 Thread Pavan Nikhilesh Bhagavatula
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

Re: [dpdk-dev] [PATCH v2 01/15] service: rework probe and get name to use ids

2017-08-30 Thread Pavan Nikhilesh Bhagavatula
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

[dpdk-dev] [PATCH v2 01/15] service: rework probe and get name to use ids

2017-08-21 Thread Harry van Haaren
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 intege