From patchwork Fri Apr 15 00:25:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 65867 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp897877qge; Thu, 14 Apr 2016 17:33:28 -0700 (PDT) X-Received: by 10.107.160.141 with SMTP id j135mr22245338ioe.171.1460680408746; Thu, 14 Apr 2016 17:33:28 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id eo3si6715461igc.0.2016.04.14.17.33.28; Thu, 14 Apr 2016 17:33:28 -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 3FC9C673C0; Fri, 15 Apr 2016 00:33:28 +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_H3, RCVD_IN_MSPIKE_WL, 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 9D1246198E; Fri, 15 Apr 2016 00:27:50 +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 D5CF761992; Fri, 15 Apr 2016 00:27:46 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by lists.linaro.org (Postfix) with ESMTPS id 26660674D0 for ; Fri, 15 Apr 2016 00:25:43 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id s79so109924509oie.1 for ; Thu, 14 Apr 2016 17:25:43 -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=c2N37IM0W+XodE3Kyf1tB/I4l0lcbUqjtlK7cT4DfLo=; b=AMagJMrYUx+T+zmMR1KPK+d1Dpu4VvIaR3ciTDFhS7JB0Q/G59nnILzkvMBaxqCkbS dYa0H7+oSNgm8ZsYgzQdkBAy1tb35SzibPKytsgWCk2ekEzo2xkrf1MBaIEIPp0SzQnv 95yPhBDKGskwMntPlEmhIrnmVeOmk1ypGOE5IyDytVQZTnoo3a+QYdSJezRG0fQgpI+P zdABxme0ZKtnrHstQwwkLWFY/iHzzo1ST8SO2qHwkiSecxHRdt2str4TlRjxtascpNEI hgjSNn5Oc9j8id565SJKF+rUk+npZ/gNauwrI6D8a8M8PEJxjsvQv8dctK2ZgUY1cYdW TEbw== X-Gm-Message-State: AOPr4FUHpC78b9LfYQeKHkN9gohwYP3BCmskTHWCU6u0k1dldG7FQ7aIMRjpA+tJXjB0S6oEUUI= X-Received: by 10.202.195.69 with SMTP id t66mr9308188oif.26.1460679942634; Thu, 14 Apr 2016 17:25:42 -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 xd3sm2584743oeb.1.2016.04.14.17.25.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Apr 2016 17:25:42 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Thu, 14 Apr 2016 19:25:28 -0500 Message-Id: <1460679929-30653-10-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1460679929-30653-1-git-send-email-bill.fischofer@linaro.org> References: <1460679929-30653-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv5 09/10] 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 77f995e..2df6ed4 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