Message ID | 1405506269-26986-1-git-send-email-venkatesh.vivekanandan@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDCNBJXJXQIRB5VFTGPAKGQEVXMDPKI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 46FEE201F1 for <linaro@patches.linaro.org>; Wed, 16 Jul 2014 10:24:55 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id ft15sf4717397pdb.10 for <linaro@patches.linaro.org>; Wed, 16 Jul 2014 03:24:54 -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=xLcrUMvtIcjuHksEURthf3dkUBB0Akyf3lge3U+ewcQ=; b=RpbHtJsuasTTFmTes+t2hNizME1hkiXpHvrn9wlSmttcQrKqeN/OWuaQ/rsfK+/yt9 P5mXmkZgdtuOIhlN4kRNVQ+ceTIAU7dLA7PzxY+zIZs5Y2Xk+16B+8aJKebLgbONuBPP ca8S22WTV8QycpJC0E1vIYkS2c2zbeLIablAqywcNiRVSvNN0DVXdWvCTSdXA5G8gHfQ XaU81M0rWJ8kPPSVZKF5hYL2LasP72VDEv+z+tlh9hfPX8K99J7SzMgH2GIoyZgZxjv+ AC1suIVhuiNLepnxVlwbG7kDi2VeaP5v2YW0LjzLBquXw+mW+eXytx25/g4nETNc0kej XMsQ== X-Gm-Message-State: ALoCoQk4W8Y7ZIbbqwziibLpf3qhDVBcCLVa72nZ2i3A71dFUVdo+2rjyfAOKYxGtORpmrznylKy X-Received: by 10.66.173.75 with SMTP id bi11mr14858281pac.4.1405506294529; Wed, 16 Jul 2014 03:24:54 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.37 with SMTP id q34ls343549qgd.5.gmail; Wed, 16 Jul 2014 03:24:54 -0700 (PDT) X-Received: by 10.52.231.226 with SMTP id tj2mr23217215vdc.16.1405506294249; Wed, 16 Jul 2014 03:24:54 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id i1si8090582vee.36.2014.07.16.03.24.54 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Jul 2014 03:24:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id id10so1191787vcb.2 for <patchwork-forward@linaro.org>; Wed, 16 Jul 2014 03:24:54 -0700 (PDT) X-Received: by 10.221.34.13 with SMTP id sq13mr28051448vcb.16.1405506294178; Wed, 16 Jul 2014 03:24:54 -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 tc5csp285439vcb; Wed, 16 Jul 2014 03:24:53 -0700 (PDT) X-Received: by 10.224.34.73 with SMTP id k9mr44250965qad.11.1405506293763; Wed, 16 Jul 2014 03:24:53 -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 h3si25557868qcn.31.2014.07.16.03.24.53 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 16 Jul 2014 03:24:53 -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 <lng-odp-bounces@lists.linaro.org>) id 1X7MLy-0001Fd-OW; Wed, 16 Jul 2014 10:22:26 +0000 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from <venkatesh.vivekanandan@linaro.org>) id 1X7MLs-0001FR-HN for lng-odp@lists.linaro.org; Wed, 16 Jul 2014 10:22:20 +0000 X-IronPort-AV: E=Sophos;i="5.01,671,1400050800"; d="scan'208";a="39483320" Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw2-out.broadcom.com with ESMTP; 16 Jul 2014 03:33:17 -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; Wed, 16 Jul 2014 03:24:41 -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; Wed, 16 Jul 2014 03:24:41 -0700 Received: from localhost.localdomain (unknown [10.131.61.80]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 343869F9F7; Wed, 16 Jul 2014 03:24:39 -0700 (PDT) From: <venkatesh.vivekanandan@linaro.org> To: <lng-odp@lists.linaro.org> Date: Wed, 16 Jul 2014 15:54:29 +0530 Message-ID: <1405506269-26986-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 v4 1/1] Need not push this patch to the upstream X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=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.171 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
diff --git a/platform/linux-dpdk/odp_packet_io.c b/platform/linux-dpdk/odp_packet_io.c index abea0ec..3d4f5d4 100644 --- a/platform/linux-dpdk/odp_packet_io.c +++ b/platform/linux-dpdk/odp_packet_io.c @@ -323,6 +323,9 @@ int odp_pktio_recv(odp_pktio_t id, odp_packet_t pkt_table[], unsigned len) if (pktio_entry == NULL) return -1; + if (pktio_entry->s.params.type == ODP_PKTIO_TYPE_DPDK) + odp_pktio_send(id, pkt_table, 0); + lock_entry(pktio_entry); switch (pktio_entry->s.params.type) { case ODP_PKTIO_TYPE_SOCKET_BASIC: