Message ID | 1403526101-21444-1-git-send-email-venkatesh.vivekanandan@linaro.org |
---|---|
State | Accepted |
Commit | 23df6424431494e62a948509c7ffd5146ecf015d |
Headers | show |
Applied, thanks! Maxim. On 06/23/2014 04:21 PM, venkatesh.vivekanandan@linaro.org wrote: > From: Venkatesh Vivekanandan <venkatesh.vivekanandan@linaro.org> > > Signed-off-by: Venkatesh Vivekanandan <venkatesh.vivekanandan@linaro.org> > --- > test/l2fwd/l2fwd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/test/l2fwd/l2fwd.c b/test/l2fwd/l2fwd.c > index 49e113d..a988a21 100644 > --- a/test/l2fwd/l2fwd.c > +++ b/test/l2fwd/l2fwd.c > @@ -88,7 +88,7 @@ static void usage(char *progname); > * @param arg thread arguments of type 'thread_args_t *' > * @param pool is the packet pool from where buffers should be taken > */ > -static odp_pktio_t burst_mode_init_params(void *arg, int pool) > +static odp_pktio_t burst_mode_init_params(void *arg, odp_buffer_pool_t pool) > { > thread_args_t *args; > odp_pktio_params_t params; > @@ -113,7 +113,7 @@ static odp_pktio_t burst_mode_init_params(void *arg, int pool) > * @param arg thread arguments of type 'thread_args_t *' > * @param pool is the packet pool from where buffers should be taken > */ > -static odp_pktio_t queue_mode_init_params(void *arg, int pool) > +static odp_pktio_t queue_mode_init_params(void *arg, odp_buffer_pool_t pool) > { > char inq_name[ODP_QUEUE_NAME_LEN]; > odp_queue_param_t qparam;
diff --git a/test/l2fwd/l2fwd.c b/test/l2fwd/l2fwd.c index 49e113d..a988a21 100644 --- a/test/l2fwd/l2fwd.c +++ b/test/l2fwd/l2fwd.c @@ -88,7 +88,7 @@ static void usage(char *progname); * @param arg thread arguments of type 'thread_args_t *' * @param pool is the packet pool from where buffers should be taken */ -static odp_pktio_t burst_mode_init_params(void *arg, int pool) +static odp_pktio_t burst_mode_init_params(void *arg, odp_buffer_pool_t pool) { thread_args_t *args; odp_pktio_params_t params; @@ -113,7 +113,7 @@ static odp_pktio_t burst_mode_init_params(void *arg, int pool) * @param arg thread arguments of type 'thread_args_t *' * @param pool is the packet pool from where buffers should be taken */ -static odp_pktio_t queue_mode_init_params(void *arg, int pool) +static odp_pktio_t queue_mode_init_params(void *arg, odp_buffer_pool_t pool) { char inq_name[ODP_QUEUE_NAME_LEN]; odp_queue_param_t qparam;