From patchwork Wed Apr 13 21:06:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 65760 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp237293qge; Wed, 13 Apr 2016 14:11:36 -0700 (PDT) X-Received: by 10.140.234.151 with SMTP id f145mr15004334qhc.51.1460581888284; Wed, 13 Apr 2016 14:11:28 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id l80si25302368qhc.132.2016.04.13.14.11.27; Wed, 13 Apr 2016 14:11: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 BBFF9673A7; Wed, 13 Apr 2016 21:11:27 +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 EAE0C684BF; Wed, 13 Apr 2016 21:07:25 +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 4C68766794; Wed, 13 Apr 2016 21:06:57 +0000 (UTC) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) by lists.linaro.org (Postfix) with ESMTPS id 75BE467571 for ; Wed, 13 Apr 2016 21:06:46 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id p188so76588185oih.2 for ; Wed, 13 Apr 2016 14:06:46 -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=bmlPSIk7XjDSEj0sVhCWMghWm5f50kFsK9MLJdwSgc8=; b=WlHR33v2h9YBbf8ihW1v7EGJ0+7A1zdSx1AB7gxS7bP8GYbYx5nc8jABvQTu9m+Hay JK28FxINwfsgttLeP7mQuxnvYVpPSgP7FjdfbdY8jBvD7us1ovundy4zECaXH7YxYy6s L6J73yoOmprlAcl79xPEYAImh9la8tLhRzQcmgXI+o9N9T6sucDZq4f1wFc8XvPa3USG CPlvxF6IpbnJOLY3QueMzO3Ju7QHBlEvzLPvz77V/vGsStHQWhGdXaWB+uWBvXi08d4L LW8VuY7CLGcmbiAEB79VWYAayX95oLj8kJKAmQyieIWipmfaxA0F90jhZaAuAh+LObyq H8rw== X-Gm-Message-State: AOPr4FWibKQ6DSIwwyFwnYbZ7qr3RJrjz8uW5XB3aCTFASrH5bnOicOeW5dFyXV75Pf6bbOej+s= X-Received: by 10.202.107.148 with SMTP id g142mr5609343oic.38.1460581606076; Wed, 13 Apr 2016 14:06:46 -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 fg6sm12324046obc.9.2016.04.13.14.06.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Apr 2016 14:06:45 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Wed, 13 Apr 2016 16:06:34 -0500 Message-Id: <1460581595-2366-10-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1460581595-2366-1-git-send-email-bill.fischofer@linaro.org> References: <1460581595-2366-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv4 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 --- 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 89c0190..6f626f2 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/linux-generic/odp_packet.c @@ -382,6 +382,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