From patchwork Mon Jun 23 12:21:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Venkatesh Vivekanandan X-Patchwork-Id: 32346 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BABA6203AC for ; Mon, 23 Jun 2014 12:22:05 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id uz6sf22629090obc.4 for ; Mon, 23 Jun 2014 05:22:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id :mime-version:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=8zCL235Rd1LuiMep71SgK5QEpRcZk4JMU495ggSFKnI=; b=IRAP6vSqWJ1wcF+XHfXsspAXShujFNXnSPn6YPo/o8P/3MJgG70kDnH/zK5FVZbhCP 7Geo8Q/wFlfMavQwRdj2hDv1kHAu8ydKuCKHEmKlbUabjDgZOyXKvgql9JwaaKSUHPCc Of6FgkSNxKTQ9EP/txYM99TreyN8HlxkvlW0aChSPIF0QwKL1b/8mgYbnKZ+AWIzq8tU wUJeTSe5XVgMlL5zegslZLyj/TUYw7RQkmRmvoRtxZ18ZyaOCSHGlXRYC9a1hMfMOMKB 0kR0yTNkDzBy1JHJC0eS5Iy8bX9lnpY8Mi5xjXE9d+o+hkl6O1w4u45X/f7fTho/Uk0o Ncfw== X-Gm-Message-State: ALoCoQkAVG7VWrI3MA75W1Q7Tqgq2x3MQxCCU241WejDzpdQev/zlmsXyzijeUr2mSlXbtjJHThs X-Received: by 10.42.235.8 with SMTP id ke8mr3554945icb.22.1403526125221; Mon, 23 Jun 2014 05:22:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.178 with SMTP id w47ls1897250qge.55.gmail; Mon, 23 Jun 2014 05:22:05 -0700 (PDT) X-Received: by 10.52.232.133 with SMTP id to5mr15812743vdc.16.1403526125093; Mon, 23 Jun 2014 05:22:05 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id bo13si8848599vdb.31.2014.06.23.05.22.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Jun 2014 05:22:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id hy10so5807041vcb.31 for ; Mon, 23 Jun 2014 05:22:05 -0700 (PDT) X-Received: by 10.221.20.199 with SMTP id qp7mr18888639vcb.24.1403526125002; Mon, 23 Jun 2014 05:22:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp126256vcb; Mon, 23 Jun 2014 05:22:04 -0700 (PDT) X-Received: by 10.140.38.112 with SMTP id s103mr72854qgs.40.1403526124557; Mon, 23 Jun 2014 05:22:04 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id f62si22407327qgf.59.2014.06.23.05.22.03 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 23 Jun 2014 05:22:04 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Wz3EJ-0002fu-VI; Mon, 23 Jun 2014 12:20:11 +0000 Received: from mail-gw1-out.broadcom.com ([216.31.210.62]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1Wz3EF-0002fp-4j for lng-odp@lists.linaro.org; Mon, 23 Jun 2014 12:20:07 +0000 X-IronPort-AV: E=Sophos;i="5.01,530,1400050800"; d="scan'208";a="36104143" Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw1-out.broadcom.com with ESMTP; 23 Jun 2014 05:41:52 -0700 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.3.174.1; Mon, 23 Jun 2014 05:21:52 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) with Microsoft SMTP Server id 14.3.174.1; Mon, 23 Jun 2014 05:21:52 -0700 Received: from localhost.localdomain (unknown [10.131.61.80]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id D17B79F9F9; Mon, 23 Jun 2014 05:21:51 -0700 (PDT) From: To: Date: Mon, 23 Jun 2014 17:51:41 +0530 Message-ID: <1403526101-21444-1-git-send-email-venkatesh.vivekanandan@linaro.org> X-Mailer: git-send-email 1.8.1.2 MIME-Version: 1.0 X-Topics: patch Subject: [lng-odp] [PATCH] Fix buffer pool type in l2fwd app X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: venkatesh.vivekanandan@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Venkatesh Vivekanandan Signed-off-by: Venkatesh Vivekanandan --- 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;