From patchwork Tue Jul 4 12:54:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 106964 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp968720qge; Tue, 4 Jul 2017 05:54:15 -0700 (PDT) X-Received: by 10.200.43.173 with SMTP id m42mr22732391qtm.228.1499172855581; Tue, 04 Jul 2017 05:54:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499172855; cv=none; d=google.com; s=arc-20160816; b=fYtjL89pX0yUwpBxuSrE//22GBbjjLKVbcn/9fODPmRLgS5ipOPAKNiVunAqcRgvFD I5MLyr+t10dxc5UkJ6tJ1zh9uGEUmVUxafwBc+ClWhuUOdvWudNFJXv3uNSklDsJSdGj tN2iWV7AVUJF4Efb8sklO/7MRm41koZIpd+Clz9aV+7mvQABZwrS8pi2SofMFAva3yfQ Hfkr8Kj2FJo8CGIUlZRw0GC5HSvE4gM6m1AhWo9njHMREXmfYQLALmY5nlcrDxhp7xIa Y5NSIi0w8jSxt2Q0xuxBbiTGIuaCk6heKPLD5H4/9v8CVdPS58f5s1+OXRG0SvBH5SOU oE3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:date:to:from :delivered-to:arc-authentication-results; bh=y/AQ4H/S75juRUvymeUTp25Qc7zTB546spvUdAtV+YM=; b=HBHI9OHv6tYwnm2rZE2+bzHedTQBmICDyEBAUYIdgyCay23x5IQVn/Y6xsfJRdCFiI n9CjzmT2GHmQavyzP0hqs2DR4+XiczLwns2O/axVMIQPq/7tOvY4Nb92Yn0pZal4YWFq zFPDmvRrzC3Yd8zTN5iUsHlmohpdJYjTN16k0TFsnvoxnQ+BDYYp6g7XbsJxl8sDRVWN 7pFc/9blFmeeFd6wDeXSpJpnP2JzT4CeD5oAOvosMYGcANR0lTqBmioADfwZATCEiyQI sqZO0Qan7u14IYjfvOb48WZEXQ/ngDrh3vplLvnSKLppmdSH1zozylLxbQUN1tPEncFr Lx3A== ARC-Authentication-Results: i=1; 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 sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id s185si17548837qkc.26.2017.07.04.05.54.15; Tue, 04 Jul 2017 05:54:15 -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 sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id E224660C0A; Tue, 4 Jul 2017 12:54:14 +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=-1.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, 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 1F163609EE; Tue, 4 Jul 2017 12:54:10 +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 3896F60725; Tue, 4 Jul 2017 12:54:08 +0000 (UTC) Received: from mail-lf0-f48.google.com (mail-lf0-f48.google.com [209.85.215.48]) by lists.linaro.org (Postfix) with ESMTPS id 0C67D60725 for ; Tue, 4 Jul 2017 12:54:07 +0000 (UTC) Received: by mail-lf0-f48.google.com with SMTP id z78so76997669lff.0 for ; Tue, 04 Jul 2017 05:54:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=y/AQ4H/S75juRUvymeUTp25Qc7zTB546spvUdAtV+YM=; b=Pz6iixxEwMyktEM2k+Pghas/SccOIty8ex5/Z6QfnDz2bYN+mMCYwz4w5jhSzbd0YG ynObSwzk6Ws93rHXn0zd5wFL2XV6pZjEGzTw2vaCs/RL4EGCjqu+z8y3hZFYoes1DGhy /YwjqEiZ24nKIsy9JLn7sPWHSqbChiGQG2Bl3qAWDnk+o5IAkTsxWmlVHJjOXTT1XrzW fWu1saOHhfxGBh54adjlaWX/Neztb5FhDOGh9QSg+oeZSUMEG6laTExwAqqkahp1c/8l iM5qvXEFFV5Ck0BwikNM6Y6a5dd758kfNdqwpCY0PJ+UFvubg5ZBAG3ANockIA7x87MN jw5A== X-Gm-Message-State: AIVw113TEZRTVXodTsijsB+CAV8dfqZbrp6iN/XKKFqUVIQoXnJ8oQrG YaxVOX9FDDs1cAgO5owXhnYU X-Received: by 10.46.21.78 with SMTP id 14mr742435ljv.47.1499172845532; Tue, 04 Jul 2017 05:54:05 -0700 (PDT) Received: from forlindon.lumag.auriga.ru ([94.25.229.3]) by smtp.gmail.com with ESMTPSA id l73sm4958732lfi.7.2017.07.04.05.54.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 05:54:04 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Tue, 4 Jul 2017 15:54:01 +0300 Message-Id: <20170704125403.9212-1-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [lng-odp] [PATCH API-NEXT v4 0/2] event subtype implementation 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: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" These patches provide event subtype implementation and tests. V3 was: Reviewed-by: Petri Savolainen Changes since v3: - Fix c&p error in timer_main test Changes since v2: - Validate odp_event_types() implementation - Validate CRYPTO_COMPL event type and subtype Changes since v1: - Implement odp_event_types() - Update event subtype properly in odp_crypto.c Dmitry Eremin-Solenikov (2): linux-generic: events subtype implementation validation: test correctness of events subtype implementation .../linux-generic/include/odp_buffer_inlines.h | 2 + .../linux-generic/include/odp_buffer_internal.h | 3 ++ platform/linux-generic/odp_crypto.c | 15 ++++--- platform/linux-generic/odp_event.c | 15 +++++++ platform/linux-generic/odp_packet.c | 1 + platform/linux-generic/odp_pool.c | 11 +++++ test/common_plat/validation/api/buffer/buffer.c | 50 ++++++++++++++++------ .../validation/api/crypto/odp_crypto_test_inp.c | 14 ++++++ test/common_plat/validation/api/packet/packet.c | 21 ++++++++- test/common_plat/validation/api/timer/timer.c | 32 ++++++++++++-- 10 files changed, 140 insertions(+), 24 deletions(-) -- 2.11.0