From patchwork Thu Sep 11 01:10:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: vkamensky X-Patchwork-Id: 37220 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6919E20293 for ; Thu, 11 Sep 2014 01:11:13 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id v10sf60368178pde.6 for ; Wed, 10 Sep 2014 18:11:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=Sn39rgBfWMRNbzNQ9jCVtLLghlg6K0M5NWPFHpwvrbs=; b=fLWyju0xT/OovZ+UcLp1TuzZkWA9E6O9sTs1Lo14ns4irtn3xcc8qKNn2gKNkZZGnJ pUi6S8AdtLffEcVehNeYukL2543F1eByfGzJGFeUbMhv/5wG36DmOAGENXFV4umoirml zgUJAVafbMol8EnZiMOnn1jmlDUi7t8qiIzUlrPnSc4rJaOk0DQwUGoWk6c8jv/+03Xp urXr/zNNw6fpT3eGrJmJkfcV1xo1KPu/+r1zdTAxYNTAwMjocQyiGt3xI7AnA+1XtIcu d1fjlhivt19kgS1ZS+AIgOOwMB1pFfN89NABa4erDFZuDeF5ozsjR8LHBiLPhr3DK+pA QN8g== X-Gm-Message-State: ALoCoQm5knU8SEFSZI7bCyXNd7FzQH9mxZQgVjZkEPatX1lzecZBqv0f7BeWAc17kug0U/atdIrW X-Received: by 10.70.37.41 with SMTP id v9mr27725009pdj.0.1410397872750; Wed, 10 Sep 2014 18:11:12 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.42.16 with SMTP id b16ls1367890qga.16.gmail; Wed, 10 Sep 2014 18:11:12 -0700 (PDT) X-Received: by 10.52.162.74 with SMTP id xy10mr11813142vdb.51.1410397872656; Wed, 10 Sep 2014 18:11:12 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id f2si7647600vdf.74.2014.09.10.18.11.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Sep 2014 18:11:12 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id ij19so5820062vcb.12 for ; Wed, 10 Sep 2014 18:11:12 -0700 (PDT) X-Received: by 10.220.112.143 with SMTP id w15mr14134255vcp.41.1410397872525; Wed, 10 Sep 2014 18:11:12 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.45.67 with SMTP id uj3csp517377vcb; Wed, 10 Sep 2014 18:11:12 -0700 (PDT) X-Received: by 10.229.57.138 with SMTP id c10mr33063296qch.30.1410397871523; Wed, 10 Sep 2014 18:11:11 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id g9si20689209qgf.49.2014.09.10.18.11.10 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 10 Sep 2014 18:11:11 -0700 (PDT) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XRsuk-0000Tx-7A; Thu, 11 Sep 2014 01:11:10 +0000 Received: from mail-pa0-f48.google.com ([209.85.220.48]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XRsua-0000TF-VU for lng-odp@lists.linaro.org; Thu, 11 Sep 2014 01:11:01 +0000 Received: by mail-pa0-f48.google.com with SMTP id hz1so11373016pad.7 for ; Wed, 10 Sep 2014 18:10:55 -0700 (PDT) X-Received: by 10.66.191.200 with SMTP id ha8mr21202464pac.107.1410397855213; Wed, 10 Sep 2014 18:10:55 -0700 (PDT) Received: from kamensky-w530.cisco.com.net ([24.6.79.41]) by mx.google.com with ESMTPSA id ju4sm15614063pbc.6.2014.09.10.18.10.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Sep 2014 18:10:54 -0700 (PDT) From: Victor Kamensky To: lng-odp@lists.linaro.org Date: Wed, 10 Sep 2014 18:10:23 -0700 Message-Id: <1410397827-2758-2-git-send-email-victor.kamensky@linaro.org> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1410397827-2758-1-git-send-email-victor.kamensky@linaro.org> References: <1410397827-2758-1-git-send-email-victor.kamensky@linaro.org> X-Topics: crypto patch Subject: [lng-odp] [PATCH 1/5] linux-generic: crypto: add simple odp_crypto_get_operation_compl_packet impl X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: victor.kamensky@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 linux-generic declares but missing odp_crypto_get_operation_compl_packet function implementation. Add simple one that just convert buffer to packet. Signed-off-by: Victor Kamensky --- platform/linux-generic/odp_crypto.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index fae546c..8782d99 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -463,3 +463,9 @@ odp_crypto_get_ses_create_compl_session(odp_buffer_t completion_event, result = odp_buffer_addr(completion_event); *session = result->session; } + +odp_packet_t +odp_crypto_get_operation_compl_packet(odp_buffer_t completion_event) +{ + return odp_packet_from_buffer(completion_event); +}