Message ID | 1405798723-388-1-git-send-email-venkatesh.vivekanandan@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDCNBJXJXQIRBWUSVOPAKGQEHU7LPHI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f71.google.com (mail-qg0-f71.google.com [209.85.192.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1A30520B8D for <linaro@patches.linaro.org>; Sat, 19 Jul 2014 19:39:06 +0000 (UTC) Received: by mail-qg0-f71.google.com with SMTP id f51sf10755812qge.2 for <linaro@patches.linaro.org>; Sat, 19 Jul 2014 12:39:06 -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=USe2niA4txr9G2vzKYl9XBzerwym8NpAxQ0i52YMLQ4=; b=ExF57VX4zOqmaGVYWszCsymDtTdekPdUzLpgrZldLOiI0vhC/Yz35xFLtL3OlJ+zcn w8oJvhJ35E5SsYAK4pb6BKxflG94Md5hG3C6RrajvrEWhkPsnASdIeqrcyFnnD/jrBJK wsHUiGTQypy9DpL4bck/oFXp6fuLUED95+cuyWuEX5AaAGqzzBa50LX+t5JQTeUEBOv4 Db4cfsArSBnt9gy2kNwSUYgT2siZCbF8HKd339ZzNqe1dzkuHFa1ySCxy1ls7bPFzcEW wubT5hOJdwpMXhdP2g7J0AZ1xJSgfKHee6zonXcXdPRg/6bXGK6SBoPC98OqXoLDSBjm Sx5Q== X-Gm-Message-State: ALoCoQm1YUEJeHshWTwNJbvYMFJ1jAPWeUldy+nHKskOzs04apTuKpOTUhrf2HDQzQd1V9cLkACH X-Received: by 10.236.117.141 with SMTP id j13mr5935974yhh.3.1405798746804; Sat, 19 Jul 2014 12:39:06 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.38 with SMTP id g35ls1460004qgg.1.gmail; Sat, 19 Jul 2014 12:39:06 -0700 (PDT) X-Received: by 10.220.166.9 with SMTP id k9mr16912343vcy.20.1405798746676; Sat, 19 Jul 2014 12:39:06 -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 hi7si8343941veb.3.2014.07.19.12.39.06 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 19 Jul 2014 12:39:06 -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 im17so9865702vcb.3 for <patchwork-forward@linaro.org>; Sat, 19 Jul 2014 12:39:06 -0700 (PDT) X-Received: by 10.220.250.203 with SMTP id mp11mr16915185vcb.2.1405798746584; Sat, 19 Jul 2014 12:39:06 -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 tc5csp1460vcb; Sat, 19 Jul 2014 12:39:06 -0700 (PDT) X-Received: by 10.224.5.193 with SMTP id 1mr22804512qaw.89.1405798746154; Sat, 19 Jul 2014 12:39:06 -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 z13si17928428qge.63.2014.07.19.12.39.05 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 19 Jul 2014 12:39:06 -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 1X8aQr-0006Jo-SK; Sat, 19 Jul 2014 19:36:33 +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 <venkatesh.vivekanandan@linaro.org>) id 1X8aQm-0006Jj-Jv for lng-odp@lists.linaro.org; Sat, 19 Jul 2014 19:36:28 +0000 X-IronPort-AV: E=Sophos;i="5.01,692,1400050800"; d="scan'208";a="40203398" Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw1-out.broadcom.com with ESMTP; 19 Jul 2014 13:12:50 -0700 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.3.174.1; Sat, 19 Jul 2014 12:38:54 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.3.174.1; Sat, 19 Jul 2014 12:38:54 -0700 Received: from localhost.localdomain (unknown [10.131.61.80]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 0CED39F9F7; Sat, 19 Jul 2014 12:38:52 -0700 (PDT) From: <venkatesh.vivekanandan@linaro.org> To: <lng-odp@lists.linaro.org> Date: Sun, 20 Jul 2014 01:08:43 +0530 Message-ID: <1405798723-388-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] [PATCHv6 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.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 d8d127f..980a15c 100644 --- a/platform/linux-dpdk/odp_packet_io.c +++ b/platform/linux-dpdk/odp_packet_io.c @@ -230,6 +230,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); pkts = recv_pkt_dpdk(&pktio_entry->s.pkt_dpdk, pkt_table, len); unlock_entry(pktio_entry);