From patchwork Tue Apr 26 18:14: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: 66723 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp1763947qge; Tue, 26 Apr 2016 11:19:18 -0700 (PDT) X-Received: by 10.107.47.37 with SMTP id j37mr5001646ioo.168.1461694758169; Tue, 26 Apr 2016 11:19:18 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id q196si4832540iod.187.2016.04.26.11.19.17; Tue, 26 Apr 2016 11:19:18 -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 ACC4861099; Tue, 26 Apr 2016 18:19:17 +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 D25A661103; Tue, 26 Apr 2016 18:16:37 +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 E879B610D4; Tue, 26 Apr 2016 18:16:27 +0000 (UTC) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by lists.linaro.org (Postfix) with ESMTPS id AAC64610D4 for ; Tue, 26 Apr 2016 18:14:20 +0000 (UTC) Received: by mail-oi0-f44.google.com with SMTP id x19so23956607oix.2 for ; Tue, 26 Apr 2016 11:14:20 -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=VkEKuobdRqdDiZDv6yWJ14n+EgDGqBTUvTsAS6cGMuEzjhVfRWkNDEvirkwFXBbeAP YB6yMfXDRZT7GMITBc8Dm76i5aDfnLHdEZrtZv2j278RpoNSVzdjRSHtIA/phntc1zWT gLfYqzxpafzoLlBkqXnj8GC9cjyRnb4gSZHDSMjVA/sRDzCW945Ikt6ZSYP/1GEHygKd Id1Y628rxwMwJHQSeGs4GoBxdHArPD8fLTadvxFVKYpo+x8am1K4YpEkvBdGsDd34aWP O62Pg2k1WeZAYUEQDD9E+hTNKDa+aK6n1+YQAbBuWJOOaUmDE0wsqydlloflwvKJMO0u /UMg== X-Gm-Message-State: AOPr4FWgR7mfQ8ZwtBDYQgAh5sC5zQDi/Rck54MTUemuo4oYX7lxCZTyyfy/APkG+OhNTxfWsyc= X-Received: by 10.202.203.139 with SMTP id b133mr1714493oig.166.1461694460164; Tue, 26 Apr 2016 11:14:20 -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 il4sm51313obb.3.2016.04.26.11.14.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 Apr 2016 11:14:19 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Tue, 26 Apr 2016 13:14:10 -0500 Message-Id: <1461694454-11128-4-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1461694454-11128-1-git-send-email-bill.fischofer@linaro.org> References: <1461694454-11128-1-git-send-email-bill.fischofer@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv4 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