From patchwork Fri Jun 16 09:12:33 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: 105697 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp1175596obh; Fri, 16 Jun 2017 02:12:47 -0700 (PDT) X-Received: by 10.200.38.115 with SMTP id v48mr11645884qtv.157.1497604367063; Fri, 16 Jun 2017 02:12:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497604367; cv=none; d=google.com; s=arc-20160816; b=h1ec2O5rQkxwYHu5KoYH4na+oqeFHL2wU36QVvkluJ05sa+x6i5g3bf5W8Z7+wY71E rdZdVPiGCquFPabK3JvLGEDJjkbYXTm1PHEHYykvWCUOeVM3LruC2TgkaKO32gIJWICY WVrTqYQsT2OUFzq4uY0qoYtNCyUp+syFQidjhEfPM1XDaJ+xsZ68wwRsPRQbL3bp4nQY 2vk4Mt3pY/fgtNcgMMcouEwcIoS6Ui2XpNmgYijZpLKDQr/ctuGO1uHT7RW6s7/qX5oi aXeMhxkVEuKOfOmEqY318wr2HEiMGEoj+M7jjOMa3lWGHVxWZzLfIasokbVTEKbf/6dc CVrQ== 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=l38qggWZY6Fs5UCSgLerKsCSUqWmDZrCIPGspx6qkQM=; b=g/gWtU5bwdlfMgZsn8yjLIzfvqOC9x/B1JHEW80/nGx2L5BdlzBcu5gkkrHwWxM5IC i7Lc+iYzS/XbQRDkML2rcF4xjs5N+mFP96zWrb3tTFZDxhNNFvX6GXhbbt7OCe9weLZw rDr8Eo+rsuUYBshE3F8uZs2BgWKuoPSzLh1GMBR8y9g5U+EB4lPHQs5GRW0VOwztIDxA OSrl3SHp/34ZT479tIVmG1QIbf0WpSmayGcCvCGbvEFywVqxXEO+Vu15HS+9aIZSf7Mw 46OdcZ3gC2S1R/AkyqJXzrk/srZ5ZVRZ+Meq7H8idQRALmefWAtbjCUw091sJPkackh+ LaYg== 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 y78si1498150qka.111.2017.06.16.02.12.46; Fri, 16 Jun 2017 02:12:47 -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 97FE360C14; Fri, 16 Jun 2017 09:12:46 +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 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 CB3AB60C0D; Fri, 16 Jun 2017 09:12:42 +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 97BE260C0D; Fri, 16 Jun 2017 09:12:40 +0000 (UTC) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by lists.linaro.org (Postfix) with ESMTPS id B3FDD60816 for ; Fri, 16 Jun 2017 09:12:39 +0000 (UTC) Received: by mail-lf0-f54.google.com with SMTP id m77so22046042lfe.0 for ; Fri, 16 Jun 2017 02:12:39 -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=l38qggWZY6Fs5UCSgLerKsCSUqWmDZrCIPGspx6qkQM=; b=AhklCjdrM2qZLket/ZZhX7V3AomIiM6KPC6HpCE+xRytg6LCtwEzIPTOccTrMo/mek gHpG5+y0MiO2NHW9E6LeJKNd5mc1JhSxIF7ZdIYL+HFmBF9erh1bp0Br5SHjowoxA3sQ YEEvpHfmr7LL7KcMYV9lLHDnawF5Wp13bqRvNqCGVRZArOeeRacXrWSpVWzL1nhFgMo6 e7h/YNAu/ID0Az+c/G5+aDrltLwhQ8c7vTWatjTKSJMF6XpU5vYMwRz4d4vvmoTnzQGa CDy8oq2vq3vJbsNgNHjIJB83Je+yPttJrNeO1cDWZWCJ2mBjl5TmevpsEEcCU4qnSEno YfKA== X-Gm-Message-State: AKS2vOx1d0XyUvOXquB0EE3XZu5EXDSwQQBOChkZym6mPgrM3bEyKqYp TIZjfefXGH7GeAQyoWTrOIPQ X-Received: by 10.46.77.88 with SMTP id a85mr2917281ljb.103.1497604358356; Fri, 16 Jun 2017 02:12:38 -0700 (PDT) Received: from forlindon.lumag.auriga.ru ([188.162.64.160]) by smtp.gmail.com with ESMTPSA id 25sm330038ljo.24.2017.06.16.02.12.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 02:12:37 -0700 (PDT) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Fri, 16 Jun 2017 12:12:33 +0300 Message-Id: <20170616091235.2394-1-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [lng-odp] [PATCH API-NEXT v2 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" Applies on top of [API-NEXT PATCH v2 0/3] IPSEC packet event These patches provide event subtype implementation and tests. Ideally they should be merged together with event subtypes API definitions. 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 | 14 ++++---- 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 | 37 ++++++++++++++-------- test/common_plat/validation/api/packet/packet.c | 5 +++ test/common_plat/validation/api/timer/timer.c | 14 ++++++-- 9 files changed, 79 insertions(+), 23 deletions(-) -- 2.11.0 Reviewed-by: Petri Savolainen