Message ID | 1405492925-25785-1-git-send-email-venkatesh.vivekanandan@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDCNBJXJXQIRBVN5TCPAKGQE43SQEPA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BFEDC20CAD for <linaro@patches.linaro.org>; Wed, 16 Jul 2014 06:42:29 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp18sf2963049obc.1 for <linaro@patches.linaro.org>; Tue, 15 Jul 2014 23:42:29 -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=W58dlkszhL2ygH3qd4rQtzLL7INVBuxET+LNHk7bbFk=; b=AxPWyIfnAWLFQPUrRJ2B2vtC4S0SPI0aa7j26w4xhU3PxL3c42HEz6Nl/EXf+dDkMp X2xvOjHGHeanm99W33j1dPtROsF/t/h8puyytwI/3kHenQlTti0dTHtncxTzzsdb03JO 5t1J2t5lfaJCokobo9KveJB4q/jg/x5u7M1oCBaTGpAEket//DuzKEJHzEXWXdh1whPJ luoG20f8nBv/J6DQcSEWI65DVmqMNIOgUmhXXzuy+oXZSKYrp7tG4zz+cfANnRMFyjUV P0DrkxPFCQ++rLvuc2Ret199xFInOLQtn/9IrC4x4Ym6ou5APdJwBgwikxvXZq0P82n6 EghA== X-Gm-Message-State: ALoCoQl64k+MurlcCR2ZK7aTbaXeDxf1da/SlRz2K6/YS0Ajw2DjfcFaRuIhxc+PHeWe48qcOpKb X-Received: by 10.50.41.3 with SMTP id b3mr2715331igl.0.1405492949344; Tue, 15 Jul 2014 23:42:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.101 with SMTP id c92ls303849qge.90.gmail; Tue, 15 Jul 2014 23:42:29 -0700 (PDT) X-Received: by 10.52.163.136 with SMTP id yi8mr18707046vdb.14.1405492949261; Tue, 15 Jul 2014 23:42:29 -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 hf3si7856111veb.101.2014.07.15.23.42.29 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Jul 2014 23:42:29 -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 im17so837682vcb.3 for <patchwork-forward@linaro.org>; Tue, 15 Jul 2014 23:42:29 -0700 (PDT) X-Received: by 10.53.13.200 with SMTP id fa8mr4489605vdd.57.1405492949193; Tue, 15 Jul 2014 23:42:29 -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 tc5csp272689vcb; Tue, 15 Jul 2014 23:42:28 -0700 (PDT) X-Received: by 10.224.151.79 with SMTP id b15mr3960856qaw.42.1405492948670; Tue, 15 Jul 2014 23:42:28 -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 g107si24703723qgd.42.2014.07.15.23.42.28 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 15 Jul 2014 23:42:28 -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 1X7Isj-0004LC-RD; Wed, 16 Jul 2014 06:40:01 +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 1X7Isd-0004KT-PV for lng-odp@lists.linaro.org; Wed, 16 Jul 2014 06:39:55 +0000 X-IronPort-AV: E=Sophos;i="5.01,670,1400050800"; d="scan'208";a="39457078" Received: from irvexchcas08.broadcom.com (HELO IRVEXCHCAS08.corp.ad.broadcom.com) ([10.9.208.57]) by mail-gw2-out.broadcom.com with ESMTP; 15 Jul 2014 23:50:51 -0700 Received: from IRVEXCHSMTP2.corp.ad.broadcom.com (10.9.207.52) by IRVEXCHCAS08.corp.ad.broadcom.com (10.9.208.57) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 15 Jul 2014 23:42:15 -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; Tue, 15 Jul 2014 23:42:15 -0700 Received: from localhost.localdomain (unknown [10.131.61.80]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id A892D9F9F7; Tue, 15 Jul 2014 23:42:14 -0700 (PDT) From: <venkatesh.vivekanandan@linaro.org> To: <lng-odp@lists.linaro.org> Date: Wed, 16 Jul 2014 12:12:05 +0530 Message-ID: <1405492925-25785-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 v3] ODP-DPDK temporary patch 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.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 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: