From patchwork Tue Apr 26 17:31:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 66712 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1743022qge; Tue, 26 Apr 2016 10:33:53 -0700 (PDT) X-Received: by 10.107.7.72 with SMTP id 69mr4750565ioh.64.1461692033553; Tue, 26 Apr 2016 10:33:53 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id l79si4636814ioe.190.2016.04.26.10.33.53; Tue, 26 Apr 2016 10:33: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=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 02D4E611F2; Tue, 26 Apr 2016 17:33:52 +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, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED 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 80EB6611F4; Tue, 26 Apr 2016 17:31:36 +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 D704C610B9; Tue, 26 Apr 2016 17:31:23 +0000 (UTC) Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) by lists.linaro.org (Postfix) with ESMTPS id 4800261070 for ; Tue, 26 Apr 2016 17:31:22 +0000 (UTC) Received: by mail-oi0-f41.google.com with SMTP id r78so22726469oie.0 for ; Tue, 26 Apr 2016 10:31:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QGkUy0gq/qjQCcbCs3WMsxZyKanzI+EXHtGnUrUQw/c=; b=RssBf/avNw7dC3mSnh2vrAUG5Odt2ARHTj1hi1yaHPskcSE+B7jos5EN2OahFbkZFL PCCtuGUm5Qa+lemu8mGTSMd+Kt/gHHjOemwbQubpO4QiYGdYUBYeTtdSwolCXghTdFeh qVP5NLXyC7tveGxyghm9mTR66X3X1XXzE3UbcfgdT7EF+ugK8vgvjoZThyl+n1FJYSDp l2IevVsKsOHPVzmlXLsimX8gkHYb1SALQ7HALX1cBVILFKz8mH2wzHLznkKC+ck8p8Xd /kQTt++rPsgX/AlNeBKa0Fv2oRorlYy+AGJui0rG1mOQD+7mIfzaW3FjKowwbbd4+A+v x/8A== X-Gm-Message-State: AOPr4FVUBSj0RizRVSTBnIV3xvFUFmY9QanHReo1N/wyl5KHj8iMhWToRhLuJDhW4caFaB0LLBU= X-Received: by 10.157.43.151 with SMTP id u23mr1433885ota.167.1461691881535; Tue, 26 Apr 2016 10:31:21 -0700 (PDT) Received: from Ubuntu15.localdomain (cpe-66-68-129-43.austin.res.rr.com. [66.68.129.43]) by smtp.gmail.com with ESMTPSA id 78sm8392187otd.12.2016.04.26.10.31.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Apr 2016 10:31:21 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Tue, 26 Apr 2016 12:31:10 -0500 Message-Id: <1461691874-20571-4-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1461691874-20571-1-git-send-email-bill.fischofer@linaro.org> References: <1461691874-20571-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv3 3/7] linux-generic: packet: implement odp_packet_prefetch() X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Note that this function is a no-op on linux-generic Signed-off-by: Bill Fischofer Reviewed-by: Bala Manoharan --- platform/linux-generic/odp_packet.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c index bae5038..e4f9620 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/linux-generic/odp_packet.c @@ -384,6 +384,13 @@ void *odp_packet_offset(odp_packet_t pkt, uint32_t offset, uint32_t *len, return addr; } +/* This function is a no-op in linux-generic */ +void odp_packet_prefetch(odp_packet_t pkt ODP_UNUSED, + uint32_t offset ODP_UNUSED, + uint32_t len ODP_UNUSED) +{ +} + /* * * Meta-data