Message ID | 1499205607-30786-2-git-send-email-odpbot@yandex.ru |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp56430qge; Tue, 4 Jul 2017 15:00:53 -0700 (PDT) X-Received: by 10.55.109.199 with SMTP id i190mr52656103qkc.125.1499205653057; Tue, 04 Jul 2017 15:00:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499205653; cv=none; d=google.com; s=arc-20160816; b=qDC13Fb/LpEKebZdByMfVBC1be0L4FO46kcHkBtmUKvrEJrhL5EtjiZRtapJII1SXo cxHVkPiRUmEp5l3TPnxoqg3PM/QKWfZpv5NVo5qgqcvMBpoPA/QX478uFJU4U8kEwU5g Tr+t/MGkf1E6gHeG6q52YuZ4uSg9XOWtuq3NFydBU2G37caMPA8svQqZSJylfGsE+Cg1 q+FuYEST3CYRnxPyGUnruHJLSMNQZZx0M9PRsof8S7OGd2wTSGkRf43JGcba9w10Ms1w 8xZ2hqFOvhGRCphorfjZhYlGswnJZDGi1uQ49GxNZmn5DvrXxxY0M7VbvvOPgHxBXBpl cuSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=3vPOSqK5tyLAHxxCAE7psmXwxIHc6729fII9mLQxBl8=; b=SOSdI8rPqeH7r5/d+4vre7n3hjH7emEkIUQ2cGoqZ/Tk7rhf54Z2NC2fZTEM4wpzNN 9VDm+HwsJwx/Hnvde4R2Ma8bUnuCcPQZF5PptyFIdindfabMlJqF+LCaLxyhF6Z5z0FM /SR9H/Hk1XuoFqbMgGea0qVsY48g2OoQRDh/atrwqFRIqeFIiUHAzCZLra7Yw6dIvjLK KfVYEWMUwfI2o2UT9qDrB4EcVM9htHB4sOuZTlEHRvyheaDKKjvB3Jq23mrnRFdMYvwW HZkAiFFAwULtxpUa9kkjXIqoHPG55yq42P4lULTU8kTlpieId9ZuHirpO6iTnHz8caUC EdQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w20si13117302qtw.257.2017.07.04.15.00.50; Tue, 04 Jul 2017 15:00:53 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id F0ECF607C8; Tue, 4 Jul 2017 22:00:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id AB69D60C06; Tue, 4 Jul 2017 22:00:18 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 53BF66071A; Tue, 4 Jul 2017 22:00:15 +0000 (UTC) Received: from forward3h.cmail.yandex.net (forward3h.cmail.yandex.net [87.250.230.18]) by lists.linaro.org (Postfix) with ESMTPS id CE3E16067C for <lng-odp@lists.linaro.org>; Tue, 4 Jul 2017 22:00:13 +0000 (UTC) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [77.88.29.85]) by forward3h.cmail.yandex.net (Yandex) with ESMTP id 9E6AE210F4 for <lng-odp@lists.linaro.org>; Wed, 5 Jul 2017 01:00:11 +0300 (MSK) Received: from smtp2p.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2p.mail.yandex.net (Yandex) with ESMTP id 635AE1A8003E for <lng-odp@lists.linaro.org>; Wed, 5 Jul 2017 01:00:10 +0300 (MSK) Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id b3wfOILtJj-0APGQxjI; Wed, 05 Jul 2017 01:00:10 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot <odpbot@yandex.ru> To: lng-odp@lists.linaro.org Date: Wed, 5 Jul 2017 01:00:01 +0300 Message-Id: <1499205607-30786-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499205607-30786-1-git-send-email-odpbot@yandex.ru> References: <1499205607-30786-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 67 Subject: [lng-odp] [PATCH v1 1/7] linux-gen: pktio: ipc fix send return code on tx X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://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" <lng-odp-bounces@lists.linaro.org> |
Series |
[v1,1/7] linux-gen: pktio: ipc fix send return code on tx
|
expand
|
diff --git a/platform/linux-generic/pktio/ipc.c b/platform/linux-generic/pktio/ipc.c index 06175e5a..1a2a37f2 100644 --- a/platform/linux-generic/pktio/ipc.c +++ b/platform/linux-generic/pktio/ipc.c @@ -609,7 +609,7 @@ static int ipc_pktio_send_lockless(pktio_entry_t *pktio_entry, ODP_ABORT("Unexpected!\n"); } - return ret; + return len; } static int ipc_pktio_send(pktio_entry_t *pktio_entry, int index ODP_UNUSED,